@@ -181,8 +181,8 @@ def test_deepspeed_defaults(tmpdir):
181181 assert isinstance (plugin .config ["zero_optimization" ], dict )
182182
183183
184- @RunIf (min_gpus = 1 , deepspeed = True , special = True )
185- def test_invalid_deepspeed_defaults_no_precision (dist_initialized_mock , tmpdir ):
184+ @RunIf (min_gpus = 1 , deepspeed = True )
185+ def test_invalid_deepspeed_defaults_no_precision (tmpdir ):
186186 """Test to ensure that using defaults, if precision is not set to 16, we throw an exception."""
187187 model = BoringModel ()
188188 trainer = Trainer (
@@ -196,7 +196,7 @@ def test_invalid_deepspeed_defaults_no_precision(dist_initialized_mock, tmpdir):
196196 trainer .fit (model )
197197
198198
199- @RunIf (min_gpus = 1 , deepspeed = True , special = True )
199+ @RunIf (min_gpus = 1 , deepspeed = True )
200200def test_warn_deepspeed_override_backward (tmpdir ):
201201 """Test to ensure that if the backward hook in the LightningModule is overridden, we throw a warning."""
202202
@@ -217,7 +217,7 @@ def backward(self, loss: Tensor, optimizer: Optimizer, optimizer_idx: int, *args
217217 trainer .fit (model )
218218
219219
220- @RunIf (min_gpus = 1 , deepspeed = True , special = True )
220+ @RunIf (min_gpus = 1 , deepspeed = True )
221221def test_deepspeed_run_configure_optimizers (tmpdir ):
222222 """Test end to end that deepspeed works with defaults (without ZeRO as that requires compilation),
223223 whilst using configure_optimizers for optimizers and schedulers."""
@@ -247,7 +247,7 @@ def on_train_start(self) -> None:
247247 _assert_save_model_is_equal (model , tmpdir , trainer )
248248
249249
250- @RunIf (min_gpus = 1 , deepspeed = True , special = True )
250+ @RunIf (min_gpus = 1 , deepspeed = True )
251251def test_deepspeed_config (tmpdir , deepspeed_zero_config ):
252252 """
253253 Test to ensure deepspeed works correctly when passed a DeepSpeed config object including optimizers/schedulers
@@ -281,7 +281,7 @@ def on_train_start(self) -> None:
281281 _assert_save_model_is_equal (model , tmpdir , trainer )
282282
283283
284- @RunIf (min_gpus = 1 , deepspeed = True , special = True )
284+ @RunIf (min_gpus = 1 , deepspeed = True )
285285def test_deepspeed_custom_precision_params (tmpdir ):
286286 """Ensure if we modify the FP16 parameters via the DeepSpeedPlugin, the deepspeed config contains these changes."""
287287
@@ -302,7 +302,7 @@ def on_train_start(self) -> None:
302302 trainer .fit (model )
303303
304304
305- @RunIf (min_gpus = 1 , deepspeed = True , special = True )
305+ @RunIf (min_gpus = 1 , deepspeed = True )
306306def test_deepspeed_assert_config_zero_offload_disabled (tmpdir , deepspeed_zero_config ):
307307 """Ensure if we use a config and turn off cpu_offload, that this is set to False within the config."""
308308
0 commit comments