We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For new backends, random methods without explicit seeds should be forbidden, as they create unreproduced behavior.
deepmd-kit/deepmd/dpmodel/utils/network.py
Lines 173 to 174 in d61b152
deepmd-kit/deepmd/pt/model/network/network.py
Lines 72 to 73 in d61b152
deepmd-kit/deepmd/pt/optimizer/KFWrapper.py
Line 138 in d61b152
The following normal methods need to be provided with a torch Generator:
deepmd-kit/deepmd/pt/model/network/mlp.py
Line 68 in d61b152
Line 73 in d61b152
Line 78 in d61b152
Line 141 in d61b152
Line 143 in d61b152
Line 146 in d61b152
Line 307 in d61b152
Line 310 in d61b152
Line 315 in d61b152
Line 370 in d61b152
Line 383 in d61b152
Line 430 in d61b152
deepmd-kit/deepmd/pt/model/task/atten_lcc.py
Line 25 in d61b152
I also noticed in some modules, torch.manual_seed is called to change the global seed after the network initlization. I don't see the meaning of them.
torch.manual_seed
The text was updated successfully, but these errors were encountered:
i do no think it is a issue at least in the UTs, as they do not rely on the reproducibility of the random numbers.
Sorry, something went wrong.
DpLoaderSet
iProzd
Successfully merging a pull request may close this issue.
For new backends, random methods without explicit seeds should be forbidden, as they create unreproduced behavior.
dpmodel
deepmd-kit/deepmd/dpmodel/utils/network.py
Lines 173 to 174 in d61b152
pt
deepmd-kit/deepmd/pt/model/network/network.py
Lines 72 to 73 in d61b152
deepmd-kit/deepmd/pt/optimizer/KFWrapper.py
Line 138 in d61b152
The following normal methods need to be provided with a torch Generator:
deepmd-kit/deepmd/pt/model/network/mlp.py
Line 68 in d61b152
deepmd-kit/deepmd/pt/model/network/mlp.py
Line 73 in d61b152
deepmd-kit/deepmd/pt/model/network/mlp.py
Line 78 in d61b152
deepmd-kit/deepmd/pt/model/network/network.py
Line 141 in d61b152
deepmd-kit/deepmd/pt/model/network/network.py
Line 143 in d61b152
deepmd-kit/deepmd/pt/model/network/network.py
Line 146 in d61b152
deepmd-kit/deepmd/pt/model/network/network.py
Line 307 in d61b152
deepmd-kit/deepmd/pt/model/network/network.py
Line 310 in d61b152
deepmd-kit/deepmd/pt/model/network/network.py
Line 315 in d61b152
deepmd-kit/deepmd/pt/model/network/network.py
Line 370 in d61b152
deepmd-kit/deepmd/pt/model/network/network.py
Line 383 in d61b152
deepmd-kit/deepmd/pt/model/network/network.py
Line 430 in d61b152
deepmd-kit/deepmd/pt/model/task/atten_lcc.py
Line 25 in d61b152
I also noticed in some modules,
torch.manual_seed
is called to change the global seed after the network initlization. I don't see the meaning of them.The text was updated successfully, but these errors were encountered: