-
Notifications
You must be signed in to change notification settings - Fork 79
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
[BUG] Default device memory allocation is too aggressive #1160
Comments
Multiple issues here:
|
Thank you very much for your prompt response! Running with
Running with
And setting
|
OK, so it looks like indeed Legate's default device memory reservation was too aggressive. It tried reserving 7778MiB, based on the total memory size of 8188MiB. But based on your It's still curious that the error occurs at There is an ongoing discussion about shifting our device memory allocation logic to happen dynamically through CUDA memory allocation calls, rather than allocating a pool in the beginning and allocating out of that. But there are multiple issues to work through, so it won't be available in the immediate term. For now, I suggest you explicitly tell Legate how much memory to reserve, e.g. |
Thank you again for your help! When it's convenient, I would appreciate it if you could let me know when the fix becomes available. |
Software versions
(Following's the output for nvidia-smi btw)
Jupyter notebook / Jupyter Lab version
No response
Expected behavior
No error
Observed behavior
When I run
legate-issue
or runimport cupynumeric as np
in python it raises the following error:Example code or instructions
Stack traceback or browser console output
No response
The text was updated successfully, but these errors were encountered: