Model comparison

Llama-Doctor-3.2-3B-Instruct vs Llama-3.1-8B-Instruct

At Q4_K_M, Llama-Doctor-3.2-3B-Instruct is the smaller download — 2,019,377,984 bytes against 4,920,739,168.

From the file· summed bytes, KV per layer

Side by side

Llama-Doctor-3.2-3B-InstructLlama-3.1-8B-Instruct
Parameters3.2B8.0B
Architecturellamallama
Layers2832
Native context131,072131,072
Mixture of expertsnono
Quantizations published4845
Smallest quantization0.81 GiB2.02 GiB
Q4_K_M1.88 GiB4.58 GiB
Licencemitllama3.1

KV cache by context

the term that decides long-context viability
ContextLlama-Doctor-3.2-3B-InstructLlama-3.1-8B-InstructRatio
4,0960.44 GiB0.50 GiB1.14×
8,1920.88 GiB1.00 GiB1.14×
16,3841.75 GiB2.00 GiB1.14×
32,7683.50 GiB4.00 GiB1.14×
65,5367.00 GiB8.00 GiB1.14×
131,07214.00 GiB16.00 GiB1.14×