ibm-granite · text

granite-4.0-350m

ibm-granite/granite-4.0-350m

granite-4.0-350m at Q4_K_M is exactly 236,985,760 bytes (0.22 GiB / 0.24 GB) — an effective 5.380 bits per weight, not the nominal 4. Its KV cache at 32K is 0.88 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
352M
Architecture
granite
28 layers
Context
32,768
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
UD-IQ3_XXS0.16 GiB172,142,3683.908unsloth
Q2_K0.17 GiB180,645,2804.101ibm-granite
Q3_K_S0.18 GiB195,325,3444.434ibm-granite
Q3_K_S0.18 GiB195,325,7284.434unsloth
Q3_K_M0.19 GiB208,326,0484.730ibm-granite
Q3_K_M0.19 GiB208,326,4324.730unsloth
Q3_K_L0.20 GiB219,925,9204.993ibm-granite
IQ4_XS0.21 GiB221,818,6565.036unsloth
Q4_00.21 GiB228,470,1765.187ibm-granite
Q4_00.21 GiB228,863,7765.196unsloth
Q4_K_S0.21 GiB229,387,6805.208ibm-granite
IQ4_NL0.21 GiB229,388,0645.208unsloth
Q4_K_S0.21 GiB229,388,0645.208unsloth
Q4_K_M0.22 GiB236,985,7605.380ibm-granite
Q4_K_M0.22 GiB236,986,1445.380unsloth
Q4_10.23 GiB244,067,7445.541ibm-granite
Q4_10.23 GiB244,068,1285.541unsloth
Q5_K_S0.24 GiB259,665,3125.895ibm-granite
Q5_00.24 GiB259,665,3125.895ibm-granite
Q5_K_S0.24 GiB259,665,6965.895unsloth
Q5_K_M0.25 GiB264,052,1285.995ibm-granite
Q5_K_M0.25 GiB264,052,5125.995unsloth
Q5_10.26 GiB275,262,8806.249ibm-granite
Q6_K0.27 GiB292,810,1446.648ibm-granite
Q6_K0.27 GiB292,810,5286.648unsloth
Q8_00.35 GiB378,138,0168.585ibm-granite
Q8_00.35 GiB378,138,4008.585unsloth
BF160.66 GiB708,439,45616.084ibm-granite
BF160.66 GiB708,439,55216.084unsloth

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.11 GiB0.11 GiB28 / 0 / 0
8,1920.22 GiB0.22 GiB28 / 0 / 0
16,3840.44 GiB0.44 GiB28 / 0 / 0
32,7680.88 GiB0.88 GiB28 / 0 / 0
65,5361.75 GiB1.75 GiB28 / 0 / 0
131,0723.50 GiB3.50 GiB28 / 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.18 GiB. The real file is 0.22 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
28
Attention heads
16
KV heads
4
Head dim
64
Hidden size
1024
Vocab
100,352
Sliding window
none
SWA period
MLA
no
Experts
0
Experts per token
0
use_sliding_window

Questions people ask

How much VRAM does granite-4.0-350m need?
Q4_K_M is exactly 236,985,760 bytes (0.22 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is granite-4.0-350m's KV cache?
0.88 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 granite-4.0-350m 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.