Model comparison

internlm3-8b-instruct vs gemma-4-12B-it-qat-q4_0-unquantized

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: internlm3-8b-instruct's KV cache at 32K is 1.6× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

internlm3-8b-instructgemma-4-12B-it-qat-q4_0-unquantized
Parameters8.8B12.0B
Architecturellamagemma4
Layers4848
Native context32,768262,144
Mixture of expertsnono
Quantizations published352
Smallest quantization2.98 GiB6.50 GiB
Q4_K_M4.99 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
Contextinternlm3-8b-instructgemma-4-12B-it-qat-q4_0-unquantizedRatio
4,0960.19 GiB0.72 GiB3.83×
8,1920.38 GiB0.97 GiB2.58×
16,3840.75 GiB1.47 GiB1.96×
32,7681.50 GiB2.47 GiB1.65×
65,5363.00 GiB4.47 GiB1.49×
131,0726.00 GiB8.47 GiB1.41×