This reverts commit a5bbfd94fb. Reverted https://github.com/pytorch/pytorch/pull/73804 on behalf of https://github.com/malfet
a5bbfd94fb