-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
SwinUNETR CUDA out of memory on NVIDIA RTX 4070 #8042
Comments
are there any gradient check pointing feature for large models in MONAI? |
problem solved. I enabled gradient checkpointing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Hi, Thank you so much for the nice toolkit for healtcare. I am using
SwinUNETR
as a baseline method for my thesis and I am training it onBraTS 2023
brain tumor segmentation dataset. I am setting the following parameters when creating SwinUNETR.However, when I run the model with the dataset with size
(4x128x128x128)
, I get cuda out of memory issue, and I am usingbatch size 1
. Description below:Environment
Anaconda virtual environment with
python version: 3.10.14
log of the above code.
The text was updated successfully, but these errors were encountered: