mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-10 12:21:57 +08:00
testing master_Addr flag
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user