fixed nccl init

This commit is contained in:
William Falcon
2019-07-12 14:36:00 -04:00
parent 5ba0a2ed48
commit 369174c4d3
+2
View File
@@ -325,6 +325,8 @@ class Trainer(TrainerIO):
node_rank = 0
# recover original exp before went into process
# init in write mode only on proc 0
self.experiment.debug = self.proc_rank > 0
self.experiment = self.experiment.get_non_ddp_exp()
# show progbar only on prog_rank 0