Pull Request resolved: https://github.com/pytorch/pytorch/pull/73459 Approved by: https://github.com/ezyang, https://github.com/albanD