mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-27 13:12:20 +08:00
testing master_Addr flag
This commit is contained in:
1 parent
c223960edb
commit
6dde1d7ae3
1 file changed
+1
-2
@@ -336,8 +336,7 @@ class Trainer(TrainerIO):
|
||||
|
||||
# set up server using proc 0's ip address
|
||||
# try to init for 20 times at max in case ports are taken
|
||||
# ip = self.__get_root_node_ip(self.proc_rank, self.nb_gpu_nodes)
|
||||
ip = os.environ['MASTER_ADDR']
|
||||
ip = self.__get_root_node_ip(self.proc_rank, self.nb_gpu_nodes)
|
||||
self.__init_tcp_connection(ip)
|
||||
|
||||
# CHOOSE OPTIMIZER
|
||||
|
||||
Reference in new issue
Block a user