mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[test] split tracer related tests out of test_jit (#40142)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/40142 test_jit is becoming huge again, which makes editor hard to load and write new tests, this split out the tracer related tests. Test Plan: Imported from OSS Reviewed By: ailzhang Differential Revision: D22085035 Pulled By: wanchaol fbshipit-source-id: 696bee84985ecfbfeac8e2ee5c27f1bdda8de394
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e34e32850e
commit
27d789500b
@ -11,12 +11,13 @@ from torch.testing import FileCheck
|
||||
|
||||
from torch.testing._internal.common_utils import run_tests, IS_SANDCASTLE, ProfilingMode, GRAPH_EXECUTOR, \
|
||||
enable_profiling_mode_for_profiling_tests
|
||||
from torch.testing._internal.jit_utils import JitTestCase, enable_cpu_fuser, _inline_everything, \
|
||||
RUN_CUDA, RUN_CUDA_HALF, RUN_CUDA_MULTI_GPU
|
||||
from textwrap import dedent
|
||||
from itertools import product, permutations
|
||||
|
||||
from test_jit import JitTestCase, enable_cpu_fuser, RUN_CUDA, RUN_CUDA_HALF, RUN_CUDA_MULTI_GPU, \
|
||||
backward_graph, all_backward_graphs, get_lstm_inputs, get_milstm_inputs, \
|
||||
LSTMCellC, LSTMCellF, LSTMCellS, MiLSTMCell, _inline_everything
|
||||
from test_jit import backward_graph, all_backward_graphs, get_lstm_inputs, get_milstm_inputs, \
|
||||
LSTMCellC, LSTMCellF, LSTMCellS, MiLSTMCell
|
||||
|
||||
if GRAPH_EXECUTOR == ProfilingMode.PROFILING:
|
||||
torch._C._jit_set_profiling_executor(True)
|
||||
|
Reference in New Issue
Block a user