-
Notifications
You must be signed in to change notification settings - Fork 73
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
CUDA out of memory #42
Comments
when running demo.py ,I also out of memory。 |
Same problem, what's the minimal GPU memory requirement for running the inference? I'm on 11GB GPU RAM. I also tried hacking the imSize to e.g 384x480 or 480x600 to work around the memory problem, but it doesn't work as the tensor dimensions in the demo model seems to be binded to 512x640 |
running on colab pro A100, I think the minimum is 18 GB |
When adding --gradient_checkpointing --use_8bit_adam the model training consumes 15GB although I'm not sure how it affects the results
|
runing finetune-unet.py on colab but i get cuda out of memory issue. Is it possible to run this on colab ?
The text was updated successfully, but these errors were encountered: