-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
randperm not consistent with set seed #117
Comments
Other note, when I tried: |
initialization of the network and |
the torch.randint in line 20 of local_attachment_basic_homophily.py is fine. However, torch.rand for |
I have read on forums that this is an issue that may be due to the multithreading aspect of pytorch. I think I will give up. If anyone else has an idea, let me know. |
Yeah, I tried it (setting threads and restoring them after rand stuff) anyway, and as anticipated, so slow. Obviously not a solution. |
I have noticed some small differences between reruns with the same seed. I am going to attempt to replace randperm with torch.rand(), which so far has not been a problem. Fingers crossed that this takes care of it.
The text was updated successfully, but these errors were encountered: