Skip to content

Commit

Permalink
random master port
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli authored and ananthsub committed Apr 26, 2021
1 parent c4c0a41 commit 3a6b41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/trainer/test_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1939,7 +1939,7 @@ def validation_epoch_end(self, outputs) -> None:
@RunIf(skip_windows=True)
def test_fit_test_synchronization(tmpdir):
"""Test that the trainer synchronizes processes before returning control back to the caller. """

tutils.set_random_master_port()
model = TestDummyModelForCheckpoint()
checkpoint = ModelCheckpoint(dirpath=tmpdir, monitor='x', mode='min', save_top_k=1)
trainer = Trainer(
Expand Down

0 comments on commit 3a6b41d

Please sign in to comment.