ibm-granite · text

granite-3.2-8b-instruct

ibm-granite/granite-3.2-8b-instruct

granite-3.2-8b-instruct at Q4_K_M is exactly 4,942,858,848 bytes (4.60 GiB / 4.94 GB) — an effective 4.840 bits per weight, not the nominal 4. Its KV cache at 32K is 5.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
8.2B
Architecture
granite
40 layers
Context
131,072
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_M2.64 GiB2,836,826,0482.777bartowski
Q2_K2.89 GiB3,103,591,7123.039ibm-research
Q2_K2.89 GiB3,103,591,9683.039bartowski
Q2_K_L2.94 GiB3,152,353,7283.086bartowski
IQ3_XXS2.98 GiB3,201,370,0483.134bartowski
IQ3_XS3.19 GiB3,427,995,1683.356bartowski
Q3_K_S3.35 GiB3,592,490,2723.517ibm-research
Q3_K_S3.35 GiB3,592,490,5283.517bartowski
IQ3_M3.48 GiB3,738,717,7283.660bartowski
Q3_K_M3.72 GiB3,996,585,2483.913ibm-research
Q3_K_M3.72 GiB3,996,585,5043.913bartowski
Q3_K_L4.05 GiB4,349,430,3684.258lmstudio-community
Q3_K_L4.05 GiB4,349,431,0724.258ibm-research
Q3_K_L4.05 GiB4,349,431,3284.258bartowski
IQ4_XS4.12 GiB4,428,074,5284.335bartowski
Q4_04.33 GiB4,650,896,6724.554ibm-research
Q4_04.35 GiB4,667,280,9284.570bartowski
IQ4_NL4.35 GiB4,671,868,4484.574bartowski
Q4_K_S4.36 GiB4,685,761,8244.588ibm-research
Q4_K_S4.36 GiB4,685,762,0804.588bartowski
Q4_K_M4.60 GiB4,942,858,8484.840lmstudio-community
Q4_K_M4.60 GiB4,942,859,5524.840ibm-research
Q4_K_M4.60 GiB4,942,859,8084.840bartowski
Q4_K_L4.65 GiB4,991,621,5684.887bartowski
Q4_14.80 GiB5,148,970,2725.041ibm-research
Q4_14.80 GiB5,148,970,5285.041bartowski
Q5_05.26 GiB5,647,043,8725.529ibm-research
Q5_K_S5.26 GiB5,647,043,8725.529ibm-research
Q5_K_S5.26 GiB5,647,044,1285.529bartowski
Q5_K_M5.40 GiB5,797,448,9925.676ibm-research
Q5_K_M5.40 GiB5,797,449,2485.676bartowski
Q5_K_L5.44 GiB5,846,211,0085.724bartowski
Q5_15.72 GiB6,145,117,4726.017ibm-research
Q6_K6.24 GiB6,705,449,5686.565lmstudio-community
Q6_K6.24 GiB6,705,450,2726.565ibm-research
Q6_K6.24 GiB6,705,450,5286.565bartowski
Q6_K_L6.29 GiB6,754,212,2886.613bartowski
Q8_08.09 GiB8,684,246,5288.503lmstudio-community
Q8_08.09 GiB8,684,247,2328.503ibm-research
Q8_08.09 GiB8,684,247,4888.503bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.63 GiB0.63 GiB40 / 0 / 0
8,1921.25 GiB1.25 GiB40 / 0 / 0
16,3842.50 GiB2.50 GiB40 / 0 / 0
32,7685.00 GiB5.00 GiB40 / 0 / 0
65,53610.00 GiB10.00 GiB40 / 0 / 0
131,07220.00 GiB20.00 GiB40 / 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.28 GiB. The real file is 4.60 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

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

Questions people ask

How much VRAM does granite-3.2-8b-instruct need?
Q4_K_M is exactly 4,942,858,848 bytes (4.60 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is granite-3.2-8b-instruct's KV cache?
5.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 granite-3.2-8b-instruct 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.