Model comparison

granite-4.0-h-350m vs Qwen2.5-0.5B-Instruct

At Q4_K_M, granite-4.0-h-350m is the smaller download — 222,662,560 bytes against 397,807,936. At long context the gap widens: granite-4.0-h-350m's KV cache at 32K is 3.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

granite-4.0-h-350mQwen2.5-0.5B-Instruct
Parameters340M494M
Architecturegranitehybridqwen2
Layers3224
Native context32,76832,768
Mixture of expertsnono
Quantizations published2932
Smallest quantization0.15 GiB0.31 GiB
Q4_K_M0.21 GiB0.37 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
Contextgranite-4.0-h-350mQwen2.5-0.5B-InstructRatio
4,0960.02 GiB0.05 GiB2.99×
8,1920.03 GiB0.09 GiB3.00×
16,3840.06 GiB0.19 GiB3.00×
32,7680.13 GiB0.38 GiB3.00×
65,5360.25 GiB0.75 GiB3.00×
131,0720.50 GiB1.50 GiB3.00×