Skip to content

Commit

Permalink
sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Jun 28, 2021
1 parent 0b37832 commit 0d9284e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/plugins/test_ddp_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ def test_ddp_barrier_non_consecutive_device_ids(barrier_mock, tmpdir):
accelerator="ddp",
)
trainer.fit(model)
barrier_mock.assert_called_with(device_ids=[gpus[trainer.local_rank]])
barrier_mock.assert_called_once_with(device_ids=[gpus[trainer.local_rank]])

0 comments on commit 0d9284e

Please sign in to comment.