WizardLMTeam · text

WizardCoder-Python-34B-V1.0

WizardLMTeam/WizardCoder-Python-34B-V1.0

WizardCoder-Python-34B-V1.0 at Q4_K_M is exactly 20,219,911,424 bytes (18.83 GiB / 20.22 GB) — an effective 4.794 bits per weight, not the nominal 4. Its KV cache at 32K is 6.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
33.7B
Architecture
llama
48 layers
Context
16,384
native (config.json)
License
llama2

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S6.75 GiB7,251,137,9841.719mradermacher
I1-IQ1_M7.38 GiB7,919,408,5761.877mradermacher
I1-IQ2_XXS8.41 GiB9,033,192,8962.142mradermacher
I1-IQ2_XS9.34 GiB10,024,883,6482.377mradermacher
I1-IQ2_S9.89 GiB10,614,397,1842.517mradermacher
I1-IQ2_M10.72 GiB11,505,424,6402.728mradermacher
Q2_K11.65 GiB12,505,700,6402.965mradermacher
I1-Q2_K11.65 GiB12,505,700,8642.965mradermacher
I1-IQ3_XXS12.12 GiB13,010,262,2723.084mradermacher
IQ3_XS12.93 GiB13,880,269,9203.291mradermacher
I1-IQ3_XS12.93 GiB13,880,270,1443.291mradermacher
Q2_K13.23 GiB14,210,684,2883.369TheBloke
Q3_K_S13.60 GiB14,605,359,2963.463TheBloke
Q3_K_S13.60 GiB14,605,360,2243.463mradermacher
I1-Q3_K_S13.60 GiB14,605,360,4483.463mradermacher
IQ3_S13.65 GiB14,658,837,6003.475mradermacher
I1-IQ3_S13.65 GiB14,658,837,8243.475mradermacher
IQ3_M14.18 GiB15,230,377,0563.611mradermacher
I1-IQ3_M14.18 GiB15,230,377,2803.611mradermacher
Q3_K_M15.17 GiB16,283,605,1843.861TheBloke
Q3_K_M15.19 GiB16,306,150,4963.866mradermacher
I1-Q3_K_M15.19 GiB16,306,150,7203.866mradermacher
Q3_K_L16.55 GiB17,771,534,5284.213TheBloke
Q3_K_L16.55 GiB17,771,535,4564.213mradermacher
I1-Q3_K_L16.55 GiB17,771,535,6804.213mradermacher
I1-IQ4_XS16.83 GiB18,068,693,1204.284mradermacher
IQ4_XS16.99 GiB18,237,775,7764.324mradermacher
Q4_017.74 GiB19,052,059,9044.517TheBloke
I1-Q4_017.81 GiB19,119,694,2084.533mradermacher
Q4_K_S17.83 GiB19,146,431,7444.539TheBloke
Q4_K_S17.87 GiB19,191,521,4404.550mradermacher
I1-Q4_K_S17.87 GiB19,191,521,6644.550mradermacher
Q4_K_M18.83 GiB20,219,911,4244.794TheBloke
Q4_K_M18.83 GiB20,219,912,3524.794mradermacher
I1-Q4_K_M18.83 GiB20,219,912,5764.794mradermacher
Q5_K_S21.64 GiB23,237,189,8885.509TheBloke
Q5_021.64 GiB23,237,189,8885.509TheBloke
Q5_K_S21.64 GiB23,237,190,8165.509mradermacher
I1-Q5_K_S21.64 GiB23,237,191,0405.509mradermacher
Q5_K_M22.20 GiB23,838,810,3685.652TheBloke

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.75 GiB0.75 GiB48 / 0 / 0
8,1921.50 GiB1.50 GiB48 / 0 / 0
16,3843.00 GiB3.00 GiB48 / 0 / 0
32,7686.00 GiB6.00 GiB48 / 0 / 0
65,53612.00 GiB12.00 GiB48 / 0 / 0
131,07224.00 GiB24.00 GiB48 / 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.68 GiB. The real file is 18.83 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
48
Attention heads
64
KV heads
8
Head dim
128
Hidden size
8192
Vocab
32,001
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does WizardCoder-Python-34B-V1.0 need?
Q4_K_M is exactly 20,219,911,424 bytes (18.83 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is WizardCoder-Python-34B-V1.0's KV cache?
6.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 WizardCoder-Python-34B-V1.0 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.