Solved by albanD in post #2 
              
              
                Hi, 
I think the problem is with the error message, the generator should be a keyword argument: torch.zeros(5,5).normal_(0.0, 1.0, generator=torch.manual_seed(0)) does work. 
With the current master, your code raise an error saying that only 2 positional arguments are allowed.