stable diffusion v1 5 inpainting needs about 2.5 GB of memory at Q4_1 (a 1.8 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 4 quants, from 1.7 GB (Q4_0) to 2.1 GB.
stable diffusion v1 5 inpainting is a 1.07B-parameter Stable model in GGUF format, quantized by gpustack. The repository has 4 quant files, from 1.7 GB (Q4_0) to 2.1 GB.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q4_0 | 1.7 GB | 2.5 GB | Fits | Get file → | |
| Q4_1 | 1.8 GB | 2.5 GB | Fits | Get file → | |
| Q8_0 | 1.9 GB | 2.6 GB | Fits | Get file → | |
| — | 2.1 GB | 2.9 GB | Fits | Get file → |
What GPU do you need for stable diffusion v1 5 inpainting?
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.1 GB file, about 2.9 GB in use).
Which stable diffusion v1 5 inpainting quant should you choose?
Q4_1 (1.8 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 1.7 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 v1 5 inpainting
How much VRAM does stable diffusion v1 5 inpainting need?
About 2.5 GB at Q4_1 with an 8K context window. That is the 1.8 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 v1 5 inpainting on an 8 GB GPU?
Yes, with the smaller files: the 2.1 GB file needs about 2.9 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of stable diffusion v1 5 inpainting GGUF?
It depends on the quant: Q4_0 is 1.7 GB, Q4_1 is 1.8 GB, Q8_0 is 1.9 GB, file is 2.1 GB.
Where can I download stable diffusion v1 5 inpainting GGUF?
The files are on Hugging Face in the gpustack/stable-diffusion-v1-5-inpainting-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 v1 5 inpainting use?
Hugging Face lists the license as creativeml-openrail-m. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.