Pull Request resolved: https://github.com/pytorch/pytorch/pull/89305 Approved by: https://github.com/weiwangmeta