HuggingFaceTB · text

SmolVLM2-500M-Video-Instruct

HuggingFaceTB/SmolVLM2-500M-Video-Instruct

SmolVLM2-500M-Video-Instruct at Q4_K_M is exactly 303,253,504 bytes (0.28 GiB / 0.30 GB) — an effective 4.780 bits per weight, not the nominal 4. Its KV cache at 32K is 1.25 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
507M
Architecture
llama
32 layers
Context
8,192
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K0.23 GiB245,423,1043.869second-state
Q3_K_S0.23 GiB245,423,1043.869second-state
Q4_00.24 GiB255,867,9044.034second-state
Q3_K_M0.24 GiB261,435,9044.121second-state
Q3_K_L0.25 GiB273,071,1044.305second-state
Q4_K_S0.27 GiB292,578,3044.612second-state
Q5_00.28 GiB301,103,1044.747second-state
Q4_K_M0.28 GiB303,253,5044.780second-state
Q5_K_S0.30 GiB318,805,5045.026second-state
Q5_K_M0.30 GiB325,563,9045.132second-state
Q6_K0.39 GiB417,762,3046.586second-state
Q8_00.41 GiB436,808,7046.886ggml-org
Q8_00.41 GiB436,808,7046.886jc-builds
Q8_00.41 GiB436,808,7046.886second-state
F160.76 GiB820,424,70412.933ggml-org
F160.76 GiB820,424,70412.933second-state

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.16 GiB0.16 GiB32 / 0 / 0
8,1920.31 GiB0.31 GiB32 / 0 / 0
16,3840.63 GiB0.63 GiB32 / 0 / 0
32,7681.25 GiB1.25 GiB32 / 0 / 0
65,5362.50 GiB2.50 GiB32 / 0 / 0
131,0725.00 GiB5.00 GiB32 / 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 0.27 GiB. The real file is 0.28 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

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

Questions people ask

How much VRAM does SmolVLM2-500M-Video-Instruct need?
Q4_K_M is exactly 303,253,504 bytes (0.28 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is SmolVLM2-500M-Video-Instruct's KV cache?
1.25 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 SmolVLM2-500M-Video-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.