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

CUDA out of memory #2

Open
mady143 opened this issue Mar 3, 2020 · 1 comment
Open

CUDA out of memory #2

mady143 opened this issue Mar 3, 2020 · 1 comment

Comments

@mady143
Copy link

mady143 commented Mar 3, 2020

Hi @tangbinh ,
while i am training the BIDAF i.e.,
python train.py --arch bidaf --embed-path wordvec/glove/glove.840B.300d.txt --checkpoint-dir checkpoints/bidaf --log-file logs --lr 0.01
getting an error like
RuntimeError: CUDA out of memory. Tried to allocate 4.27 GiB (GPU 0; 10.92 GiB total capacity; 5.10 GiB already allocated; 1.00 GiB free; 9.09 GiB reserved in total by PyTorch)

but i am inruuning in a gpu system having
python 3.6
11.gb graphic card
32 gb ram
and Nvidia support also
i was unable to understand why this error is getting can you explain me clearly

Thank you ,
Manikantha Sekhar

@tangbinh
Copy link
Owner

tangbinh commented Mar 3, 2020

@mady143 The RuntimeError indicates you're out of GPU memory. You can try to reduce the batch size.

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