-
Notifications
You must be signed in to change notification settings - Fork 523
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: fix spin nlist in spin_model #3718
Conversation
WalkthroughWalkthroughThe changes encompass enhancing the handling of atom neighbors in Changes
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Additional Context UsedLanguageTool (3)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
@hztttt Please review this PR, which fixes the nlist bugs in DPA2. (It seems I can not explicitly assign you as a reviewer.) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## devel #3718 +/- ##
=======================================
Coverage 82.25% 82.25%
=======================================
Files 513 513
Lines 47653 47654 +1
Branches 2980 2980
=======================================
+ Hits 39199 39200 +1
Misses 7543 7543
Partials 911 911 ☔ View full report in Codecov by Sentry. |
Two bugs:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
Out of diff range and nitpick comments (1)
doc/model/train-energy-spin.md (1)
Line range hint
96-104
: Replace hard tabs with spaces to maintain consistency with the project's coding standards.- "type": "ener_spin", - "start_pref_e": 0.02, - "limit_pref_e": 1, - "start_pref_fr": 1000, - "limit_pref_fr": 1.0, - "start_pref_fm": 10000, - "limit_pref_fm": 10.0, - "start_pref_v": 0, - "limit_pref_v": 0, + "type": "ener_spin", + "start_pref_e": 0.02, + "limit_pref_e": 1, + "start_pref_fr": 1000, + "limit_pref_fr": 1.0, + "start_pref_fm": 10000, + "limit_pref_fm": 10.0, + "start_pref_v": 0, + "limit_pref_v": 0,
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Expanded backend support to include PyTorch and DP in the energy spin training documentation. - Updated spin settings for TensorFlow and PyTorch/DP in the energy spin training documentation. - Added new sections for loss functions and data preparation in the energy spin training documentation. - **Bug Fixes** - Adjusted test conditions and initialization parameters in various model tests to align with updated functionalities. - **Tests** - Increased selection values in permutation tests to enhance test coverage and reliability. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Han Wang <[email protected]>
Summary by CodeRabbit
New Features
Bug Fixes
Tests