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

Loading large models will consume too much RAM, causing low RAM devices to crash

Open LIGHT-Mus opened this issue 2 years ago • 4 comments

Loading large models will consume too much RAM, causing low RAM devices to crash

LIGHT-Mus avatar Oct 19 '22 11:10 LIGHT-Mus

Card 2060 doesn't work after update( f894dd5 ), with --precision full --no-half --medvram

Coder-Sakura avatar Oct 19 '22 12:10 Coder-Sakura

Card 2060 doesn't work after update( f894dd5 ), with --precision full --no-half --medvram

RTX 2060 with 6GB vRAM here, try with: --medvram --opt-split-attention --precision autocast

Note: not sure if OP means system RAM or vRAM (in my case I have 48GB of RAM)

cibernicola avatar Oct 19 '22 16:10 cibernicola

Card 2060 doesn't work after update( f894dd5 ), with --precision full --no-half --medvram

RTX 2060 with 6GB vRAM here, try with: --medvram --opt-split-attention --precision autocast

Note: not sure if OP means system RAM or vRAM (in my case I have 48GB of RAM)

With --medvram --opt-split-attention --precision autocast

I got wrong results. image

Coder-Sakura avatar Oct 19 '22 17:10 Coder-Sakura

@LIGHT-Mus try installing xformers

ClashSAN avatar Oct 26 '22 15:10 ClashSAN