Remove TS compatibility transition code (#85003)
Summary: Remove TS compatibility transition code
Test Plan: sandcastle
Differential Revision: D39494677
Pull Request resolved: https://github.com/pytorch/pytorch/pull/85003
Approved by: https://github.com/erichan1