-
Notifications
You must be signed in to change notification settings - Fork 178
[Feature Request] Support different backends for DeePMD-kit #1462
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
Labels
enhancement
New feature or request
Comments
This was referenced Jan 27, 2024
This is blocked by deepmodeling/deepmd-kit#3475. |
I don't have plans for this issue. Contribution is welcome. |
wanghan-iapcm
pushed a commit
that referenced
this issue
May 11, 2024
reopen PR #1541 due to branch is deleted add a new key in `param.json` file ``` "train_backend": "pytorch"/"tensorflow", ``` relate to this issue #1462 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved model management by dynamically generating model suffixes based on the selected backend, enhancing compatibility. - **Enhancements** - Updated model-related functions to incorporate backend-specific model suffixes for accurate file handling during training processes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: C. Thang Nguyen <[email protected]> Signed-off-by: Jinzhe Zeng <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jinzhe Zeng <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Support PyTorch backend for DeePMD-kit.
Detailed Description
Although I have submitted deepmodeling/deepmd-kit#3191 to make most of the things the same, the suffixes of the model and checkpoint files are different by design. These suffixes are hardcoded in the code.
dpgen/dpgen/generator/run.py
Lines 804 to 812 in 7392650
dpgen/dpgen/generator/run.py
Lines 884 to 889 in 7392650
dpgen/dpgen/generator/run.py
Line 1938 in 7392650
dpgen/dpgen/simplify/simplify.py
Line 188 in 7392650
Besides, glob doesn't work for
backward_files
- in dpdispatcher, some contexts like Bohrium don't support it.So, may we consider adding a parameter to switch?
Further Information, Files, and Links
No response
The text was updated successfully, but these errors were encountered: