8000 fix lint · pytorch/pytorch@aa77732 · GitHub
[go: up one dir, main page]

Skip to content

Commit aa77732

Browse files
committed
fix lint
1 parent 99cf45e commit aa77732

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/distributed/tensor/experimental/test_local_map.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
)
1515
from torch.distributed.tensor.debug import CommDebugMode
1616
from torch.distributed.tensor.experimental import local_map
17+
from torch.testing._internal.common_distributed import skip_if_lt_x_gpu
1718
from torch.testing._internal.common_utils import run_tests
1819
from torch.testing._internal.distributed._tensor.common_dtensor import (
1920
DTensorTestBase,
2021
with_comms,
2122
)
22-
from torch.testing._internal.common_distributed import skip_if_lt_x_gpu
2323

2424

2525
funcol_py = torch.ops.c10d_functional
@@ -393,8 +393,6 @@ def test_multi_mesh_inputs(self):
393393
Test the function can be applied to accept DTensors that lives
394394
on different device meshes.
395395
"""
396-
import os
397-
os.environ["NCCL_DEBUG"] = "WARN"
398396
mesh_full = init_device_mesh(
399397
device_type=self.device_type, mesh_shape=(self.world_size,)
400398
)

0 commit comments

Comments
 (0)
0