Solved by ptrblck in post #2 
              
              
                I think one good approach would be to use the worker_id and seed all 3rd party libraries with this id. 
You can get the id via torch.utils.data.get_worker_info(). 
PyTorch itself should yield deterministic data samples, if you’ve properly set the seed before. 
However, if you are using e.g. the Pyt…