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

This method creates a model with a 100% memory leak loop using model. fit() #20552

Open
phpYj opened this issue Nov 27, 2024 · 1 comment
Open
Assignees

Comments

@phpYj
Copy link

phpYj commented Nov 27, 2024

I have tried various methods, but the memory is definitely leaking, it seems that the release of memory cannot keep up. Through the logs, it can be found that there is periodic memory recycling, but with the increase of time, there is still a clear upward trend

Name: keras
Version: 3.6.0

Please find the gist here for your reference.

tensorflow/tensorflow#80753 (comment)

@fchollet
Copy link
Member

Is this reproducible with a different backend?

TF has some well known memory leak issues, but there isn't anything we can do about it on the Keras side, unless the issue is also visible in other backends (in which case the issue is with the Keras codebase).

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

No branches or pull requests

3 participants