nvidia · text

Llama3-ChatQA-1.5-8B

nvidia/Llama3-ChatQA-1.5-8B

Llama3-ChatQA-1.5-8B at Q4_K_M is exactly 4,920,734,272 bytes (4.58 GiB / 4.92 GB) — an effective 4.902 bits per weight, not the nominal 4. Its KV cache at 32K is 4.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
8.0B
Architecture
llama
32 layers
Context
8,192
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S1.88 GiB2,019,627,8402.012legraphista
IQ1_M2.01 GiB2,161,972,0322.154legraphista
IQ2_XXS2.23 GiB2,399,212,3522.390legraphista
IQ2_XS2.43 GiB2,605,781,8242.596legraphista
IQ2_S2.57 GiB2,758,488,8962.748legraphista
IQ2_M2.75 GiB2,948,281,1522.937legraphista
Q2_K_S2.78 GiB2,988,815,1682.978legraphista
Q2_K2.96 GiB3,179,131,4563.167PrunaAI
Q2_K2.96 GiB3,179,131,7123.167legraphista
Q2_K2.96 GiB3,179,131,7443.167PrunaAI
Q2_K2.96 GiB3,179,643,7443.168QuantFactory
IQ3_XXS3.05 GiB3,274,912,5763.263legraphista
IQ3_XS3.28 GiB3,518,747,4563.506legraphista
IQ3_XS3.28 GiB3,518,756,2563.506PrunaAI
Q3_K_S3.41 GiB3,664,499,2643.651PrunaAI
Q3_K_S3.41 GiB3,664,499,5203.651legraphista
Q3_K_S3.41 GiB3,665,011,5523.651QuantFactory
IQ3_S3.43 GiB3,682,325,3123.668legraphista
IQ3_S3.43 GiB3,682,334,1123.668PrunaAI
IQ3_M3.52 GiB3,784,823,6163.771legraphista
IQ3_M3.52 GiB3,784,832,4163.771PrunaAI
Q3_K_M3.74 GiB4,018,917,9524.004PrunaAI
Q3_K3.74 GiB4,018,918,2084.004legraphista
Q3_K_M3.74 GiB4,019,430,2404.004QuantFactory
Q3_K_L4.03 GiB4,321,956,4164.306PrunaAI
Q3_K_L4.03 GiB4,321,956,6724.306legraphista
Q3_K_L4.03 GiB4,322,468,7044.306QuantFactory
IQ4_XS4.14 GiB4,447,662,9124.431legraphista
IQ4_XS4.18 GiB4,484,371,8724.468PrunaAI
Q4_04.34 GiB4,661,211,7124.644PrunaAI
Q4_04.34 GiB4,661,724,0004.644QuantFactory
IQ4_NL4.36 GiB4,677,989,1844.660legraphista
Q4_K_S4.37 GiB4,692,668,9924.675PrunaAI
Q4_K_S4.37 GiB4,692,669,2484.675legraphista
Q4_K_S4.37 GiB4,693,181,2804.676QuantFactory
IQ4_NL4.38 GiB4,707,358,1124.690PrunaAI
Q4_K_M4.58 GiB4,920,734,2724.902PrunaAI
Q4_K4.58 GiB4,920,734,5284.902legraphista
Q4_K_M4.58 GiB4,921,246,5604.903QuantFactory
Q4_14.78 GiB5,130,252,8645.111PrunaAI

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.50 GiB0.50 GiB32 / 0 / 0
8,1921.00 GiB1.00 GiB32 / 0 / 0
16,3842.00 GiB2.00 GiB32 / 0 / 0
32,7684.00 GiB4.00 GiB32 / 0 / 0
65,5368.00 GiB8.00 GiB32 / 0 / 0
131,07216.00 GiB16.00 GiB32 / 0 / 0

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 4.21 GiB. The real file is 4.58 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
32
Attention heads
32
KV heads
8
Head dim
128
Hidden size
4096
Vocab
128,256
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Llama3-ChatQA-1.5-8B need?
Q4_K_M is exactly 4,920,734,272 bytes (4.58 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Llama3-ChatQA-1.5-8B's KV cache?
4.00 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Which quantization of Llama3-ChatQA-1.5-8B should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.