Skip to content
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. Tried to allocate 58.00 MiB (GPU 1; 10.76 GiB total capacity; 9.75 GiB already allocated; 25.56 MiB free; 9.89 GiB reserved in total by PyTorch) #21

Open
guangxuwang opened this issue Sep 10, 2022 · 2 comments

Comments

@guangxuwang
Copy link

guangxuwang commented Sep 10, 2022

RuntimeError: CUDA out of memory. Tried to allocate 58.00 MiB (GPU 1; 10.76 GiB total capacity; 9.75 GiB already allocated; 25.56 MiB free; 9.89 GiB reserved in total by PyTorch)

how do you solve it?,my gpu is rtx 2080ti(memory 11G).

@Avinash439
Copy link

I am having the same issue, Please let me know if you solve the above error?

@Avinash439
Copy link

RuntimeError: CUDA out of memory. Tried to allocate 58.00 MiB (GPU 1; 10.76 GiB total capacity; 9.75 GiB already allocated; 25.56 MiB free; 9.89 GiB reserved in total by PyTorch)

how do you solve it?,my gpu is rtx 2080ti(memory 11G).

Just change the batch size in the file ISTR/projects/ISTR/configs/ISTR-AE-R50-3x.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants