stable diffusion 3 medium needs about 7.2 GB of memory at Q5_1 (a 6.0 GB file) with an 8K context window, so it fits on a 8 GB GPU. This repository has 7 quants, from 4.6 GB (Q4_0) to 31.5 GB (F32).
stable diffusion 3 medium is a 7.88B-parameter Stable model in GGUF format, quantized by second-state. The repository has 7 quant files, from 4.6 GB (Q4_0) to 31.5 GB (F32).
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q4_0 | 4.6 GB | 5.6 GB | Fits | Get file → | |
| Q4_1 | 5.0 GB | 6.1 GB | Fits | Get file → | |
| Q5_0 | 5.5 GB | 6.7 GB | Fits | Get file → | |
| Q5_1 | 6.0 GB | 7.2 GB | Tight | Get file → | |
| Q8_0 | 8.5 GB | 10.0 GB | Too big | Get file → | |
| F16 | 15.8 GB | 18.2 GB | Too big | Get file → | |
| F32 | 31.5 GB | 35.8 GB | Too big | Get file → |
What GPU do you need for stable diffusion 3 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: the best quant that fits is Q4_0 (4.6 GB file, about 5.6 GB in use).
- 8 GB VRAM: the best quant that fits is Q5_1 (6.0 GB file, about 7.2 GB in use).
- 12 GB VRAM: the best quant that fits is Q8_0 (8.5 GB file, about 10.0 GB in use).
- 16 GB VRAM: the best quant that fits is Q8_0 (8.5 GB file, about 10.0 GB in use).
- 24 GB VRAM: the best quant that fits is F16 (15.8 GB file, about 18.2 GB in use).
- 32 GB VRAM: the best quant that fits is F16 (15.8 GB file, about 18.2 GB in use).
- 48 GB VRAM: the best quant that fits is F32 (31.5 GB file, about 35.8 GB in use).
Which stable diffusion 3 medium quant should you choose?
Q5_1 (6.0 GB) is the middle option in this repository. Closer to the original model than 4-bit, for a moderate increase in size. A good pick when you have memory to spare.
If memory is tight, the smallest file is Q4_0 at 4.6 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
Source
Frequently asked questions about stable diffusion 3 medium
How much VRAM does stable diffusion 3 medium need?
About 7.2 GB at Q5_1 with an 8K context window. That is the 6.0 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 3 medium on an 8 GB GPU?
Yes, with Q5_1: the 6.0 GB file needs about 7.2 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of stable diffusion 3 medium GGUF?
It depends on the quant: Q4_0 is 4.6 GB, Q4_1 is 5.0 GB, Q5_0 is 5.5 GB, Q5_1 is 6.0 GB, Q8_0 is 8.5 GB, F16 is 15.8 GB and 1 more.
Where can I download stable diffusion 3 medium GGUF?
The files are on Hugging Face in the second-state/stable-diffusion-3-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 3 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.