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

Memory Leakage in DLA implementation #6

Closed
rowedenny opened this issue Dec 21, 2021 · 0 comments
Closed

Memory Leakage in DLA implementation #6

rowedenny opened this issue Dec 21, 2021 · 0 comments

Comments

@rowedenny
Copy link
Collaborator

rowedenny commented Dec 21, 2021

return self.loss, None, self.train_summary

Refer to https://discuss.pytorch.org/t/cpu-ram-usage-increasing-for-every-epoch/24475/9

When I run DLA for 10k steps, the CPU memory will be used up.
A simple fixation is to modify it as self.loss.item().

A similar issue also occurs in regression_EM, pdgd, nsgd, etc.

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

No branches or pull requests

2 participants