@@ -39,6 +39,9 @@ def test_dtensor_basic_op(self, executor, fn_key):
3939 num_devices = self .world_size
4040 mesh = DeviceMesh ("cuda" , list (range (num_devices )))
4141
42+ if executor == "nvfuser" :
43+ raise unittest .SkipTest ("See PR: https://github.com/Lightning-AI/lightning-thunder/pull/2423" )
44+
4245 dim_size = 16
4346
4447 def _helper (fn , in_dtensor , w_dtensor ):
@@ -69,6 +72,9 @@ def test_dtensor_reshape(self, executor):
6972 num_devices = self .world_size
7073 mesh = DeviceMesh ("cuda" , list (range (num_devices )))
7174
75+ if executor == "nvfuser" :
76+ raise unittest .SkipTest ("See PR: https://github.com/Lightning-AI/lightning-thunder/pull/2423" )
77+
7278 dim_size = 16
7379
7480 def fn_reshape (x , shape ):
@@ -138,7 +144,7 @@ def fn(x, w):
138144
139145 in_dtensor = distribute_tensor (torch .randn (dim_size , dim_size , requires_grad = True ), mesh , [Shard (0 )])
140146
141- tmodel = thunder .jit (fn )
147+ tmodel = thunder .jit (fn , executors = thunder . get_always_executors () )
142148 with pytest .raises (AssertionError ):
143149 tmodel (in_dtensor , w )
144150
@@ -154,7 +160,7 @@ def test_dtensor_incorrect_cotangent(self):
154160 def fn (x , w ):
155161 return torch .mul (x , w )
156162
157- tmodel = thunder .jit (fn )
163+ tmodel = thunder .jit (fn , executors = thunder . get_always_executors () )
158164 actual = tmodel (in_dtensor , w_dtensor )
159165 g_o = distribute_tensor (torch .ones (dim_size , dim_size ), mesh , [Shard (1 )])
160166
0 commit comments