added global rank var name
This commit is contained in:
parent
12f717ad4a
commit
d6bfb94215
|
@ -501,7 +501,7 @@ class Trainer(TrainerIO):
|
|||
self.world_size = self.nb_gpu_nodes * len(self.data_parallel_device_ids)
|
||||
|
||||
# let the exp know the rank to avoid overwriting logs
|
||||
self.experiment.rank = self.global_rank
|
||||
self.experiment.rank = self.proc_rank
|
||||
|
||||
# set up server using proc 0's ip address
|
||||
# try to init for 20 times at max in case ports are taken
|
||||
|
|
Loading…
Reference in New Issue