Skip to content
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

Feat: numpy pairtab model #3212

Merged
merged 58 commits into from
Feb 4, 2024

Conversation

anyangml
Copy link
Collaborator

@anyangml anyangml commented Feb 1, 2024

This PR is to provide backend independent implementation of PairTabModel in numpy. Also the cross framework serialization and deserialization are added.

Anyang Peng and others added 30 commits January 28, 2024 15:17
deepmd/utils/pair_tab.py Outdated Show resolved Hide resolved
Anyang Peng and others added 2 commits February 2, 2024 15:03
@anyangml anyangml marked this pull request as ready for review February 2, 2024 07:27
source/tests/common/test_pairtab.py Outdated Show resolved Hide resolved
deepmd/dpmodel/model/pair_tab_model.py Outdated Show resolved Hide resolved
result["energy"], expected_result["energy"], rtol=0.0001, atol=0.0001
)

model1 = torch.jit.script(model1)

Check notice

Code scanning / CodeQL

Unused local variable Note test

Variable model1 is not used.
@anyangml anyangml requested a review from njzjz February 4, 2024 02:52
@wanghan-iapcm wanghan-iapcm merged commit 7db1fde into deepmodeling:devel Feb 4, 2024
46 checks passed
@njzjz njzjz mentioned this pull request Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants