-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Optimum SDXL Usage
ClashSAN edited this page Aug 27, 2023
·
6 revisions
Here's a quick listing of things to tune for your setup:
- (nvidia) 8gb
--medvram-sdxl --xformers
- (nvidia) 12gb+
--xformers
- (nvidia) 4gb
--lowvram --xformers
- downgrade nvidia drivers to 531 or lower prevent extreme slowdowns for largest pictures
- add a pagefile to prevent failure to load weights due to low cpu ram
- (Linux) install tcmalloc - greatly reducing ram usage:
sudo apt install --no-install-recommends google-perftools
#10117 - use an SSD, for faster loadtime, especially if a pagefile is required
- converting
.safetensors
to.ckpt
for reduced ram usage #12086
- use vae that will not need to run in fp32 for increased speed and less vram usage: sdxl_vae.safetensors
- use TAESD
- use fp16 (~7gb) weights for less cpu ram usage
This is the Stable Diffusion web UI wiki. Wiki Home
Setup
- Install and run on NVidia GPUs
- Install and run on AMD GPUs
- Install and run on Apple Silicon
- Install and run on Intel Silicon (external wiki page)
- Install and run via container (i.e. Docker)
- Run via online services
Reproducing images / troubleshooting
Usage
- Features
- Command Line Arguments and Settings
- Optimizations
- Custom Filename Name and Subdirectory
- Change model folder location e.g. external disk
- User Interface Customizations
- Guides and Tutorials
Developers