mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-27 13:12:20 +08:00
using slurm flag to fine node nb
This commit is contained in:
1 parent
52a3c3137a
commit
fac98e0846
1 file changed
+1
-1
@@ -304,7 +304,7 @@ class Trainer(TrainerIO):
|
||||
if self.on_gpu:
|
||||
rank = 0
|
||||
self.experiment = self.experiment.get_meta_copy()
|
||||
mp.spawn(self.dp_train, nprocs=len(self.data_parallel_device_ids), args=(model))
|
||||
mp.spawn(self.dp_train, nprocs=len(self.data_parallel_device_ids), args=(model, ))
|
||||
else:
|
||||
self.__run_pretrain_routine(model)
|
||||
|
||||
|
||||
Reference in new issue
Block a user