Skip to content

Conversation

@ErjieWu
Copy link
Collaborator

@ErjieWu ErjieWu commented Aug 27, 2025

Linked Issue

Fix #5921

What's changed?

  • Use torch::linalg_eigh() instead of torch::linalg::eigh() in DeePKS since linalg.h was removed since PyTorch 2.6.0.
  • Change ENABLE_DEEPKS to ENABLE_MLALGO in toolchain.

@ErjieWu ErjieWu requested a review from mohanchen August 27, 2025 01:50
@ErjieWu ErjieWu added Bugs Bugs that only solvable with sufficient knowledge of DFT Machine Learning Issues related to the DeePKS labels Aug 27, 2025
@mohanchen mohanchen added the Refactor Refactor ABACUS codes label Aug 27, 2025
@mohanchen mohanchen merged commit 20871ce into deepmodeling:develop Aug 27, 2025
14 checks passed
@ErjieWu ErjieWu deleted the fix branch August 27, 2025 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bugs Bugs that only solvable with sufficient knowledge of DFT Machine Learning Issues related to the DeePKS Refactor Refactor ABACUS codes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incompatible with PyTorch 2.6

2 participants