-
Notifications
You must be signed in to change notification settings - Fork 210
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
Opportunistic GC collection #2303
Labels
enhancement
New feature or request
Comments
Not sure how it impacts your decision here, but I ran into a lack-of-GC issue here (FluxML/Flux.jl#2414) which was completely solved by running |
Maybe you can try the linked PR? It needs tuning of the heuristic, so datapoints would be useful. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As suggested by @gbaraldi: keep track of GPU memory pressure (using some atomic globals), and when allocating opportunistically call the GC to avoid only reclaiming memory when we run out of it.
The text was updated successfully, but these errors were encountered: