mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-28 13:20:31 +08:00
docs
This commit is contained in:
1 parent
ec87c0efe1
commit
e5050700ce
1 file changed
+1
-1
@@ -1335,7 +1335,7 @@ class Trainer(TrainerIOMixin):
|
||||
log_output = output['log']
|
||||
|
||||
# reduce progress metrics for tqdm when using dp
|
||||
if train and(self.use_dp or self.use_ddp2):
|
||||
if train and (self.use_dp or self.use_ddp2):
|
||||
nb_gpus = self.num_gpus
|
||||
log_output = reduce_distributed_output(log_output, nb_gpus)
|
||||
|
||||
|
||||
Reference in new issue
Block a user