huihui-ai · text

Qwen2.5-Coder-1.5B-Instruct-abliterated

huihui-ai/Qwen2.5-Coder-1.5B-Instruct-abliterated

Qwen2.5-Coder-1.5B-Instruct-abliterated at Q4_K_M is exactly 1,117,321,696 bytes (1.04 GiB / 1.12 GB) — an effective 5.030 bits per weight, not the nominal 4. Its KV cache at 32K is 0.88 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
1.8B
Architecture
qwen2
28 layers
Context
32,768
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_M0.65 GiB701,332,9603.157bartowski
Q2_K0.70 GiB752,881,1203.389bartowski
Q2_K0.70 GiB752,881,2803.389mradermacher
IQ3_XS0.77 GiB831,977,4403.745bartowski
IQ3_XS0.77 GiB831,977,6003.745mradermacher
Q3_K_S0.80 GiB861,222,8803.877bartowski
Q3_K_S0.80 GiB861,223,0403.877mradermacher
IQ3_S0.80 GiB862,685,3123.884mradermacher
IQ3_M0.82 GiB876,942,3043.948bartowski
IQ3_M0.82 GiB876,942,4643.948mradermacher
Q3_K_M0.86 GiB924,456,9284.162bartowski
Q3_K_M0.86 GiB924,457,0884.162mradermacher
Q3_K_L0.91 GiB980,441,0564.414bartowski
Q3_K_L0.91 GiB980,441,2164.414mradermacher
Q2_K_L0.91 GiB980,785,1204.415bartowski
IQ4_XS0.95 GiB1,019,711,9684.590bartowski
IQ4_XS0.96 GiB1,026,163,3284.620mradermacher
Q4_01.00 GiB1,068,808,6724.811bartowski
Q4_K_S1.00 GiB1,071,585,7604.824bartowski
Q4_K_S1.00 GiB1,071,585,9204.824mradermacher
Q4_K_M1.04 GiB1,117,321,6965.030bartowski
Q4_K_M1.04 GiB1,117,321,8565.030mradermacher
Q5_K_S1.17 GiB1,259,174,3685.668bartowski
Q5_K_S1.17 GiB1,259,174,5285.668mradermacher
Q5_K_M1.20 GiB1,285,495,2645.787bartowski
Q5_K_M1.20 GiB1,285,495,4245.787mradermacher
Q4_K_L1.20 GiB1,290,528,7365.810bartowski
Q5_K_L1.33 GiB1,429,530,5926.435bartowski
Q6_K1.36 GiB1,464,179,6806.591bartowski
Q6_K1.36 GiB1,464,179,8406.591mradermacher
Q6_K_L1.47 GiB1,577,220,0647.100bartowski
Q8_01.76 GiB1,894,533,0888.529bartowski
Q8_01.76 GiB1,894,533,2488.529mradermacher
F163.32 GiB3,560,416,92816.028bartowski
F163.32 GiB3,560,417,40816.028mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.11 GiB0.11 GiB28 / 0 / 0
8,1920.22 GiB0.22 GiB28 / 0 / 0
16,3840.44 GiB0.44 GiB28 / 0 / 0
32,7680.88 GiB0.88 GiB28 / 0 / 0
65,5361.75 GiB1.75 GiB28 / 0 / 0
131,0723.50 GiB3.50 GiB28 / 0 / 0

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 0.93 GiB. The real file is 1.04 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
28
Attention heads
12
KV heads
2
Head dim
128
Hidden size
1536
Vocab
151,936
Sliding window
131072
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

This model declares a sliding window but sets use_sliding_window: false, so the window is not applied. Honouring the field without the flag understates KV for the whole family.

Questions people ask

How much VRAM does Qwen2.5-Coder-1.5B-Instruct-abliterated need?
Q4_K_M is exactly 1,117,321,696 bytes (1.04 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Qwen2.5-Coder-1.5B-Instruct-abliterated's KV cache?
0.88 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 Qwen2.5-Coder-1.5B-Instruct-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.