AfriqueGemma-12B
McGill-NLP/AfriqueGemma-12BAfriqueGemma-12B at I1-IQ1_S is exactly 3,277,796,736 bytes (3.05 GiB / 3.28 GB) — an effective 2.152 bits per weight, not the nominal 1. Its KV cache at 32K is 2.47 GiB, not the 12.00 GiB a flat formula predicts.
Shipped quantizations
| Quant | Size● | Exact bytes● | Effective bpw● | Tensors● | Publisher |
|---|---|---|---|---|---|
| I1-IQ1_S | 3.05 GiB | 3,277,796,736 | 2.152 | — | mradermacher |
| I1-IQ1_M | 3.26 GiB | 3,495,110,016 | 2.294 | — | mradermacher |
| I1-IQ2_XXS | 3.59 GiB | 3,857,298,816 | 2.532 | — | mradermacher |
| I1-IQ2_XS | 3.88 GiB | 4,170,642,816 | 2.738 | — | mradermacher |
| I1-IQ2_S | 4.15 GiB | 4,453,353,216 | 2.923 | — | mradermacher |
| I1-IQ2_M | 4.42 GiB | 4,743,104,256 | 3.114 | — | mradermacher |
| I1-Q2_K_S | 4.45 GiB | 4,778,992,896 | 3.137 | — | mradermacher |
| I1-Q2_K | 4.75 GiB | 5,098,603,776 | 3.347 | — | mradermacher |
| I1-IQ3_XXS | 4.86 GiB | 5,217,543,936 | 3.425 | — | mradermacher |
| I1-IQ3_XS | 5.25 GiB | 5,638,809,216 | 3.701 | — | mradermacher |
| I1-Q3_K_S | 5.49 GiB | 5,890,958,976 | 3.867 | — | mradermacher |
| I1-IQ3_S | 5.49 GiB | 5,890,958,976 | 3.867 | — | mradermacher |
| I1-IQ3_M | 5.67 GiB | 6,088,365,696 | 3.997 | — | mradermacher |
| I1-Q3_K_M | 6.00 GiB | 6,441,461,376 | 4.228 | — | mradermacher |
| I1-Q3_K_L | 6.44 GiB | 6,912,829,056 | 4.538 | — | mradermacher |
| I1-IQ4_XS | 6.60 GiB | 7,085,869,056 | 4.651 | — | mradermacher |
| I1-IQ4_NL | 6.94 GiB | 7,453,533,696 | 4.893 | — | mradermacher |
| I1-Q4_0 | 6.96 GiB | 7,475,652,096 | 4.907 | — | mradermacher |
| I1-Q4_K_S | 6.99 GiB | 7,501,702,656 | 4.924 | — | mradermacher |
| I1-Q4_K_M | 7.33 GiB | 7,867,147,776 | 5.164 | — | mradermacher |
| I1-Q4_1 | 7.63 GiB | 8,188,862,976 | 5.375 | — | mradermacher |
| I1-Q5_K_S | 8.31 GiB | 8,924,192,256 | 5.858 | — | mradermacher |
| I1-Q5_K_M | 8.51 GiB | 9,137,266,176 | 5.998 | — | mradermacher |
| I1-Q6_K | 9.77 GiB | 10,486,766,976 | 6.884 | — | mradermacher |
KV cache by context
| Context | KV cache (f16)● | Flat formula | Overstated by | Full / windowed / recurrent |
|---|---|---|---|---|
| 4,096 | 0.72 GiB | 1.50 GiB | 2.09× | 8 / 40 / 0 |
| 8,192 | 0.97 GiB | 3.00 GiB | 3.10× | 8 / 40 / 0 |
| 16,384 | 1.47 GiB | 6.00 GiB | 4.09× | 8 / 40 / 0 |
| 32,768 | 2.47 GiB | 12.00 GiB | 4.86× | 8 / 40 / 0 |
| 65,536 | 4.47 GiB | 24.00 GiB | 5.37× | 8 / 40 / 0 |
| 131,072 | 8.47 GiB | 48.00 GiB | 5.67× | 8 / 40 / 0 |
40 of 48 layers cache only a 1,024-token window rather than the full context, on a period of 6. Figures assume the default configuration; --swa-full disables the saving entirely.
Compare with
Will it run on your card?
Why other calculators give a different number
A parameters × bits ÷ 8 estimate puts I1-IQ1_S at roughly 6.38 GiB. The real file is 3.05 GiB, because a quantization is a mixture and some tensors are always kept at higher precision. The larger discrepancy is the cache: a flat formula gives 12.00 GiB at 32K context where the real figure is 2.47 GiB, because most of this model's layers cache a fixed window rather than the whole context.
Architecture
Questions people ask
- How much VRAM does AfriqueGemma-12B need?
- I1-IQ1_S is exactly 3,277,796,736 bytes (3.05 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
- How large is AfriqueGemma-12B's KV cache?
- 2.47 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 AfriqueGemma-12B 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.