We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62431f2 commit 2e64bbaCopy full SHA for 2e64bba
2 files changed
DGraph/distributed/RankLocalOps.py
@@ -18,7 +18,7 @@
18
import torch
19
20
try:
21
- from torch_local import local_masked_gather, local_masked_scatter
+ from DGraph.torch_local import local_masked_gather, local_masked_scatter
22
23
_LOCAL_OPT_KERNELS_AVAILABLE = True
24
except ImportError:
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