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

[Feature Request]: Add support for a --lowvram-sdxl command line argument.

Open nl255 opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

It would be nice to have a --lowvram-sdxl command line argument that works similar to the --medvram-sdxl one only for lowvram mode as some video cards have enough memory for regular SD 1.5 models but require lowvram mode for XL models to have any kind of reasonable performance.

Proposed workflow

  1. Add --lowvram-sdxl to the command line arguments
  2. Low vram mode is enabled only when running SDXL models.

Additional information

With my current video card (6GB 1660 Super) I have to use lowvram with sdxl models to get any kind of decent performance (less than 10s/it) but regular SD 1.5 models work fine without any vram switches. With SD 1.5 models using lowvram is much slower than without any vram options so currently I have to close down the webui program entirely and restart it with a different batch file each time I want to switch between xl and 1.5 models.

nl255 avatar Dec 05 '23 17:12 nl255

+1 for this!

Agree with everything above ^^

--medvram-sdxl isn't cutting it for me with a 16GB AMD 6900XT on Mac Intel to run SDXL generations, but I don't wanna use --lowvram because it slows down SD generations which run fine using --medvram-sdxl (which I guess means SD generations are not memory-limited).

@viking1304 as FYI that this is filed as a Feature Request, since we previously discussed.

raffetazarius avatar Jan 26 '24 18:01 raffetazarius

+1 second this

younyokel avatar Feb 02 '24 13:02 younyokel

+1 second this

RLAPPP avatar Jul 29 '24 20:07 RLAPPP