timhoek · text

Qwen2.5-Coder-1.5B-Unsensored-DPO

timhoek/Qwen2.5-Coder-1.5B-Unsensored-DPO

Qwen2.5-Coder-1.5B-Unsensored-DPO at I1-IQ1_S is exactly 436,528,000 bytes (0.41 GiB / 0.44 GB) — an effective 2.262 bits per weight, not the nominal 1. 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.5B
Architecture
qwen2
28 layers
Context
32,768
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S0.41 GiB436,528,0002.262mradermacher
I1-IQ1_S0.41 GiB436,528,0002.262Olak17
I1-IQ1_M0.43 GiB464,461,6962.407Olak17
I1-IQ1_M0.43 GiB464,461,6962.407mradermacher
I1-IQ2_XXS0.48 GiB511,017,8562.648mradermacher
I1-IQ2_XXS0.48 GiB511,017,8562.648Olak17
I1-IQ2_XS0.51 GiB550,327,1682.852Olak17
I1-IQ2_XS0.51 GiB550,327,1682.852mradermacher
I1-IQ2_S0.53 GiB563,810,1762.922mradermacher
I1-IQ2_S0.53 GiB563,810,1762.922Olak17
I1-IQ2_M0.56 GiB601,055,1043.115mradermacher
I1-IQ2_M0.56 GiB601,055,1043.115Olak17
I1-Q2_K_S0.60 GiB640,135,5523.317Olak17
I1-Q2_K_S0.60 GiB640,135,5523.317mradermacher
I1-IQ3_XXS0.62 GiB668,792,7043.466mradermacher
I1-IQ3_XXS0.62 GiB668,792,7043.466Olak17
I1-Q2_K0.63 GiB676,305,2803.505mradermacher
I1-Q2_K0.63 GiB676,305,2803.505Olak17
I1-IQ3_XS0.68 GiB731,699,5843.792Olak17
I1-IQ3_XS0.68 GiB731,699,5843.792mradermacher
I1-Q3_K_S0.71 GiB760,945,0243.943mradermacher
I1-Q3_K_S0.71 GiB760,945,0243.943Olak17
I1-IQ3_S0.71 GiB762,407,2963.951Olak17
I1-IQ3_S0.71 GiB762,407,2963.951mradermacher
I1-IQ3_M0.72 GiB776,664,4484.025Olak17
I1-IQ3_M0.72 GiB776,664,4484.025mradermacher
I1-Q3_K_M0.77 GiB824,179,0724.271mradermacher
I1-Q3_K_M0.77 GiB824,179,0724.271Olak17
I1-Q3_K_L0.82 GiB880,163,2004.561Olak17
I1-Q3_K_L0.82 GiB880,163,2004.561mradermacher
I1-IQ4_XS0.83 GiB895,732,0964.642mradermacher
I1-IQ4_XS0.83 GiB895,732,0964.642Olak17
I1-IQ4_NL0.87 GiB936,331,6484.852Olak17
I1-IQ4_NL0.87 GiB936,331,6484.852mradermacher
I1-Q4_00.87 GiB937,535,8724.859Olak17
I1-Q4_00.87 GiB937,535,8724.859mradermacher
I1-Q4_K_S0.88 GiB940,312,9604.873Olak17
I1-Q4_K_S0.88 GiB940,312,9604.873mradermacher
I1-Q4_K_M0.92 GiB986,048,8965.110mradermacher
I1-Q4_K_M0.92 GiB986,048,8965.110Olak17

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 I1-IQ1_S at roughly 0.81 GiB. The real file is 0.41 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
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

Questions people ask

How much VRAM does Qwen2.5-Coder-1.5B-Unsensored-DPO need?
I1-IQ1_S is exactly 436,528,000 bytes (0.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 Qwen2.5-Coder-1.5B-Unsensored-DPO'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-Unsensored-DPO 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.