Primary competition visual

AI4D Yorùbá Machine Translation Challenge

Helping Nigeria
$2 000 USD
Completed (over 5 years ago)
Machine Translation
695 joined
84 active
Starti
04 Dec 20
Closei
30 May 21
Reveali
30 May 21
Running out of memory
Help · 13 Apr 2021, 11:55 · 2

Hi all. I have been having this error. kindly help out.

CUDA out of memory. Tried to allocate 150.00 MiB (GPU 0; 14.76 GiB total capacity; 13.52 GiB already allocated; 149.75 MiB free; 13.58 GiB reserved in total by PyTorch)

Discussion 2 answers
User avatar

It seems that your GPU memory is already containing an old model. You are probably running 2 notebook in parallel, so you have to close all the notebooks before loading this model.

It is also possible that you have loaded 2 big models in the same notebook which the the GPU memory can't handle. Try to restart your notebook in this case and run your model again.

Upvotes 0
User avatar

If neither of these 2 scenarios is correct, you might need to reduce your sequence length/batch size or use a smaller model.

Upvotes 0