stabilityai · image

stable-diffusion-3.5-medium

stabilityai/stable-diffusion-3.5-medium

stable-diffusion-3.5-medium at Q4_K_M is exactly 1,787,064,768 bytes (1.66 GiB / 1.79 GB) — an effective 5.789 bits per weight, not the nominal 4.

From the file· summed from 1 file(s)
Parameters
2.5B
Architecture
Context
native (config.json)
License
other

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q3_K_S1.35 GiB1,449,427,3924.695city96
Q3_K_M1.39 GiB1,494,548,9284.841city96
F162 shards1.52 GiB1,635,499,3285.298second-state
Q4_K_S1.62 GiB1,744,597,4405.651city96
Q4_01.62 GiB1,744,597,4405.651city96
Q4_K_M1.66 GiB1,787,064,7685.789city96
Q4_K_M1.66 GiB1,787,064,7685.789tensorart
Q4_11.75 GiB1,883,500,9926.101city96
Q5_01.88 GiB2,022,404,5446.551city96
Q5_K_S1.88 GiB2,022,404,5446.551city96
Q5_K_M1.93 GiB2,067,526,0806.697city96
Q5_12.01 GiB2,161,308,0967.001city96
Q6_K2.16 GiB2,317,574,5927.507city96
Q8_02.66 GiB2,855,825,8569.251tensorart
Q8_02.66 GiB2,855,825,8569.251city96
F164.60 GiB4,939,379,13616.000city96
Q4_04 shards4.93 GiB5,293,502,27217.147second-state
Q4_14 shards5.39 GiB5,789,347,42418.753second-state
Q5_04 shards5.85 GiB6,285,195,84020.360second-state
Q5_14 shards6.32 GiB6,781,040,99221.966second-state
Q8_04 shards8.62 GiB9,260,281,15229.997second-state

Pipeline components

a diffusion model is a graph of parts, not one file
ComponentSizeShareCan live on the CPU?
denoiser4.76 GiB19%no, must be resident
text encoder0.46 GiB2%yes — the usual first VRAM saving
text encoder 22.59 GiB10%yes — the usual first VRAM saving
text encoder 317.74 GiB69%yes — the usual first VRAM saving
vae0.16 GiB1%no, must be resident
Full pipeline25.70 GiBresident if nothing is offloaded

The parameter count published for a diffusion model describes the denoiser alone. Running it also requires its text encoder and VAE, and the text encoder is often nearly as large as the denoiser — which is why offloading it is the standard first move when you run out of memory. This repository also ships a single-file copy of the denoiser at its root; we count it once, not twice.

We publish component sizes here, not throughput. Community-submitted image-generation rates do exist for many GPUs and we show them on the hardware pages, but they aggregate runs at different resolutions, step counts and settings, so they cannot be attributed to one model. Peak memory during sampling is unmeasured by any public source, and we do not estimate it.

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 1.29 GiB. The real file is 1.66 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

Architecture unavailable — this repository is gated and no ungated mirror was found. Exact file sizes above are still authoritative; only the KV math needs the config.

Questions people ask

How much VRAM does stable-diffusion-3.5-medium need?
Q4_K_M is exactly 1,787,064,768 bytes (1.66 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
Which quantization of stable-diffusion-3.5-medium should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.