TobiasLogic · text

Qwen2.5-Coder-32B-Python-Specialist

TobiasLogic/Qwen2.5-Coder-32B-Python-Specialist

Qwen2.5-Coder-32B-Python-Specialist at Q4_K_M is exactly 19,851,336,608 bytes (18.49 GiB / 19.85 GB) — an effective 4.847 bits per weight, not the nominal 4. Its KV cache at 32K is 8.00 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S6.77 GiB7,274,507,4561.776mradermacher
I1-IQ1_M7.39 GiB7,932,161,2161.937mradermacher
I1-IQ2_XXS8.41 GiB9,028,250,8162.204mradermacher
I1-IQ2_XS9.27 GiB9,957,551,2962.431mradermacher
I1-IQ2_S9.67 GiB10,387,569,8562.536mradermacher
I1-IQ2_M10.49 GiB11,264,441,5362.751mradermacher
I1-Q2_K_S10.70 GiB11,488,001,2162.805mradermacher
Q2_K11.47 GiB12,313,099,1683.006mradermacher
I1-Q2_K11.47 GiB12,313,099,4563.006mradermacher
I1-IQ3_XXS11.96 GiB12,839,271,6163.135mradermacher
I1-IQ3_XS12.76 GiB13,705,514,1763.346mradermacher
Q3_K_S13.40 GiB14,392,331,1683.514mradermacher
I1-Q3_K_S13.40 GiB14,392,331,4563.514mradermacher
I1-IQ3_S13.45 GiB14,436,895,9363.525mradermacher
I1-IQ3_M13.79 GiB14,810,123,4563.616mradermacher
Q3_K_M14.84 GiB15,935,048,6083.891mradermacher
I1-Q3_K_M14.84 GiB15,935,048,8963.891mradermacher
Q3_K_L16.06 GiB17,247,079,3284.211mradermacher
I1-Q3_K_L16.06 GiB17,247,079,6164.211mradermacher
I1-IQ4_XS16.48 GiB17,693,154,4964.320mradermacher
IQ4_XS16.64 GiB17,870,101,4084.363mradermacher
I1-Q4_017.43 GiB18,711,010,4964.569mradermacher
Q4_K_S17.49 GiB18,784,410,5284.587mradermacher
I1-Q4_K_S17.49 GiB18,784,410,8164.587mradermacher
Q4_K_M18.49 GiB19,851,336,6084.847mradermacher
I1-Q4_K_M18.49 GiB19,851,336,8964.847mradermacher
I1-Q4_119.22 GiB20,639,243,4565.040mradermacher
Q5_K_S21.08 GiB22,638,255,0085.528mradermacher
I1-Q5_K_S21.08 GiB22,638,255,2965.528mradermacher
Q5_K_M21.66 GiB23,262,157,7285.680mradermacher
I1-Q5_K_M21.66 GiB23,262,158,0165.680mradermacher
Q6_K25.04 GiB26,886,155,1686.565mradermacher
I1-Q6_K25.04 GiB26,886,155,4566.565mradermacher
Q8_032.43 GiB34,820,885,4088.502mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0961.00 GiB1.00 GiB64 / 0 / 0
8,1922.00 GiB2.00 GiB64 / 0 / 0
16,3844.00 GiB4.00 GiB64 / 0 / 0
32,7688.00 GiB8.00 GiB64 / 0 / 0
65,53616.00 GiB16.00 GiB64 / 0 / 0
131,07232.00 GiB32.00 GiB64 / 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 17.16 GiB. The real file is 18.49 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
64
Attention heads
40
KV heads
8
Head dim
128
Hidden size
5120
Vocab
152,064
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-32B-Python-Specialist need?
Q4_K_M is exactly 19,851,336,608 bytes (18.49 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-32B-Python-Specialist's KV cache?
8.00 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-32B-Python-Specialist 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.