Reland torch.ops API change machinery with the core functionality disabled (#71785)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71785
see https://github.com/pytorch/pytorch/pull/67254
ghstack-source-id: 147648699
Test Plan: github CI
Reviewed By: albanD
Differential Revision: D33777229
fbshipit-source-id: 517b36be9743025eb40d708d380dae62e3663184
(cherry picked from commit a637e695694d3fd615dbe821394bfe53d41b6901)