jukofyork · text

command-r-35b-writer-v2

jukofyork/command-r-35b-writer-v2

command-r-35b-writer-v2 at Q4_K_M is exactly 21,527,056,288 bytes (20.05 GiB / 21.53 GB) — an effective 4.923 bits per weight, not the nominal 4. Its KV cache at 32K is 40.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
35.0B
Architecture
command-r
40 layers
Context
8,192
native (config.json)
License
cc-by-nc-4.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S7.94 GiB8,523,403,4241.949mradermacher
I1-IQ1_M8.52 GiB9,146,650,7842.092mradermacher
I1-IQ2_XXS9.49 GiB10,185,396,3842.329mradermacher
I1-IQ2_XS10.34 GiB11,100,278,9442.539mradermacher
I1-IQ2_S11.03 GiB11,844,112,5442.709mradermacher
I1-IQ2_M11.80 GiB12,675,109,0242.899mradermacher
I1-Q2_K_S11.86 GiB12,738,678,9442.913mradermacher
Q2_K12.87 GiB13,817,401,2483.160mradermacher
I1-Q2_K12.87 GiB13,817,401,5043.160mradermacher
I1-IQ3_XXS12.88 GiB13,832,474,7843.163mradermacher
I1-IQ3_XS14.05 GiB15,091,421,3443.451mradermacher
Q3_K_S14.77 GiB15,862,124,4483.628mradermacher
I1-IQ3_S14.77 GiB15,862,124,7043.628mradermacher
I1-Q3_K_S14.77 GiB15,862,124,7043.628mradermacher
I1-IQ3_M15.55 GiB16,697,708,7043.819mradermacher
Q3_K_M16.41 GiB17,618,489,2484.029mradermacher
I1-Q3_K_M16.41 GiB17,618,489,5044.029mradermacher
Q3_K_L17.83 GiB19,149,410,2084.379mradermacher
I1-Q3_K_L17.83 GiB19,149,410,4644.379mradermacher
I1-IQ4_XS17.88 GiB19,201,839,2644.391mradermacher
IQ4_XS18.02 GiB19,346,018,2084.424mradermacher
I1-Q4_018.89 GiB20,287,115,4244.640mradermacher
Q4_K_S18.98 GiB20,378,341,2804.660mradermacher
I1-Q4_K_S18.98 GiB20,378,341,5364.660mradermacher
Q4_K_M20.05 GiB21,527,056,2884.923mradermacher
I1-Q4_K_M20.05 GiB21,527,056,5444.923mradermacher
I1-Q4_120.75 GiB22,284,652,7045.096mradermacher
Q5_K_S22.67 GiB24,339,861,4085.566mradermacher
I1-Q5_K_S22.67 GiB24,339,861,6645.566mradermacher
Q5_K_M23.29 GiB25,008,328,6085.719mradermacher
I1-Q5_K_M23.29 GiB25,008,328,8645.719mradermacher
Q6_K26.74 GiB28,707,180,4486.565mradermacher
I1-Q6_K26.74 GiB28,707,180,7046.565mradermacher
Q8_034.63 GiB37,179,019,1688.503mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0965.00 GiB5.00 GiB40 / 0 / 0
8,19210.00 GiB10.00 GiB40 / 0 / 0
16,38420.00 GiB20.00 GiB40 / 0 / 0
32,76840.00 GiB40.00 GiB40 / 0 / 0
65,53680.00 GiB80.00 GiB40 / 0 / 0
131,072160.00 GiB160.00 GiB40 / 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 18.33 GiB. The real file is 20.05 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

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

Questions people ask

How much VRAM does command-r-35b-writer-v2 need?
Q4_K_M is exactly 21,527,056,288 bytes (20.05 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is command-r-35b-writer-v2's KV cache?
40.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 command-r-35b-writer-v2 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.