mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
This doesn't affect CI anyway, but will fix running from command-line Pull Request resolved: https://github.com/pytorch/pytorch/pull/78977 Approved by: https://github.com/seemethere
9 lines
162 B
Python
9 lines
162 B
Python
# Owner(s): ["oncall: jit"]
|
|
|
|
import sys
|
|
sys.argv.append("--jit_executor=legacy")
|
|
from test_jit import * # noqa: F403
|
|
|
|
if __name__ == '__main__':
|
|
run_tests()
|