It seems like the code for Dataloader already makes the replacement of importing torch.multiprocessing as multiprocessing. It’s not clear to me even after reading the article what needs to be modified in the Dataloader code for this to work.