I still dont have a solution for it. As Im trying to use DistributedDataParallel along with DataLoader that uses multiple workers, I tried setting the multiprocessing start method to ‘spawn’ and ‘forkserver’  (as it is suggested in the PyTorch documntation) but Im still experiencing a deadlock.