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.
1 parent f0cf70e commit a2e43aeCopy full SHA for a2e43ae
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