Anthony Barbier
2025-08-02 16:38:54 +00:00
committed by PyTorch MergeBot
parent e11b1cd97e
commit 310f901a71
16 changed files with 255 additions and 109 deletions

View File

@ -22,6 +22,13 @@ from torch.testing import FileCheck
torch._C._jit_set_profiling_executor(True)
torch._C._get_graph_executor_optimize(True)
if __name__ == "__main__":
from torch.testing._internal.common_utils import parse_cmd_line_args
# The value of GRAPH_EXECUTOR depends on command line arguments so make sure they're parsed
# before instantiating tests.
parse_cmd_line_args()
from itertools import combinations, permutations, product
from textwrap import dedent