Hi,
torch.manual_seed is a function. You should call it with the new seed you want to use doc 4.
When you do torch.manual_seed=123 you actually override the function and change it to 123. This is why you get the error you report. Don’t do this assignment and just call the function after a new import of pytorch.