Medgamma27B
Muhammadidrees/Medgamma27BMedgamma27B at I1-IQ1_S is exactly 6,264,009,952 bytes (5.83 GiB / 6.26 GB) — an effective 1.855 bits per weight, not the nominal 1. Its KV cache at 32K is 3.11 GiB, not the 15.50 GiB a flat formula predicts.
Shipped quantizations
| Quant | Size● | Exact bytes● | Effective bpw● | Tensors● | Publisher |
|---|---|---|---|---|---|
| I1-IQ1_S | 5.83 GiB | 6,264,009,952 | 1.855 | — | mradermacher |
| I1-IQ1_M | 6.33 GiB | 6,797,008,096 | 2.013 | — | mradermacher |
| I1-IQ2_XXS | 7.16 GiB | 7,685,338,336 | 2.276 | — | mradermacher |
| I1-IQ2_XS | 7.86 GiB | 8,438,666,464 | 2.499 | — | mradermacher |
| I1-IQ2_S | 8.18 GiB | 8,782,171,360 | 2.601 | — | mradermacher |
| I1-IQ2_M | 8.84 GiB | 9,492,835,552 | 2.812 | — | mradermacher |
| I1-Q2_K_S | 9.09 GiB | 9,757,162,720 | 2.890 | — | mradermacher |
| I1-Q2_K | 9.78 GiB | 10,503,437,536 | 3.111 | — | mradermacher |
| I1-IQ3_XXS | 9.98 GiB | 10,716,241,120 | 3.174 | — | mradermacher |
| I1-IQ3_XS | 10.77 GiB | 11,561,950,432 | 3.425 | — | mradermacher |
| I1-Q3_K_S | 11.33 GiB | 12,167,331,040 | 3.604 | — | mradermacher |
| I1-IQ3_S | 11.33 GiB | 12,167,331,040 | 3.604 | — | mradermacher |
| I1-IQ3_M | 11.69 GiB | 12,546,790,624 | 3.716 | — | mradermacher |
| I1-Q3_K_M | 12.51 GiB | 13,437,357,280 | 3.980 | — | mradermacher |
| I1-Q3_K_L | 13.54 GiB | 14,543,178,976 | 4.308 | — | mradermacher |
| I1-IQ4_XS | 13.75 GiB | 14,767,164,640 | 4.374 | — | mradermacher |
| I1-Q4_0 | 14.55 GiB | 15,617,690,848 | 4.626 | — | mradermacher |
| I1-Q4_K_S | 14.60 GiB | 15,673,773,280 | 4.643 | — | mradermacher |
| I1-Q4_K_M | 15.41 GiB | 16,546,405,600 | 4.901 | — | mradermacher |
| I1-Q4_1 | 15.99 GiB | 17,167,011,040 | 5.085 | — | mradermacher |
| I1-Q5_K_S | 17.48 GiB | 18,766,908,640 | 5.559 | — | mradermacher |
| I1-Q5_K_M | 17.95 GiB | 19,271,392,480 | 5.708 | — | mradermacher |
| I1-Q6_K | 20.64 GiB | 22,166,691,040 | 6.566 | — | mradermacher |
KV cache by context
| Context | KV cache (f16)● | Flat formula | Overstated by | Full / windowed / recurrent |
|---|---|---|---|---|
| 4,096 | 0.92 GiB | 1.94 GiB | 2.10× | 10 / 52 / 0 |
| 8,192 | 1.23 GiB | 3.88 GiB | 3.14× | 10 / 52 / 0 |
| 16,384 | 1.86 GiB | 7.75 GiB | 4.17× | 10 / 52 / 0 |
| 32,768 | 3.11 GiB | 15.50 GiB | 4.98× | 10 / 52 / 0 |
| 65,536 | 5.61 GiB | 31.00 GiB | 5.53× | 10 / 52 / 0 |
| 131,072 | 10.61 GiB | 62.00 GiB | 5.84× | 10 / 52 / 0 |
52 of 62 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 14.15 GiB. The real file is 5.83 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 15.50 GiB at 32K context where the real figure is 3.11 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 Medgamma27B need?
- I1-IQ1_S is exactly 6,264,009,952 bytes (5.83 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
- How large is Medgamma27B's KV cache?
- 3.11 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 Medgamma27B 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.