Well, I set num_workers=8 for DataLoader, which uses my custom Dataset. The Dataset uses random functions from random module (not numpy.random).
Then, in this case, should I set num_workers=1?
Was I lucky that I could run the same code on 0.2.0? 
Thank you!