🐛 Describe the bug
See title: My custom datapipe with set_seed does not get invoked when using Dataloader2 (and calling seed(123)). This makes it impossible to fixate seeds when one does not want to use multiprocessing.
This is due to https://github.com/pytorch/data/blob/main/torchdata/dataloader2/dataloader2.py#L210
Versions
e78ab6c