mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Last PR in the series to re-submit https://github.com/pytorch/pytorch/pull/134592 as smaller PRs: https://github.com/pytorch/pytorch/pull/154612 https://github.com/pytorch/pytorch/pull/154628 https://github.com/pytorch/pytorch/pull/154715 https://github.com/pytorch/pytorch/pull/154716 https://github.com/pytorch/pytorch/pull/154725 https://github.com/pytorch/pytorch/pull/154728 Pull Request resolved: https://github.com/pytorch/pytorch/pull/156703 Approved by: https://github.com/clee2000
16 lines
433 B
Python
16 lines
433 B
Python
# Owner(s): ["oncall: jit"]
|
|
|
|
import sys
|
|
sys.argv.append("--jit-executor=legacy")
|
|
from torch.testing._internal.common_utils import parse_cmd_line_args, run_tests
|
|
|
|
if __name__ == '__main__':
|
|
# The value of GRAPH_EXECUTOR depends on command line arguments so make sure they're parsed
|
|
# before instantiating tests.
|
|
parse_cmd_line_args()
|
|
|
|
from test_jit import * # noqa: F403, F401
|
|
|
|
if __name__ == '__main__':
|
|
run_tests()
|