-
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
device_reset! does not seem to work anymore #1579
Comments
Even with proper context invalidation, memory isn't freed:
|
Upstream let me know that stream ordered memory allocations are explicitly not context bound. CUDA.jl#master now keeps track of them past device reset and frees them manually when the GC frees those objects. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Resetting the device does not free memory:
It seems like the contexts doesn't get validated anymore?
Although we do seem to test that on CI (in the initialization test suite).
The text was updated successfully, but these errors were encountered: