aifeifei798 · text

Darkidol-Ballad-4B

aifeifei798/Darkidol-Ballad-4B

Darkidol-Ballad-4B at I1-IQ1_S is exactly 1,174,422,656 bytes (1.09 GiB / 1.17 GB) — an effective 2.070 bits per weight, not the nominal 1. Its KV cache at 32K is 1.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
4.5B
Architecture
qwen35
32 layers
Context
262,144
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S1.09 GiB1,174,422,6562.070mradermacher
I1-IQ1_M1.17 GiB1,253,403,7762.209mradermacher
I1-IQ2_XXS1.29 GiB1,385,038,9762.441mradermacher
I1-IQ2_XS1.39 GiB1,492,968,5762.631mradermacher
I1-IQ2_S1.41 GiB1,514,349,6962.669mradermacher
I1-IQ2_M1.51 GiB1,619,657,8562.854mradermacher
I1-Q2_K_S1.62 GiB1,734,427,7763.057mradermacher
I1-Q2_K1.67 GiB1,797,506,1763.168mradermacher
I1-IQ3_XXS1.69 GiB1,814,054,0163.197mradermacher
I1-IQ3_XS1.87 GiB2,010,733,6963.544mradermacher
I1-Q3_K_S1.93 GiB2,069,879,9363.648mradermacher
I1-IQ3_S1.93 GiB2,072,665,2163.653mradermacher
I1-IQ3_M2.01 GiB2,163,186,8163.812mradermacher
I1-Q3_K_M2.10 GiB2,257,476,7363.979mradermacher
I1-Q3_K_L2.20 GiB2,358,402,1764.156mradermacher
I1-IQ4_XS2.27 GiB2,435,642,4964.293mradermacher
I1-IQ4_NL2.37 GiB2,546,521,2164.488mradermacher
I1-Q4_02.37 GiB2,549,798,0164.494mradermacher
I1-Q4_K_S2.38 GiB2,557,006,9764.506mradermacher
I1-Q4_K_M2.52 GiB2,707,514,4964.772mradermacher
I1-Q4_12.58 GiB2,766,967,9364.877mradermacher
I1-Q5_K_S2.78 GiB2,990,036,0965.270mradermacher
I1-Q5_K_M2.90 GiB3,108,758,6565.479mradermacher
I1-Q6_K3.23 GiB3,464,055,9366.105mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.13 GiB0.50 GiB4.00×8 / 0 / 24
8,1920.25 GiB1.00 GiB4.00×8 / 0 / 24
16,3840.50 GiB2.00 GiB4.00×8 / 0 / 24
32,7681.00 GiB4.00 GiB4.00×8 / 0 / 24
65,5362.00 GiB8.00 GiB4.00×8 / 0 / 24
131,0724.00 GiB16.00 GiB4.00×8 / 0 / 24

24 of 32 layers use linear attention, which keeps a fixed-size recurrent state instead of a per-token cache. Those layers do not grow with context at all — treating them as ordinary attention, as a flat formula does, overstates this model's cache by roughly 4.0× at long context.

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

Architecture

from config.json
Layers
32
Attention heads
16
KV heads
4
Head dim
256
Hidden size
2560
Vocab
248,320
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Darkidol-Ballad-4B need?
I1-IQ1_S is exactly 1,174,422,656 bytes (1.09 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Darkidol-Ballad-4B's KV cache?
1.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 Darkidol-Ballad-4B 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.