Revert "Revert "Remove python key when setting functional tensor metadata (#81401)"" (#81456)
This reverts commit f2bb25a758b358c0534aee5e103c2022afc2ffd6.
For the gory story see https://github.com/pytorch/pytorch/issues/73537
Pull Request resolved: https://github.com/pytorch/pytorch/pull/81456
Approved by: https://github.com/Chillee