Pull Request resolved: https://github.com/pytorch/pytorch/pull/166148 Approved by: https://github.com/fduwjj