You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log/Screenshots
My GPU has 6GB memory and 5GB was used for this code. Error appears when the last line of the code is running. Strangely, when the last two lines are exchanged, the code can be run successfully. Some fields are only useful for computation, so they can be deleted after computation and the del function was employed in this code. Other fields will be transformed into numpy arrays for further purpose. What is the reliable way to release memory for specific field variable? Thanks.
Additional comments
If possible, please also consider attaching the output of command ti diagnose. This produces the detailed environment information and hopefully helps us diagnose faster.
If you have local commits (e.g. compile fixes before you reproduce the bug), please make sure you first make a PR to fix the build errors and then report the bug.
The text was updated successfully, but these errors were encountered:
Describe the bug
GPU memory is not released.
To Reproduce
Please post a minimal sample code to reproduce the bug.
Log/Screenshots
My GPU has 6GB memory and 5GB was used for this code. Error appears when the last line of the code is running. Strangely, when the last two lines are exchanged, the code can be run successfully. Some fields are only useful for computation, so they can be deleted after computation and the del function was employed in this code. Other fields will be transformed into numpy arrays for further purpose. What is the reliable way to release memory for specific field variable? Thanks.
Additional comments
If possible, please also consider attaching the output of command
ti diagnose
. This produces the detailed environment information and hopefully helps us diagnose faster.If you have local commits (e.g. compile fixes before you reproduce the bug), please make sure you first make a PR to fix the build errors and then report the bug.
The text was updated successfully, but these errors were encountered: