cleaning up demos

This commit is contained in:
William Falcon
2019-10-05 15:52:52 -04:00
parent 7b982f2280
commit 18f58d4bf4
+1 -1
View File
@@ -704,7 +704,7 @@ class Trainer(TrainerIO):
warnings.warn(msg)
break
if self.nb_gpu_nodes > 1 and (self.use_ddp or self.use_ddp2):
if self.use_ddp:
# wait for all processes to catch up
dist.barrier()