mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/49486 Remove code for Python 3.5 and lower. There's more that can be removed/modernised, but sticking mainly to redundant version checks here, to keep the diff/PR smaller. Pull Request resolved: https://github.com/pytorch/pytorch/pull/46579 Reviewed By: zou3519 Differential Revision: D24453571 Pulled By: ezyang fbshipit-source-id: c2cfcf05d6c5f65df64d89c331692c9aec09248e
10 lines
236 B
Python
10 lines
236 B
Python
import sys
|
|
sys.argv.append("--jit_executor=profiling")
|
|
from test_jit import *
|
|
|
|
if __name__ == '__main__':
|
|
run_tests()
|
|
import test_jit_py3
|
|
suite = unittest.findTestCases(test_jit_py3)
|
|
unittest.TextTestRunner().run(suite)
|