syrian-gemma-12b
fahad1995/syrian-gemma-12bsyrian-gemma-12b at Q4_K_M is exactly 7,947,613,248 bytes (7.40 GiB / 7.95 GB) — an effective 4.904 bits per weight, not the nominal 4. 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.09 GiB | 3,313,993,024 | 2.045 | — | mradermacher |
| I1-IQ1_M | 3.29 GiB | 3,533,149,504 | 2.180 | — | mradermacher |
| I1-IQ2_XXS | 3.63 GiB | 3,898,410,304 | 2.405 | — | mradermacher |
| I1-IQ2_XS | 3.93 GiB | 4,218,144,064 | 2.603 | — | mradermacher |
| I1-IQ2_S | 4.20 GiB | 4,512,134,464 | 2.784 | — | mradermacher |
| I1-IQ2_M | 4.47 GiB | 4,804,343,104 | 2.964 | — | mradermacher |
| I1-Q2_K_S | 4.50 GiB | 4,834,448,704 | 2.983 | — | mradermacher |
| Q2_K | 4.81 GiB | 5,160,449,088 | 3.184 | — | mradermacher |
| I1-Q2_K | 4.81 GiB | 5,160,449,344 | 3.184 | — | mradermacher |
| I1-IQ3_XXS | 4.92 GiB | 5,281,731,904 | 3.259 | — | mradermacher |
| I1-IQ3_XS | 5.31 GiB | 5,704,930,624 | 3.520 | — | mradermacher |
| Q3_K_S | 5.55 GiB | 5,960,766,528 | 3.678 | — | mradermacher |
| I1-Q3_K_S | 5.55 GiB | 5,960,766,784 | 3.678 | — | mradermacher |
| I1-IQ3_S | 5.55 GiB | 5,960,766,784 | 3.678 | — | mradermacher |
| I1-IQ3_M | 5.74 GiB | 6,166,529,344 | 3.805 | — | mradermacher |
| Q3_K_M | 6.07 GiB | 6,519,624,768 | 4.022 | — | mradermacher |
| I1-Q3_K_M | 6.07 GiB | 6,519,625,024 | 4.022 | — | mradermacher |
| Q3_K_L | 6.52 GiB | 6,998,856,768 | 4.318 | — | mradermacher |
| I1-Q3_K_L | 6.52 GiB | 6,998,857,024 | 4.318 | — | mradermacher |
| I1-IQ4_XS | 6.68 GiB | 7,170,028,864 | 4.424 | — | mradermacher |
| IQ4_XS | 6.73 GiB | 7,225,324,608 | 4.458 | — | mradermacher |
| I1-IQ4_NL | 7.02 GiB | 7,542,109,504 | 4.653 | — | mradermacher |
| I1-Q4_0 | 7.04 GiB | 7,564,227,904 | 4.667 | — | mradermacher |
| Q4_K_S | 7.07 GiB | 7,590,278,208 | 4.683 | — | mradermacher |
| I1-Q4_K_S | 7.07 GiB | 7,590,278,464 | 4.683 | — | mradermacher |
| Q4_K_M | 7.40 GiB | 7,947,613,248 | 4.904 | — | mradermacher |
| I1-Q4_K_M | 7.40 GiB | 7,947,613,504 | 4.904 | — | mradermacher |
| I1-Q4_1 | 7.72 GiB | 8,286,270,784 | 5.112 | — | mradermacher |
| Q5_K_S | 8.41 GiB | 9,030,431,808 | 5.572 | — | mradermacher |
| I1-Q5_K_S | 8.41 GiB | 9,030,432,064 | 5.572 | — | mradermacher |
| Q5_K_M | 8.60 GiB | 9,239,327,808 | 5.700 | — | mradermacher |
| I1-Q5_K_M | 8.60 GiB | 9,239,328,064 | 5.700 | — | mradermacher |
| Q6_K | 9.88 GiB | 10,611,774,528 | 6.547 | — | mradermacher |
| I1-Q6_K | 9.88 GiB | 10,611,774,784 | 6.547 | — | mradermacher |
| Q8_0 | 12.80 GiB | 13,739,193,408 | 8.477 | — | 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 . 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 Q4_K_M at roughly 6.79 GiB. The real file is 7.40 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 syrian-gemma-12b need?
- Q4_K_M is exactly 7,947,613,248 bytes (7.40 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
- How large is syrian-gemma-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 syrian-gemma-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.