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

Validation Memory Leakage for RecurrentBased models with Pytorch 2.0 / PL 2.0 #513

Closed
kdgutier opened this issue Apr 7, 2023 · 0 comments · Fixed by #512
Closed

Validation Memory Leakage for RecurrentBased models with Pytorch 2.0 / PL 2.0 #513

kdgutier opened this issue Apr 7, 2023 · 0 comments · Fixed by #512
Assignees

Comments

@kdgutier
Copy link
Collaborator

kdgutier commented Apr 7, 2023

It seems there is a memory leakage for RecurrentBased type of models RNN, GRU, TCN with Pytorch 2.0 / PL 2.0

It is possible there is more information in the PL github: Lightning-AI/pytorch-lightning#16520
That deprecated the on_validation_epoch_end method.

This issue was partially solved by reducing the memory usage of the models to avoid surpassing RAM.
As the interaction between multiprocess and virtual memory seems to be causing the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants