-
Notifications
You must be signed in to change notification settings - Fork 516
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
[BUG] DPA2 Lammps on nopbc systems causes torchscript error #4167
Comments
It seems not easy to resolve so far.
Maybe it's a bug with |
xref: #4092 |
github-project-automation
bot
moved this to Todo
in Multiple backend support for DeePMD-kit
Sep 27, 2024
#4220 indicates that segfault is still thrown with the MPI. |
github-merge-queue bot
pushed a commit
that referenced
this issue
Oct 17, 2024
Adding tests to see whether #4167 is resolved. The answer is no. Segfaults are thrown with MPI. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new command-line argument `--nopbc` to modify boundary conditions in LAMMPS simulations. - **Tests** - Added a comprehensive suite of unit tests for the DeepMD potential in LAMMPS, covering various configurations and scenarios to ensure accuracy and reliability. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jinzhe Zeng <[email protected]>
github-merge-queue bot
pushed a commit
that referenced
this issue
Oct 17, 2024
Adding tests to see whether #4167 is resolved. The answer is no. Segfaults are thrown with MPI. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new command-line argument `--nopbc` to modify boundary conditions in LAMMPS simulations. - **Tests** - Added a comprehensive suite of unit tests for the DeepMD potential in LAMMPS, covering various configurations and scenarios to ensure accuracy and reliability. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jinzhe Zeng <[email protected]>
Fixed by #4237. |
github-project-automation
bot
moved this from Todo
to Done
in Multiple backend support for DeePMD-kit
Oct 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug summary
When using a trained and frozen DPA2 model to run LAMMPS on nopbc systems, the program immediately raises a TorchScript error. Notably, this issue does not occur with DPA1 and se_a models in PyTorch, and the DPA2 model functions correctly on pbc systems, even with one-dimensional pbc.
DeePMD-kit Version
3.0.0b3
Backend and its version
PyTorch v2.1.2
How did you download the software?
Offline packages
Input Files, Running Commands, Error Log, etc.
examples/water/dpa2
,p p p
tof f f
of the lammps inputin.lammps
and link the frozen model inexamples/water/lmp
,lmp -i in.lammps
.Steps to Reproduce
See above.
Further Information, Files, and Links
No response
The text was updated successfully, but these errors were encountered: