stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

OOM with GTX 1650ti

Open saber1360 opened this issue 2 years ago • 4 comments

txt2img every time result a black image.

when i've tried --precision full --no-half --lowvram, RuntimeError:DefaultCPUAllocator: not enough memory: you tried to allocate 151781376 bytes appear.

can someone help me plz ?

saber1360 avatar Oct 12 '22 14:10 saber1360

I recall problems with full precision on the 16x series, there are command line flags around that

cmp-nct avatar Oct 12 '22 15:10 cmp-nct

yes, I know that. But when I add --pression full , the error“DefaultCPUAllocator: not enough memory” appear. My vram 4g, and ram16g.

saber1360 avatar Oct 12 '22 15:10 saber1360

4GB VRAM is quite low, especially with full precision as that increases VRAM requirements.

Try adding --medvram to your arguments, if you still get a VRAM error then add --lowvram instead.

These options lower the VRAM required but slow down the generation in return.

EliEron avatar Oct 12 '22 17:10 EliEron

try installing xformers, and keep using the --lowvram or --medvram flags.

ClashSAN avatar Oct 26 '22 16:10 ClashSAN