Back out "Enable test_api IMethodTest in OSS" (#62893)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/62893
Original commit changeset: 50eb3689cf84
Test Plan: Confirm pytorch_linux_xenial_cuda11_1_cudnn8_py3_gcc7_test2 passes in OSS
Reviewed By: seemethere, alanwaketan
Differential Revision: D30159999
fbshipit-source-id: 74ff8975328409a3dc8222d3e2707a1bb0ab930c