Skip to content

CUDA out of memory (SOLVED) #671

Answered by EliEron
Elonel5 asked this question in Q&A
Sep 5, 2022 · 2 comments · 24 replies
Discussion options

You must be logged in to vote

The message is telling you that you ran out of VRAM. To run Standard-Diffusion on low VRAM cards you currently have to enable one of the optimized modes. The standard optimized 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 the "relauncher.py" file and change:

optimized = False

To:

optimized = True

To enable optimized-turbo do the same thing but for the "optimized_turbo" option. Though only one of them should be enabled (set to True) at a time.

With only 4GB of VRAM (based on the error message) you will likely have to use the standard optimized mode for now, but the…

Replies: 2 comments 24 replies

Comment options

You must be logged in to vote
14 replies
@EliEron
Comment options

@Elonel5
Comment options

@denizbinay
Comment options

@codefaux
Comment options

@mchaker
Comment options

Answer selected by Elonel5
Comment options

You must be logged in to vote
10 replies
@Elonel5
Comment options

@Elonel5
Comment options

@mchaker
Comment options

@Elonel5
Comment options

@mchaker
Comment options

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