Skip to content

Feat: numpy pairtab model#3212

Merged
wanghan-iapcm merged 58 commits into
deepmodeling:develfrom
anyangml:feat/numpy_pairtab_model
Feb 4, 2024
Merged

Feat: numpy pairtab model#3212
wanghan-iapcm merged 58 commits into
deepmodeling:develfrom
anyangml:feat/numpy_pairtab_model

Conversation

@anyangml

@anyangml anyangml commented Feb 1, 2024

Copy link
Copy Markdown
Collaborator

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
Comment thread source/tests/pt/test_pairtab.py Outdated
Comment thread source/tests/common/test_pairtab.py
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
Comment thread source/tests/common/test_pairtab.py Outdated
Comment thread deepmd/dpmodel/model/pair_tab_model.py Outdated
result["energy"], expected_result["energy"], rtol=0.0001, atol=0.0001
)

model1 = torch.jit.script(model1)

Check notice

Code scanning / CodeQL

Unused local variable

Variable model1 is not used.
Comment thread deepmd/dpmodel/model/pair_tab_model.py Outdated
@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
@njzjz njzjz mentioned this pull request Apr 2, 2024
@anyangml anyangml deleted the feat/numpy_pairtab_model branch March 24, 2026 05:26
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.

4 participants