pansophic · text

rocket-3B

pansophic/rocket-3B

rocket-3B at Q4_K_M is exactly 1,708,595,136 bytes (1.59 GiB / 1.71 GB) — an effective 4.890 bits per weight, not the nominal 4. Its KV cache at 32K is 10.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
2.8B
Architecture
stablelm
32 layers
Context
4,096
native (config.json)
License
cc-by-sa-4.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K1.12 GiB1,198,771,1363.431TheBloke
Q3_K_S1.17 GiB1,254,448,5763.590TheBloke
Q3_K_M1.30 GiB1,391,418,8163.982TheBloke
Q3_K_L1.40 GiB1,508,564,4164.317TheBloke
Q4_01.50 GiB1,608,570,8164.603TheBloke
Q4_K_S1.51 GiB1,620,694,9764.638TheBloke
Q4_K_M1.59 GiB1,708,595,1364.890TheBloke
Q5_01.81 GiB1,941,862,3365.557TheBloke
Q5_K_S1.81 GiB1,941,862,3365.557TheBloke
Q5_K_M1.86 GiB1,993,390,0165.705TheBloke
Q6_K2.14 GiB2,295,984,5766.571TheBloke
Q8_02.77 GiB2,972,925,3768.508TheBloke

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0961.25 GiB1.25 GiB32 / 0 / 0
8,1922.50 GiB2.50 GiB32 / 0 / 0
16,3845.00 GiB5.00 GiB32 / 0 / 0
32,76810.00 GiB10.00 GiB32 / 0 / 0
65,53620.00 GiB20.00 GiB32 / 0 / 0
131,07240.00 GiB40.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 1.46 GiB. The real file is 1.59 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
32
Attention heads
32
KV heads
32
Head dim
80
Hidden size
2560
Vocab
50,304
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does rocket-3B need?
Q4_K_M is exactly 1,708,595,136 bytes (1.59 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is rocket-3B's KV cache?
10.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 rocket-3B 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.