Nabbers1999 · text

gemma-3-27b-it-abliterated-refined-vision

Nabbers1999/gemma-3-27b-it-abliterated-refined-vision

gemma-3-27b-it-abliterated-refined-vision at Q4_K_M is exactly 16,546,689,504 bytes (15.41 GiB / 16.55 GB) — an effective 4.825 bits per weight, not the nominal 4. Its KV cache at 32K is 3.11 GiB, not the 15.50 GiB a flat formula predicts.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
27.4B
Architecture
gemma3
62 layers
Context
131,072
native (config.json)
License
gemma

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S5.83 GiB6,264,248,4481.827mradermacher
I1-IQ1_M6.33 GiB6,797,246,5921.982mradermacher
I1-IQ2_XXS7.16 GiB7,685,576,8322.241mradermacher
I1-IQ2_XS7.86 GiB8,438,904,9602.461mradermacher
I1-IQ2_S8.18 GiB8,782,409,8562.561mradermacher
I1-IQ2_M8.84 GiB9,493,074,0482.768mradermacher
I1-Q2_K_S9.09 GiB9,757,446,9122.845mradermacher
Q2_K9.78 GiB10,503,721,4403.063mradermacher
I1-Q2_K9.78 GiB10,503,721,7283.063mradermacher
I1-IQ3_XXS9.98 GiB10,716,479,6163.125mradermacher
I1-IQ3_XS10.77 GiB11,562,234,6243.372mradermacher
Q3_K_S11.33 GiB12,167,614,9443.548mradermacher
I1-IQ3_S11.33 GiB12,167,615,2323.548mradermacher
I1-Q3_K_S11.33 GiB12,167,615,2323.548mradermacher
I1-IQ3_M11.69 GiB12,547,074,8163.659mradermacher
Q3_K_M12.51 GiB13,437,641,1843.919mradermacher
I1-Q3_K_M12.51 GiB13,437,641,4723.919mradermacher
Q3_K_L13.54 GiB14,543,462,8804.241mradermacher
I1-Q3_K_L13.54 GiB14,543,463,1684.241mradermacher
I1-IQ4_XS13.75 GiB14,767,448,8324.307mradermacher
IQ4_XS13.87 GiB14,893,892,0644.343mradermacher
I1-Q4_014.55 GiB15,617,975,0404.555mradermacher
Q4_K_S14.60 GiB15,674,057,1844.571mradermacher
I1-Q4_K_S14.60 GiB15,674,057,4724.571mradermacher
Q4_K_M15.41 GiB16,546,689,5044.825mradermacher
I1-Q4_K_M15.41 GiB16,546,689,7924.825mradermacher
I1-Q4_115.99 GiB17,167,295,2325.006mradermacher
Q5_K_S17.48 GiB18,767,192,5445.473mradermacher
I1-Q5_K_S17.48 GiB18,767,192,8325.473mradermacher
Q5_K_M17.95 GiB19,271,676,3845.620mradermacher
I1-Q5_K_M17.95 GiB19,271,676,6725.620mradermacher
Q6_K20.64 GiB22,166,974,9446.465mradermacher
I1-Q6_K20.64 GiB22,166,975,2326.465mradermacher
Q8_026.74 GiB28,707,972,9608.372mradermacher

KV cache by context

computed per layer — this model uses sliding-window attention
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.92 GiB1.94 GiB2.10×10 / 52 / 0
8,1921.23 GiB3.88 GiB3.14×10 / 52 / 0
16,3841.86 GiB7.75 GiB4.17×10 / 52 / 0
32,7683.11 GiB15.50 GiB4.98×10 / 52 / 0
65,5365.61 GiB31.00 GiB5.53×10 / 52 / 0
131,07210.61 GiB62.00 GiB5.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

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 14.37 GiB. The real file is 15.41 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

from config.json
Layers
62
Attention heads
32
KV heads
16
Head dim
128
Hidden size
5376
Vocab
262,208
Sliding window
1024
SWA period
6
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does gemma-3-27b-it-abliterated-refined-vision need?
Q4_K_M is exactly 16,546,689,504 bytes (15.41 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is gemma-3-27b-it-abliterated-refined-vision'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 gemma-3-27b-it-abliterated-refined-vision 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.