mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-26 13:00:58 +08:00
using slurm flag to fine node nb
This commit is contained in:
1 parent
63c113d55b
commit
94da5431cd
1 file changed
-1
@@ -302,7 +302,6 @@ class Trainer(TrainerIO):
|
||||
|
||||
# when GPU is called, spawn off a single worker for each gpu
|
||||
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, ))
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user