stable diffusion v3 5 medium needs about 10.6 GB of memory at Q4_1 (a 9.1 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 6 quants, from 5.3 GB (Q4_0) to 16.5 GB.
stable diffusion v3 5 medium is a 8.27B-parameter Stable model in GGUF format, quantized by gpustack. The repository has 6 quant files, from 5.3 GB (Q4_0) to 16.5 GB.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q4_0 | 5.3 GB | 6.4 GB | Fits | Get file → | |
| Q4_0 | 8.9 GB | 10.5 GB | Too big | Get file → | |
| Q4_1 | 9.1 GB | 10.6 GB | Too big | Get file → | |
| Q8_0 | 9.3 GB | 10.9 GB | Too big | Get file → | |
| Q8_0 | 10.0 GB | 11.7 GB | Too big | Get file → | |
| — | 16.5 GB | 19.0 GB | Too big | Get file → |
What GPU do you need for stable diffusion v3 5 medium?
These figures add the file size, an fp16 KV cache at an 8K context window and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: no quant fits at an 8K context.
- 6 GB VRAM: no quant fits at an 8K context.
- 8 GB VRAM: the best quant that fits is Q4_0 (5.3 GB file, about 6.4 GB in use).
- 12 GB VRAM: the best quant that fits is Q8_0 (10.0 GB file, about 11.7 GB in use).
- 16 GB VRAM: the best quant that fits is Q8_0 (10.0 GB file, about 11.7 GB in use).
- 24 GB VRAM: the best quant that fits is the main file (16.5 GB file, about 19.0 GB in use).
Which stable diffusion v3 5 medium quant should you choose?
Q4_1 (9.1 GB) is the middle option in this repository. The usual sweet spot between file size and quality, and the quant most people start with.
If memory is tight, the smallest file is Q4_0 at 5.3 GB, with the quality trade-offs that come with fewer bits. The usual sweet spot between file size and quality, and the quant most people start with.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Frequently asked questions about stable diffusion v3 5 medium
How much VRAM does stable diffusion v3 5 medium need?
About 10.6 GB at Q4_1 with an 8K context window. That is the 9.1 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run stable diffusion v3 5 medium on an 8 GB GPU?
Yes, with Q4_0: the 5.3 GB file needs about 6.4 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of stable diffusion v3 5 medium GGUF?
It depends on the quant: Q4_0 is 5.3 GB, Q4_0 is 8.9 GB, Q4_1 is 9.1 GB, Q8_0 is 9.3 GB, Q8_0 is 10.0 GB, file is 16.5 GB.
Where can I download stable diffusion v3 5 medium GGUF?
The files are on Hugging Face in the gpustack/stable-diffusion-v3-5-medium-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.
What license does stable diffusion v3 5 medium use?
Hugging Face lists the license as other. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.