mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
ddp pickle
This commit is contained in:
@@ -133,8 +133,8 @@ class TrainerDataLoadingMixin(ABC):
|
||||
world_size = {
|
||||
'ddp': self.num_nodes * self.num_processes,
|
||||
'ddp2': self.num_nodes,
|
||||
'ddp_cpu': self.num_processes * 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