win10 · text · mixture of experts

Huihui-GLM-4.7-Flash-abliterated-57B

win10/Huihui-GLM-4.7-Flash-abliterated-57B

Huihui-GLM-4.7-Flash-abliterated-57B at Q4_K_M is exactly 33,687,658,720 bytes (31.37 GiB / 33.69 GB) — an effective 4.700 bits per weight, not the nominal 4. Its KV cache at 32K is 4.18 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
57.3B
total, not active
Architecture
deepseek2
63 layers
Context
202,752
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S10.79 GiB11,583,659,9041.616mradermacher
I1-IQ1_M11.93 GiB12,808,813,0561.787mradermacher
I1-IQ2_XXS13.83 GiB14,850,734,9762.072mradermacher
I1-IQ2_XS15.38 GiB16,512,657,7922.304mradermacher
I1-IQ2_S15.62 GiB16,775,182,2082.340mradermacher
I1-IQ2_M17.14 GiB18,408,719,7442.568mradermacher
I1-Q2_K_S17.75 GiB19,054,504,1922.658mradermacher
Q2_K19.11 GiB20,515,433,4402.862mradermacher
I1-Q2_K19.11 GiB20,515,433,7282.862mradermacher
I1-IQ3_XXS20.15 GiB21,634,027,9043.018mradermacher
I1-IQ3_XS21.34 GiB22,918,853,7603.197mradermacher
Q3_K_S22.52 GiB24,184,025,9523.374mradermacher
I1-Q3_K_S22.52 GiB24,184,026,2403.374mradermacher
I1-IQ3_S22.52 GiB24,184,026,2403.374mradermacher
I1-IQ3_M22.85 GiB24,535,023,7443.423mradermacher
Q3_K_M24.87 GiB26,702,307,1683.725mradermacher
I1-Q3_K_M24.87 GiB26,702,307,4563.725mradermacher
Q3_K_L26.94 GiB28,924,469,0884.035mradermacher
I1-Q3_K_L26.94 GiB28,924,469,3764.035mradermacher
I1-IQ4_XS27.68 GiB29,720,066,0484.146mradermacher
I1-IQ4_XS27.68 GiB29,720,066,0484.146KryptykAngel
IQ4_XS27.93 GiB29,991,077,6004.184mradermacher
I1-Q4_029.37 GiB31,531,867,6484.399mradermacher
Q4_K_S29.54 GiB31,717,686,4964.425mradermacher
I1-Q4_K_S29.54 GiB31,717,686,7844.425mradermacher
Q4_K_M31.37 GiB33,687,658,7204.700mradermacher
I1-Q4_K_M31.37 GiB33,687,659,0084.700mradermacher
I1-Q4_132.47 GiB34,868,963,8404.865mradermacher
Q5_K_S35.72 GiB38,353,171,6805.351mradermacher
I1-Q5_K_S35.72 GiB38,353,171,9685.351mradermacher
Q5_K_M36.77 GiB39,479,695,5845.508mradermacher
I1-Q5_K_M36.77 GiB39,479,695,8725.508mradermacher
I1-Q5_K_M36.77 GiB39,479,695,8725.508KryptykAngel
Q6_K42.64 GiB45,786,144,3526.388mradermacher
I1-Q6_K42.64 GiB45,786,144,6406.388mradermacher
Q8_055.03 GiB59,093,098,2088.244mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.52 GiB4.92 GiB9.41×63 / 0 / 0
8,1921.05 GiB9.84 GiB9.41×63 / 0 / 0
16,3842.09 GiB19.69 GiB9.41×63 / 0 / 0
32,7684.18 GiB39.38 GiB9.41×63 / 0 / 0
65,5368.37 GiB78.75 GiB9.41×63 / 0 / 0
131,07216.73 GiB157.50 GiB9.41×63 / 0 / 0

This model uses multi-head latent attention. No V cache is allocated at all, and the K cache stores a 1024-wide latent plus 64 rope dimensions — so reading num_key_value_heads from config.json and multiplying, as every calculator does, overstates the cache by well over an order of magnitude.

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 30.04 GiB. The real file is 31.37 GiB, because a quantization is a mixture and some tensors are always kept at higher precision. The larger discrepancy is the cache: this model allocates no value cache at all, so any formula reading num_key_value_heads overstates it by more than an order of magnitude.

Architecture

from config.json
Layers
63
Attention heads
20
KV heads
20
Head dim
256
Hidden size
2816
Vocab
154,880
Sliding window
none
SWA period
MLA
yes
Experts
64
Experts per token
4
use_sliding_window

Questions people ask

How much VRAM does Huihui-GLM-4.7-Flash-abliterated-57B need?
Q4_K_M is exactly 33,687,658,720 bytes (31.37 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-GLM-4.7-Flash-abliterated-57B's KV cache?
4.18 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.
Is Huihui-GLM-4.7-Flash-abliterated-57B a mixture-of-experts model?
Yes — 64 experts, 4 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of Huihui-GLM-4.7-Flash-abliterated-57B 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.