Jupyter Notebook: Unable to release GPU memory after training without restarting the kernel #994
Unanswered
animeshkumarpaul
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Oh I see :D I'm not sure if that situation is recoverable or not. After Do you have an idea of the same thing would not happen with pure PyTorch? It would be good to know in case there is some form of memory leak. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After running the training cell in Jupter notebook, the code gives gpu outofmemory error.
How I can release memory before starting training without restarting the kernel?
torch.cuda.empty_cache()
does not work hereBeta Was this translation helpful? Give feedback.
All reactions