Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Revert "Update test_metric_result_integration.py"
Browse files Browse the repository at this point in the history
This reverts commit bf70e43.
  • Loading branch information
shuyingsunshine21 committed Mar 24, 2021
1 parent 250d0aa commit 6c095b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/core/test_metric_result_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
import torch.distributed as dist
import torch.multiprocessing as mp
from torchmetrics import Metric
import numpy
import os

import tests.helpers.utils as tutils
from pytorch_lightning.core.step_result import Result
Expand Down Expand Up @@ -96,6 +98,7 @@ def test_result_reduce_ddp():
tutils.set_random_master_port()

worldsize = 2
os.environ["MKL_SERVICE_FORCE_INTEL"] = "1"
mp.spawn(_ddp_test_fn, args=(worldsize, ), nprocs=worldsize)


Expand Down

0 comments on commit 6c095b2

Please sign in to comment.