huihui-ai · text

Huihui-gemma-3n-E4B-it-abliterated

huihui-ai/Huihui-gemma-3n-E4B-it-abliterated

Huihui-gemma-3n-E4B-it-abliterated at Q4_K_M is exactly 4,237,064,192 bytes (3.95 GiB / 4.24 GB) — an effective 4.318 bits per weight, not the nominal 4. Its KV cache at 32K is 0.49 GiB, not the 2.19 GiB a flat formula predicts.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
7.8B
Architecture
gemma3n
35 layers
Context
32,768
native (config.json)
License
gemma

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K2.57 GiB2,757,318,6562.810bartowski
Q2_K2.57 GiB2,757,318,8162.810mradermacher
IQ3_XS2.95 GiB3,166,394,3683.227bartowski
Q3_K_S3.03 GiB3,251,910,6563.314bartowski
Q3_K_S3.03 GiB3,251,910,8163.314mradermacher
IQ3_M3.07 GiB3,294,107,6483.357bartowski
Q3_K_M3.20 GiB3,440,908,2883.507bartowski
Q3_K_M3.20 GiB3,440,908,4483.507mradermacher
Q3_K_L3.35 GiB3,601,995,7763.671bartowski
Q3_K_L3.35 GiB3,601,995,9363.671mradermacher
IQ4_XS3.63 GiB3,895,023,6163.970bartowski
IQ4_XS3.65 GiB3,915,995,2963.991mradermacher
IQ4_NL3.81 GiB4,089,993,2164.168bartowski
Q4_03.81 GiB4,093,794,3044.172bartowski
Q4_K_S3.82 GiB4,102,707,2004.181bartowski
Q4_K_S3.82 GiB4,102,707,3604.181mradermacher
Q4_K_M3.95 GiB4,237,064,1924.318bartowski
Q4_K_M3.95 GiB4,237,064,3524.318mradermacher
Q4_14.17 GiB4,477,638,6564.563bartowski
Q2_K_L4.30 GiB4,612,249,6004.700bartowski
Q5_K_S4.54 GiB4,869,871,6164.963bartowski
Q5_K_S4.54 GiB4,869,871,7764.963mradermacher
Q5_K_M4.61 GiB4,947,998,7205.043bartowski
Q5_K_M4.61 GiB4,947,998,8805.043mradermacher
Q4_K_L5.16 GiB5,541,492,7365.647bartowski
Q6_K5.31 GiB5,703,366,6565.812bartowski
Q6_K5.31 GiB5,703,366,8165.812mradermacher
Q5_K_L5.55 GiB5,958,825,9846.073bartowski
Q6_K_L5.96 GiB6,402,242,5606.525bartowski
Q8_06.85 GiB7,353,292,8007.494bartowski
Q8_06.85 GiB7,353,292,9607.494mradermacher
BF1612.80 GiB13,740,103,36014.003bartowski
F1612.80 GiB13,740,103,84014.003mradermacher

KV cache by context

computed per layer — this model uses sliding-window attention
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.11 GiB0.27 GiB2.50×7 / 28 / 0
8,1920.16 GiB0.55 GiB3.33×7 / 28 / 0
16,3840.27 GiB1.09 GiB4.00×7 / 28 / 0
32,7680.49 GiB2.19 GiB4.44×7 / 28 / 0
65,5360.93 GiB4.38 GiB4.71×7 / 28 / 0
131,0721.80 GiB8.75 GiB4.85×7 / 28 / 0

28 of 35 layers cache only a 512-token window rather than the full context, on a period of . 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 4.11 GiB. The real file is 3.95 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 2.19 GiB at 32K context where the real figure is 0.49 GiB, because most of this model's layers cache a fixed window rather than the whole context.

Architecture

from config.json
Layers
35
Attention heads
8
KV heads
2
Head dim
256
Hidden size
2048
Vocab
262,400
Sliding window
512
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Huihui-gemma-3n-E4B-it-abliterated need?
Q4_K_M is exactly 4,237,064,192 bytes (3.95 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Huihui-gemma-3n-E4B-it-abliterated's KV cache?
0.49 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 Huihui-gemma-3n-E4B-it-abliterated 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.