Model comparison

Garnet-OCR-3B-0422 vs Llama-3.1-8B-Instruct

At Q4_K_M, Garnet-OCR-3B-0422 is the smaller download — 2,104,202,944 bytes against 4,920,739,168. At long context the gap widens: Garnet-OCR-3B-0422's KV cache at 32K is 3.6× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Garnet-OCR-3B-0422Llama-3.1-8B-Instruct
Parameters4.1B8.0B
Architectureqwen2vlllama
Layers3632
Native context128,000131,072
Mixture of expertsnono
Quantizations published3645
Smallest quantization0.83 GiB2.02 GiB
Q4_K_M1.96 GiB4.58 GiB
Licenceapache-2.0llama3.1

KV cache by context

the term that decides long-context viability
ContextGarnet-OCR-3B-0422Llama-3.1-8B-InstructRatio
4,0960.14 GiB0.50 GiB3.56×
8,1920.28 GiB1.00 GiB3.56×
16,3840.56 GiB2.00 GiB3.56×
32,7681.13 GiB4.00 GiB3.56×
65,5362.25 GiB8.00 GiB3.56×
131,0724.50 GiB16.00 GiB3.56×