Skip to content

Commit 8c5464d

Browse files
authored
fix all2all example (#347)
1 parent 04e331f commit 8c5464d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

others/pytorch/distributed/test_all_to_all_single_ray.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,4 @@ def run(self) -> torch.Tensor:
129129
]
130130
results = ray.get([worker.run.remote() for worker in workers])
131131
ray.shutdown()
132-
if dist.is_initialized():
133-
dist.destroy_process_group()
134-
print("Process group destroyed")
135132
print("All processes completed successfully")

0 commit comments

Comments
 (0)