Primary competition visual

AI4D Yorùbá Machine Translation Challenge

Helping Nigeria
$2 000 USD
Completed (almost 5 years ago)
Machine Translation
683 joined
84 active
Starti
Dec 04, 20
Closei
May 30, 21
Reveali
May 30, 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

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.

29 Apr 2021, 15:40
Upvotes 0

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

29 Apr 2021, 15:42
Upvotes 0