nvidia · text

Llama-3.1-Nemotron-Nano-8B-v1

nvidia/Llama-3.1-Nemotron-Nano-8B-v1

Llama-3.1-Nemotron-Nano-8B-v1 at Q4_K_M is exactly 4,920,736,864 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
131,072
native (config.json)
License
other

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
UD-IQ1_S2.02 GiB2,164,670,0162.156unsloth
UD-IQ1_M2.13 GiB2,292,203,0722.284unsloth
UD-IQ2_XXS2.33 GiB2,504,867,3922.495unsloth
IQ2_M2.75 GiB2,948,283,4882.937bartowski
UD-IQ2_M2.80 GiB3,003,268,6722.992unsloth
Q2_K2.96 GiB3,179,134,0483.167bartowski
Q2_K2.96 GiB3,179,134,5283.167unsloth
IQ3_XXS3.05 GiB3,274,914,9123.263bartowski
Q2_K_L3.08 GiB3,302,260,2883.290unsloth
UD-IQ3_XXS3.09 GiB3,321,773,6323.309unsloth
IQ3_XS3.28 GiB3,518,749,7923.506bartowski
Q3_K_S3.41 GiB3,664,501,8563.651bartowski
Q3_K_S3.41 GiB3,664,502,3363.651unsloth
Q2_K_L3.44 GiB3,692,158,0483.678bartowski
IQ3_M3.52 GiB3,784,825,5683.771Zynerji
IQ3_M3.52 GiB3,784,825,9523.771bartowski
Q3_K_M3.74 GiB4,018,920,5444.004bartowski
Q3_K_M3.74 GiB4,018,921,0244.004unsloth
Q3_K_L4.03 GiB4,321,959,0084.306bartowski
IQ4_XS4.14 GiB4,447,664,8644.431Zynerji
IQ4_XS4.14 GiB4,447,665,2484.431bartowski
IQ4_XS4.16 GiB4,464,082,4964.447unsloth
Q4_04.35 GiB4,675,894,3684.658bartowski
Q4_04.35 GiB4,675,894,8804.658unsloth
IQ4_NL4.36 GiB4,677,991,5204.660bartowski
IQ4_NL4.36 GiB4,677,992,0004.660unsloth
Q4_K_S4.37 GiB4,692,671,5844.675bartowski
Q4_K_S4.37 GiB4,692,672,0644.675unsloth
Q4_K_M4.58 GiB4,920,736,8644.902bartowski
Q4_K_M4.58 GiB4,920,737,3444.902unsloth
Q4_14.78 GiB5,130,255,4565.111bartowski
Q4_14.78 GiB5,130,255,9365.111unsloth
Q4_K_L4.95 GiB5,310,635,1045.291bartowski
Q5_K_S5.21 GiB5,599,296,6085.578bartowski
Q5_K_S5.21 GiB5,599,297,0885.578unsloth
Q5_K_M5.34 GiB5,732,989,6645.711Zynerji
Q5_K_M5.34 GiB5,732,990,0485.711bartowski
Q5_K_M5.34 GiB5,732,990,5285.711unsloth
Q5_K_L5.64 GiB6,057,221,2166.034bartowski
Q6_K6.14 GiB6,596,008,6726.571Zynerji

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 Llama-3.1-Nemotron-Nano-8B-v1 need?
Q4_K_M is exactly 4,920,736,864 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 Llama-3.1-Nemotron-Nano-8B-v1'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 Llama-3.1-Nemotron-Nano-8B-v1 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.