removed dummy d

This commit is contained in:
William Falcon
2019-07-24 10:50:29 -04:00
parent f41fdc1ad8
commit caa5cf2cee
+1 -3
View File
@@ -425,9 +425,7 @@ class Trainer(TrainerIO):
If you're not using SLURM, ignore this message!
"""
warnings.warn(msg)
d = {}
mp.spawn(self.ddp_train, nprocs=len(self.data_parallel_device_ids), args=(model, d))
print(d)
mp.spawn(self.ddp_train, nprocs=len(self.data_parallel_device_ids), args=(model, ))
# 1 gpu or dp option triggers training using DP module
# easier to avoid NCCL issues