Revert D35352705: fix: buck2 build fbcode//caffe2:torch_types_gen
Test Plan: revert-hammer
Differential Revision:
D35352705 (https://github.com/pytorch/pytorch/commit/152489a8cf56eb40c9e0a6f7deb6af515f2cc46e)
Original commit changeset: f85043ebbcfb
Original Phabricator Diff: D35352705 (https://github.com/pytorch/pytorch/commit/152489a8cf56eb40c9e0a6f7deb6af515f2cc46e)
fbshipit-source-id: 901e28dd17150c6300b2d263aba1a8b0651d3020
(cherry picked from commit ab91a2a24e473c81e3095577193ae817b5334b32)