testing master_Addr flag
This commit is contained in:
parent
32646cf2ee
commit
c223960edb
|
@ -336,7 +336,8 @@ 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 = self.__get_root_node_ip(self.proc_rank, self.nb_gpu_nodes)
|
||||
ip = os.environ['MASTER_ADDR']
|
||||
self.__init_tcp_connection(ip)
|
||||
|
||||
# CHOOSE OPTIMIZER
|
||||
|
|
Loading…
Reference in New Issue