Hugging Face Forums
Cuda out of memory error
Intermediate
prashanth
May 14, 2022, 6:38pm
2
@sgugger
can you please help me in resolving this error?
show post in topic
Related topics
Topic
Replies
Views
Activity
RuntimeError: CUDA out of memory. Tried to allocate 1.91 GiB (GPU 0; 15.78 GiB total capacity; 12.36 GiB already allocated; 302.75 MiB free; 14.16 GiB reserved in total by PyTorch)
Beginners
2
1344
September 11, 2021
RuntimeError: CUDA out of memory. Tried to allocate 384.00 MiB (GPU 0; 11.17 GiB total capacity; 10.62 GiB already allocated; 145.81 MiB free; 10.66 GiB reserved in total by PyTorch)
Beginners
8
27489
December 10, 2023
RuntimeError: CUDA out of memory even with simple inference
Beginners
1
5383
January 16, 2022
Solving "CUDA out of memory" when fine-tuning GPT-2
🤗Transformers
0
1412
January 6, 2022
OutOfMemoryError: CUDA out of memory
Beginners
0
945
June 30, 2023