Skip to content

Stable Diffusion Performance Optimization Tutorial



Stable Diffusion Performance Optimization
I’ll show you how to generate Images faster in Automatic1111. It should also work for Vlad Automatic. You can turn off GPU Scheduling in Windows Settings. You may also turn off Hardware Acceleration in the Browsers Settings you use the Stable Diffusion WebUI with. Additionally, you can increase the power budget of your GPU to maximum performance. This can be done via the GPU Control Utility. For Nvidia that is the “Nvidia Control Panel”. You can use command line arguments for Automatic1111 to generate images quicker. I personally use these: “–upcast-sampling –no-half-vae –opt-split-attention –xformers”. Note that –medvram & –lowvram are recommended often, though they reduce generation speed to lower vram usage. If you’re after speed don’t use them. If you’re on a low vram card (less than 4 GB) try –medvram first. If you want to upscale it may be best to batch upscale images. Just restart Automatic1111 with different command line…