-
Notifications
You must be signed in to change notification settings - Fork 40
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
RuntimeError: CUDA out of memory. #53
Comments
You can try decreasing the following parameters:
However, the error message is a little weird here:
This implies to me that there may be another process running on your GPU. |
Thanks. Would it be possible to catch this error and issue a more informative message such as this?
|
It's not super nice design because the error would need to be caught at a very high level, basically in the outermost main function. Additionally, we'd need to string match the error message to figure out when catching a RuntimeError to check whether it matches a GPU OOM, which is a bit iffy. I think the message is reasonably informative, and I'd just add a note about it in the FAQ section. |
I tried to use Casanovo to make predictions on an MGF file containing 31,078 spectra, and it ran out of memory. Is there anything I can do to mitigate this problem, other than breaking up the input file into small pieces or switching to a different machine?
The text was updated successfully, but these errors were encountered: