mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-10 12:21:57 +08:00
ddp pickle
This commit is contained in:
@@ -134,6 +134,7 @@ class TrainerDataLoadingMixin(ABC):
|
||||
'ddp': self.num_nodes * self.num_processes,
|
||||
'ddp2': self.num_nodes,
|
||||
}
|
||||
import pdb; pdb.set_trace()
|
||||
sampler = DistributedSampler(
|
||||
dataloader.dataset,
|
||||
num_replicas=world_size.get(self.distributed_backend, 0),
|
||||
|
||||
Reference in New Issue
Block a user