Remove python key when setting functional tensor metadata (#81401)
Fixes https://github.com/pytorch/pytorch/issues/81365
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/81401
Approved by: https://github.com/bdhirsh