mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/35615 Python 2 has reached end-of-life and is no longer supported by PyTorch. Now we can clean up a lot of cruft that we put in place to support it. These changes were all done manually, and I skipped anything that seemed like it would take more than a few seconds, so I think it makes sense to review it manually as well (though using side-by-side view and ignoring whitespace change might be helpful). Test Plan: CI Differential Revision: D20842886 Pulled By: dreiss fbshipit-source-id: 8cad4e87c45895e7ce3938a88e61157a79504aed
10 lines
230 B
Python
10 lines
230 B
Python
import sys
|
|
sys.argv.append("--ge_config=simple")
|
|
from test_jit import *
|
|
|
|
if __name__ == '__main__':
|
|
run_tests()
|
|
import test_jit_py3
|
|
suite = unittest.findTestCases(test_jit_py3)
|
|
unittest.TextTestRunner().run(suite)
|