mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-27 13:12:20 +08:00
updated test docs
This commit is contained in:
1 parent
cfbf305c9c
commit
73c104c80a
2 files changed
+3
-1
No files matched your search
@@ -150,6 +150,9 @@ class Trainer(TrainerIO):
|
||||
self.use_ddp = False
|
||||
self.use_dp = False
|
||||
|
||||
# bookkeeping
|
||||
self.avg_loss = 0
|
||||
|
||||
|
||||
# gpus come in as a string.
|
||||
# if gpus = -1 then use all available devices
|
||||
|
||||
@@ -227,7 +227,6 @@ def test_amp_gpu_dp():
|
||||
experiment=get_exp(),
|
||||
max_nb_epochs=1,
|
||||
train_percent_check=0.4,
|
||||
val_percent_check=0.4,
|
||||
gpus=[0, 1],
|
||||
distributed_backend='dp',
|
||||
use_amp=True
|
||||
|
||||
Reference in new issue
Block a user