File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,12 @@ def is_pre_volta():
6969
7070TEST_BF16 = torch .cuda .is_bf16_supported ()
7171
72+ # TODO: remove this - just to avoid conflicts with 73322 and 75016
73+ try :
74+ RUN_NVFUSER
75+ except NameError :
76+ RUN_NVFUSER = RUN_CUDA and not TEST_WITH_ROCM and not IS_WINDOWS
77+
7278class TestCudaFuser (JitTestCase ):
7379
7480 special_values = torch .tensor (
@@ -4274,7 +4280,7 @@ def reduce_scalar(temp):
42744280 reduce_scalar (res ).backward ()
42754281 torch ._C ._jit_set_nvfuser_guard_mode (old_guard )
42764282
4277- @unittest .skipIf (not RUN_CUDA , "requires CUDA" )
4283+ @unittest .skipIf (not RUN_NVFUSER , "requires CUDA" )
42784284 @unittest .skipIf (GRAPH_EXECUTOR != ProfilingMode .PROFILING ,
42794285 "Requires fusion optimization pass to be effective" )
42804286 def test_cuda_fusion_guard_backward (self ):
You can’t perform that action at this time.
0 commit comments