Stable diffusion needs about 12.9 GB of memory at its main file (a 11.1 GB file) with an 8K context window, so it fits on a 16 GB GPU. This repository has 2 quants, from 11.1 GB to 18.1 GB.
Stable diffusion is a 16.4B-parameter Stable model in GGUF format, quantized by mm66m. The repository has 2 quant files, from 11.1 GB to 18.1 GB.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| — | 11.1 GB | 12.9 GB | Too big | Get file → | |
| — | 18.1 GB | 20.8 GB | Too big | Get file → |
What GPU do you need for Stable diffusion?
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: no quant fits at an 8K context.
- 12 GB VRAM: no quant fits at an 8K context.
- 16 GB VRAM: the best quant that fits is the main file (11.1 GB file, about 12.9 GB in use).
- 24 GB VRAM: the best quant that fits is the main file (18.1 GB file, about 20.8 GB in use).
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about Stable diffusion
How much VRAM does Stable diffusion need?
About 12.9 GB at its main file with an 8K context window. That is the 11.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 on an 8 GB GPU?
Not at an 8K context. The smallest file needs about 12.9 GB, so you would need a larger GPU or CPU offloading.
What is the file size of Stable diffusion GGUF?
It depends on the quant: file is 11.1 GB, file is 18.1 GB.
Where can I download Stable diffusion GGUF?
The files are on Hugging Face in the mm66m/Stable-diffusion repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.