Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Getting an Error: RuntimeError: CUDA out of memory. #284

Answered by EliEron
00000043 asked this question in Q&A
Discussion options

You must be logged in to vote

That error message is a bit misleading. What it's actually saying is that it ran out of space while trying to allocate memory. Meaning your system did not have enough free memory. Some of your VRAM will be used just to render your desktop and other graphical utilities. So a 4GB card can't actually run something that requires more than 4GB by itself.

You should be able to run using the optimized mode though. There are two optimized modes available that sacrifice speed but lower VRAM requirements. The standard optimize mode lowers VRAM a lot but also massively affects speed. The optimize-turbo mode uses a bit more VRAM but runs with little speed penalty.

To enable the optimized mode open th…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@00000043
Comment options

Answer selected by 00000043
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants