`replace_sampler_ddp` doesn't create a shuffled sampler
🐛 Bug
The DistributedSampler created using replace_sampler_ddp is not shuffled. Check the kwargs here
Expected behavior
If training dataloader, create a shuffled DistributedSampler, else create a non-shuffled sampler. Even though the train flag is passed to the function here, it is ignored.
Environment
pytorch-lightning master