We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5082642 + a2e43ae commit 19e877fCopy full SHA for 19e877f
python/paddle/fluid/trainer.py
@@ -315,7 +315,7 @@ def _transpile_nccl2_dist(self):
315
for ip in worker_ips.split(","):
316
worker_endpoints.append(':'.join([ip, port]))
317
self.num_trainers = len(worker_endpoints)
318
- current_endpoint = os.getenv("POD_IP") + ":" + port
+ current_endpoint = os.getenv("PADDLE_CURRENT_IP") + ":" + port
319
worker_endpoints.remove(current_endpoint)
320
# TODO(wuyi): use self.nccl_id_var, self.num_trainers and self.trainer_id
321
# in ParallelExecutor to start
0 commit comments