Usually you would see the DataLoader crash with this error if one of the workers encountered an error in loading the data.
Setting num_workers=0 and rerunning the code should yield the real error message.
Since that’s working fine my best guess is that “something” related to multiprocessing isn’t working properly. Maybe you could try to use a docker container and see, if it would work there?