Update test_metric_result_integration.py

This commit is contained in:
shuyingsunshine21 2021-03-24 01:41:33 -07:00 committed by GitHub
parent f17210183b
commit bf70e431b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -16,8 +16,6 @@ import torch
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
@ -98,7 +96,6 @@ 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)