Skip to content

cherry-pick #6392 to support GPU version of cal_force_cc under LCAO basis set#6583

Merged
dyzheng merged 4 commits intodeepmodeling:LTSfrom
zgn-26714:new-LTS3
Oct 20, 2025
Merged

cherry-pick #6392 to support GPU version of cal_force_cc under LCAO basis set#6583
dyzheng merged 4 commits intodeepmodeling:LTSfrom
zgn-26714:new-LTS3

Conversation

@zgn-26714
Copy link

During direct cherry-picking, CUDA memory errors occurred. After repeated local testing, it was discovered that a series of force-related functions in the LTS branch needed updates. Referencing #6448 and #6427, the bugs were fixed.

dzzz2001 and others added 2 commits October 10, 2025 22:01
* support GPU version of cal_force_cc with LCAO basis

* fix a bug
…h, fixing the memory error bug that occurs during direct cherry-pick.
@mohanchen mohanchen added the Long-Time Support (LTS) Issues related to LTS version label Oct 11, 2025
@zgn-26714
Copy link
Author

The test for case 204_NO_KP_NC passes locally.
image

Copy link
Collaborator

@dyzheng dyzheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I will check the results after merging this PR.

@dyzheng dyzheng merged commit 63a7ab6 into deepmodeling:LTS Oct 20, 2025
13 of 14 checks passed
@Cstandardlib
Copy link
Collaborator

It seems that #6815 suggests the DCU code requires the same force-function/memory fixes applied to CUDA in this PR. Extending these changes to DCU may resolve the reported issue and align GPU architecture support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Long-Time Support (LTS) Issues related to LTS version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants