-
Notifications
You must be signed in to change notification settings - Fork 524
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: support exclude atypes in atomic model #3357
Merged
wanghan-iapcm
merged 12 commits into
deepmodeling:devel
from
wanghan-iapcm:feat-atm-md-mask
Feb 29, 2024
Merged
feat: support exclude atypes in atomic model #3357
wanghan-iapcm
merged 12 commits into
deepmodeling:devel
from
wanghan-iapcm:feat-atm-md-mask
Feb 29, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## devel #3357 +/- ##
==========================================
+ Coverage 75.91% 75.98% +0.07%
==========================================
Files 416 416
Lines 35057 35160 +103
Branches 1614 1614
==========================================
+ Hits 26612 26715 +103
Misses 7577 7577
Partials 868 868 ☔ View full report in Codecov by Sentry. |
wanghan-iapcm
changed the title
[WIP] feat: support exclude atypes in atomic model
feat: support exclude atypes in atomic model
Feb 28, 2024
njzjz
approved these changes
Feb 28, 2024
iProzd
approved these changes
Feb 29, 2024
github-merge-queue bot
pushed a commit
that referenced
this pull request
Mar 2, 2024
…s. (#3389) This PR also - introduce atomic_output_def used wraps the fitting_output_def. - atomic_output_def will be used by make_model - add missing ut for pair and atom exclusions in dpmodel See also #3357 --------- Co-authored-by: Han Wang <[email protected]>
Closed
github-merge-queue bot
pushed a commit
that referenced
this pull request
Oct 23, 2024
Add JAX energy model without grad support. The grad support needs discussion. Array API is not supported in this PR as it needs more effort. (JAX has more APIs than Array API) This PR also fixes a `skip_tf` bug introduced in #3357. When no `@property` was added, `xx.skip_tf` is always cast to `True`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Enhanced `BaseAtomicModel` and `DPAtomicModel` classes with improved array compatibility and new output definitions. - Introduced new classes and attributes for better model flexibility and customization. - Added `EnergyFittingNet` and `DOSFittingNet` for advanced fitting capabilities. - New functions `get_standard_model` and `get_model` for flexible model creation based on input data. - Added `BaseDescriptor` and `BaseFitting` classes to streamline descriptor and fitting processes. - Introduced `EnergyModel` class for improved atomic model handling. - **Bug Fixes** - Updated serialization logic for consistency across models. - **Tests** - Enhanced testing framework to support JAX operations and added methods for JAX model evaluation. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jinzhe Zeng <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With this pr, we do not need to implement the exclude types for each descriptor and fitting.