Skip to content
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

Fix GPU memory recorder's memory leak #5491

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

Critsium-xy
Copy link
Collaborator

If you are running cpu examples using ABACUS compiled for GPU, then it will cause memory leak and crash the application. But it passed the CI test because CI test will not do tests like this.

Thanks for @dzzz2001 for finding this bug
img_v3_02gk_bad01767-7d06-4fc0-a13e-5db49ff5eafg

@Critsium-xy Critsium-xy marked this pull request as ready for review November 14, 2024 12:29
@mohanchen mohanchen added the Bugs Bugs that only solvable with sufficient knowledge of DFT label Nov 14, 2024
@A-006
Copy link
Collaborator

A-006 commented Nov 14, 2024

Oh, I thought it was a memory issue from FFT,and I looked for a bug in my PR for a long time.Could you add a unittest for this feature?It wouldn't be error next time.

@mohanchen mohanchen merged commit 6bff8e3 into deepmodeling:develop Nov 15, 2024
14 checks passed
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants