ibm-granite · text

granite-3.3-8b-instruct

ibm-granite/granite-3.3-8b-instruct

granite-3.3-8b-instruct at Q4_K_M is exactly 4,942,873,344 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
UD-IQ1_S1.80 GiB1,930,966,4641.891unsloth
UD-IQ1_M1.93 GiB2,071,868,8642.029unsloth
UD-IQ2_XXS2.16 GiB2,315,990,4642.268unsloth
IQ2_M2.64 GiB2,836,837,6962.777bartowski
UD-IQ2_M2.69 GiB2,892,297,6642.832unsloth
Q2_K2.89 GiB3,103,605,5043.039ibm-granite
Q2_K2.89 GiB3,103,605,7923.039bartowski
Q2_K_L2.89 GiB3,103,605,9203.039unsloth
Q2_K2.89 GiB3,103,605,9203.039unsloth
Q2_K_L2.94 GiB3,152,371,5203.087bartowski
IQ3_XXS2.98 GiB3,201,381,6963.134bartowski
UD-IQ3_XXS3.02 GiB3,243,570,6243.176unsloth
IQ3_XS3.19 GiB3,428,008,9923.356bartowski
Q3_K_S3.35 GiB3,592,504,0643.517ibm-granite
Q3_K_S3.35 GiB3,592,504,3523.517bartowski
Q3_K_S3.35 GiB3,592,504,4803.517unsloth
IQ3_M3.48 GiB3,738,731,5523.660bartowski
Q3_K_M3.72 GiB3,996,599,0403.913ibm-granite
Q3_K_M3.72 GiB3,996,599,3283.913bartowski
Q3_K_M3.72 GiB3,996,599,4563.913unsloth
Q3_K_L4.05 GiB4,349,444,8644.258ibm-granite
Q3_K_L4.05 GiB4,349,445,1524.258bartowski
IQ4_XS4.12 GiB4,428,088,3524.335bartowski
IQ4_XS4.12 GiB4,428,088,4804.335unsloth
Q4_04.33 GiB4,650,910,4644.554ibm-granite
Q4_04.35 GiB4,667,294,7524.570bartowski
Q4_04.35 GiB4,667,294,8804.570unsloth
IQ4_NL4.35 GiB4,671,882,2724.574bartowski
IQ4_NL4.35 GiB4,671,882,4004.574unsloth
Q4_K_S4.36 GiB4,685,775,6164.588ibm-granite
Q4_K_S4.36 GiB4,685,775,9044.588bartowski
Q4_K_S4.36 GiB4,685,776,0324.588unsloth
Q4_K_M4.60 GiB4,942,873,3444.840ibm-granite
Q4_K_M4.60 GiB4,942,873,6324.840bartowski
Q4_K_M4.60 GiB4,942,873,7604.840unsloth
Q4_K_L4.65 GiB4,991,639,3604.887bartowski
Q4_14.80 GiB5,148,984,0645.041ibm-granite
Q4_14.80 GiB5,148,984,3525.041bartowski
Q4_14.80 GiB5,148,984,4805.041unsloth
Q5_05.26 GiB5,647,057,6645.529ibm-granite

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,159
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does granite-3.3-8b-instruct need?
Q4_K_M is exactly 4,942,873,344 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.3-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.3-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.