We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8a1ce6 commit 86ef055Copy full SHA for 86ef055
1 file changed
experiments/OGB/main.py
@@ -329,7 +329,8 @@ def main(
329
comm = SingleProcessDummyCommunicator()
330
331
else:
332
- dist.init_process_group(backend="nccl")
+ if not dist.is_initialized():
333
+ dist.init_process_group(backend="nccl")
334
comm = Communicator.init_process_group(_communicator)
335
336
# Must pass the node rank placement file the first time
0 commit comments