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

run_downstream_custom_multiple_fold.py CUDA out of memory #7

Open
zxpan opened this issue Feb 7, 2022 · 2 comments
Open

run_downstream_custom_multiple_fold.py CUDA out of memory #7

zxpan opened this issue Feb 7, 2022 · 2 comments

Comments

@zxpan
Copy link

zxpan commented Feb 7, 2022

Got the following when running run_downstream_custom_multiple_fold.py
RuntimeError: CUDA out of memory. Tried to allocate 730.00 MiB (GPU 0; 23.70 GiB total capacity; 21.65 GiB already allocated; 426.81 MiB free; 21.81 GiB reserved in total by PyTorch)

I have NVIDIA GeForce RTX 3090 with 24GB.

Any insights on how to workaround it?

@JYeonKim
Copy link

me tooo...... I think we have to use multi-gpu

@liuhaozhe6788
Copy link

@zxpan You can reduce the batch size from 64 to 32.

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

3 participants