replace_sampler_ddp
doesn't create a shuffled sampler
#2703
Labels
bug
Something isn't working
distributed
Generic distributed-related topic
help wanted
Open to be worked on
🐛 Bug
The
DistributedSampler
created usingreplace_sampler_ddp
is not shuffled. Check thekwargs
hereExpected behavior
If training dataloader, create a shuffled
DistributedSampler
, else create a non-shuffled sampler. Even though thetrain
flag is passed to the function here, it is ignored.Environment
pytorch-lightning master
The text was updated successfully, but these errors were encountered: