HuggingFaceTB · text

SmolVLM-Instruct

HuggingFaceTB/SmolVLM-Instruct

SmolVLM-Instruct at Q4_K_M is exactly 1,112,242,368 bytes (1.04 GiB / 1.11 GB) — an effective 3.961 bits per weight, not the nominal 4. Its KV cache at 32K is 6.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
2.2B
Architecture
llama
24 layers
Context
16,384
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q4_K_M1.04 GiB1,112,242,3683.961ggml-org
Q8_01.80 GiB1,927,383,6806.864ggml-org
F163.38 GiB3,626,088,32012.914ggml-org

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.75 GiB0.75 GiB24 / 0 / 0
8,1921.50 GiB1.50 GiB24 / 0 / 0
16,3843.00 GiB3.00 GiB24 / 0 / 0
32,7686.00 GiB6.00 GiB24 / 0 / 0
65,53612.00 GiB12.00 GiB24 / 0 / 0
131,07224.00 GiB24.00 GiB24 / 0 / 0

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.18 GiB. The real file is 1.04 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
24
Attention heads
32
KV heads
32
Head dim
64
Hidden size
2048
Vocab
49,155
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does SmolVLM-Instruct need?
Q4_K_M is exactly 1,112,242,368 bytes (1.04 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is SmolVLM-Instruct's KV cache?
6.00 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Which quantization of SmolVLM-Instruct 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.