stable diffusion v2 1 needs about 3.0 GB of memory at Q4_1 (a 2.2 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 4 quants, from 2.2 GB (Q4_0) to 2.6 GB.
Stable Diffusion v2‑1 in GGUF format
Stable Diffusion v2‑1 is a diffusion‑based text‑to‑image model. It is fine‑tuned from stable‑diffusion‑2 with additional steps and uses a fixed pretrained text encoder. The GGUF version is available in several quantizations.
Good at
- Text‑to‑image generation
- Image editing from prompts
- High‑resolution output
Limits
- No vision support beyond text prompts
- Requires 8k context for full memory estimates
- License is openrail++
Best for
- Creating artwork from text
- Editing existing images
- Generating concept visuals
Who it’s for. Developers and artists who need a lightweight, locally deployable diffusion model. The GGUF format allows efficient inference on GPUs with limited VRAM.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q4_0 | 2.2 GB | 2.9 GB | Fits | Get file → | |
| Q4_1 | 2.2 GB | 3.0 GB | Fits | Get file → | |
| Q8_0 | 2.3 GB | 3.1 GB | Fits | Get file → | |
| — | 2.6 GB | 3.4 GB | Fits | Get file → |
For 8 GB VRAM use Q4_0 (file size 2.19 GB, estimated memory 2.9 GB). For 12 GB VRAM use Q4_1 (2.2 GB, 3 GB). For higher precision use Q8_0 (2.32 GB, 3.1 GB).
What GPU do you need for stable diffusion v2 1?
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: the best quant that fits is the main file (2.6 GB file, about 3.4 GB in use).
Which stable diffusion v2 1 quant should you choose?
Q4_1 (2.2 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 2.2 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 v2 1
How much VRAM does stable diffusion v2 1 need?
About 3.0 GB at Q4_1 with an 8K context window. That is the 2.2 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 v2 1 on an 8 GB GPU?
Yes, with the smaller files: the 2.6 GB file needs about 3.4 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of stable diffusion v2 1 GGUF?
It depends on the quant: Q4_0 is 2.2 GB, Q4_1 is 2.2 GB, Q8_0 is 2.3 GB, file is 2.6 GB.
Where can I download stable diffusion v2 1 GGUF?
The files are on Hugging Face in the gpustack/stable-diffusion-v2-1-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 v2 1 use?
Hugging Face lists the license as openrail++. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.
Can I run this model on 8 GB VRAM?
Yes, the Q4_0 quantization requires about 2.9 GB of VRAM at 8k context, which fits in 8 GB.
Does this model support image-to-image editing?
Yes, it can modify images based on text prompts using the latent diffusion framework.
What license applies to this model?
The model is released under the CreativeML Open RAIL++-M license.