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 26.00 MiB (GPU 0; 5.80 GiB total capacity; 3.18 GiB already allocated; 62.19 MiB free #240

Open
hitbuyi opened this issue Mar 23, 2024 · 1 comment

Comments

@hitbuyi
Copy link

hitbuyi commented Mar 23, 2024

I have only one GPU, when train tiny bevformer model, the programe indicates CUDA out of memory, where to reduce the batch size?

@lix19937
Copy link

lix19937 commented May 9, 2024

Current the batch size if fiexed 1. samples_per_gpu=1, you can reduce the img shape and query_num, bev_h, bev_w @hitbuyi

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