ST

stable diffusion v2 1

StableGGUF by leexampUpdated 2024-01-16
Download on Hugging Face
Parameters1.3B
Context—
Layers—
Architecture—
Smallest quant1.7 GB
Quick answer

stable diffusion v2 1 needs about 2.5 GB of memory at Q5_0 (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_1) to 2.0 GB (Q8_0).

stable diffusion v2 1 is a 1.3B-parameter Stable model in GGUF format, quantized by leexamp. The repository has 4 quant files, from 1.7 GB (Q4_1) to 2.0 GB (Q8_0).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_11.7 GB 2.4 GB
Fits Get file →
Q5_01.8 GB 2.5 GB
Fits Get file →
Q5_11.8 GB 2.5 GB
Fits Get file →
Q8_02.0 GB 2.8 GB
Fits Get file →

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 Q8_0 (2.0 GB file, about 2.8 GB in use).

Which stable diffusion v2 1 quant should you choose?

Q5_0 (1.8 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_1 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

Parameters1.3B

Source

Quantized byleexamp
FamilyStable
Downloads (HF)474
Last updated2024-01-16

Frequently asked questions about stable diffusion v2 1

How much VRAM does stable diffusion v2 1 need?

About 2.5 GB at Q5_0 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 v2 1 on an 8 GB GPU?

Yes, with Q8_0: the 2.0 GB file needs about 2.8 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_1 is 1.7 GB, Q5_0 is 1.8 GB, Q5_1 is 1.8 GB, Q8_0 is 2.0 GB.

Where can I download stable diffusion v2 1 GGUF?

The files are on Hugging Face in the leexamp/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.

Similar models

Browse all →

More Stable models

All Stable →

Other tiny models

All tiny models →