Model comparison

granite-4.0-350m vs SmolLM2-135M-Instruct

At Q4_K_M, SmolLM2-135M-Instruct is the smaller download — 105,454,144 bytes against 236,985,760. At long context the gap widens: SmolLM2-135M-Instruct's KV cache at 32K is 1.2× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

granite-4.0-350mSmolLM2-135M-Instruct
Parameters352M135M
Architecturegranitellama
Layers2830
Native context32,7688,192
Mixture of expertsnono
Quantizations published2941
Smallest quantization0.16 GiB0.08 GiB
Q4_K_M0.22 GiB0.10 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
Contextgranite-4.0-350mSmolLM2-135M-InstructRatio
4,0960.11 GiB0.09 GiB1.24×
8,1920.22 GiB0.18 GiB1.24×
16,3840.44 GiB0.35 GiB1.24×
32,7680.88 GiB0.70 GiB1.24×
65,5361.75 GiB1.41 GiB1.24×
131,0723.50 GiB2.81 GiB1.24×