updated test docs
This commit is contained in:
parent
cfbf305c9c
commit
73c104c80a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue