Skip to content

Commit

Permalink
Revert "Update test_results.py"
Browse files Browse the repository at this point in the history
This reverts commit ea74906.
  • Loading branch information
shuyingsunshine21 committed Mar 24, 2021
1 parent 15f4b9e commit 250d0aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/core/test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
from pytorch_lightning.trainer.states import TrainerState
from tests.helpers import BoringDataModule, BoringModel
from tests.helpers.runif import RunIf
import os
import numpy


def _setup_ddp(rank, worldsize):
Expand All @@ -50,6 +52,7 @@ def _ddp_test_fn(rank, worldsize, result_cls: Result):
def test_result_reduce_ddp():
"""Make sure result logging works with DDP"""
tutils.reset_seed()
os.environ["MKL_SERVICE_FORCE_INTEL"] = "1"
tutils.set_random_master_port()

worldsize = 2
Expand Down

0 comments on commit 250d0aa

Please sign in to comment.