A bug in torch.rand() with parallel random generators

Hi,

The last 10 minutes of this video demonstrates a problem in torch.rand(), I thought it could be helpful to share it with the developers of torch. Plase let me know if the problem was already fixed. it seems wrapping torch.rand() using “random” instead of “numpy” could solve the bug.