Skip to content

Commit

Permalink
Use DDPPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
carmocca committed Jun 29, 2021
1 parent b22aa4c commit 3067860
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/deprecated_api/test_remove_1-6.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

from pytorch_lightning import Trainer
from pytorch_lightning.callbacks.early_stopping import EarlyStopping
from pytorch_lightning.plugins import DeepSpeedPlugin
from pytorch_lightning.plugins.training_type import DDPPlugin, DDPSpawnPlugin
from pytorch_lightning.utilities.distributed import rank_zero_deprecation, rank_zero_warn
from pytorch_lightning.utilities.model_helpers import is_overridden
Expand Down Expand Up @@ -247,6 +246,6 @@ def test_v1_6_0_rank_zero_warnings_moved():


def test_v1_6_0_ddp_plugin_task_idx():
plugin = DeepSpeedPlugin()
with pytest.deprecated_call(match='Use `DeepSpeedPlugin.local_rank` instead'):
plugin = DDPPlugin()
with pytest.deprecated_call(match='Use `DDPPlugin.local_rank` instead'):
_ = plugin.task_idx

0 comments on commit 3067860

Please sign in to comment.