Revert D30543236: Add python mode
Test Plan: revert-hammer
Differential Revision:
D30543236 (https://github.com/pytorch/pytorch/commit/4bd03b02424d93b72f15e28c542ede13f88ea929)
Original commit changeset: ef5444d96a5a
fbshipit-source-id: b0042ac2c22765fa11d6d00bf751f6a4489eb6d8