mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-11 12:31:23 +08:00
cleaning up demos
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user