Skip to content

Commit c8b8337

Browse files
committed
removing the redundant initializations
1 parent cc0e07b commit c8b8337

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/py/dynamo/distributed/test_nccl_ops.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,7 @@ def setUpClass(cls):
5555
print("USE_TRTLLM_PLUGINS =", os.environ.get("USE_TRTLLM_PLUGINS"))
5656
cls.world_size = 1
5757
if not dist.is_initialized():
58-
dist.init_process_group(
59-
backend="nccl",
60-
init_method="env://",
61-
world_size=cls.world_size,
62-
rank=0, # or read from env
63-
)
58+
dist.init_process_group(backend="nccl")
6459
cls.group = dist.new_group(ranks=[0])
6560
cls.group_name = cls.group.group_name
6661

0 commit comments

Comments
 (0)