Model comparison

granite-4.0-h-tiny-base vs llama-3-youko-8b

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: granite-4.0-h-tiny-base's KV cache at 32K is 16.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-tiny-basellama-3-youko-8b
Parameters6.9B8.0B
Architecturegranitehybridllama
Layers4032
Native context131,0728,192
Mixture of expertsyes, 64 expertsno
Quantizations published152
Smallest quantization2.41 GiB5.34 GiB
Q4_K_M3.94 GiB
Licenceapache-2.0llama3

KV cache by context

the term that decides long-context viability
Contextgranite-4.0-h-tiny-basellama-3-youko-8bRatio
4,0960.03 GiB0.50 GiB15.96×
8,1920.06 GiB1.00 GiB15.98×
16,3840.13 GiB2.00 GiB15.99×
32,7680.25 GiB4.00 GiB16.00×
65,5360.50 GiB8.00 GiB16.00×
131,0721.00 GiB16.00 GiB16.00×