Can you restart the notebook? This is most likely because above you did torch.manual_seed = 123
.
Doing import foo
multiple times in python does not import it again, it just returns the same module.
1 Like