Pull Request resolved: https://github.com/pytorch/pytorch/pull/116214 Approved by: https://github.com/malfet ghstack dependencies: #116230