Guilherme34 · text

Firefly-V3

Guilherme34/Firefly-V3

Firefly-V3 at Q4_K_M is exactly 2,019,374,816 bytes (1.88 GiB / 2.02 GB) — an effective 5.028 bits per weight, not the nominal 4. Its KV cache at 32K is 3.50 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
3.2B
Architecture
llama
28 layers
Context
131,072
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S0.81 GiB868,155,3282.162mradermacher
I1-IQ1_M0.86 GiB924,188,6082.301mradermacher
I1-IQ2_XXS0.95 GiB1,017,577,4082.534mradermacher
I1-IQ2_XS1.02 GiB1,100,545,9842.740mradermacher
I1-IQ2_S1.08 GiB1,154,318,2722.874mradermacher
I1-IQ2_M1.14 GiB1,229,029,3123.060mradermacher
I1-Q2_K_S1.19 GiB1,274,279,8723.173mradermacher
I1-IQ3_XXS1.26 GiB1,348,763,5843.358mradermacher
Q2_K1.27 GiB1,363,932,8963.396mradermacher
I1-Q2_K1.27 GiB1,363,933,1203.396mradermacher
I1-IQ3_XS1.38 GiB1,476,786,1123.677mradermacher
Q3_K_S1.44 GiB1,542,846,1763.842mradermacher
I1-Q3_K_S1.44 GiB1,542,846,4003.842mradermacher
I1-IQ3_S1.44 GiB1,542,846,4003.842mradermacher
I1-IQ3_M1.49 GiB1,599,666,1123.983mradermacher
Q3_K_M1.57 GiB1,687,156,4484.201mradermacher
I1-Q3_K_M1.57 GiB1,687,156,6724.201mradermacher
Q3_K_L1.69 GiB1,815,344,8644.520mradermacher
I1-Q3_K_L1.69 GiB1,815,345,0884.520mradermacher
I1-IQ4_XS1.70 GiB1,829,107,6484.555mradermacher
IQ4_XS1.71 GiB1,840,903,9044.584mradermacher
I1-IQ4_NL1.79 GiB1,917,188,0324.774mradermacher
I1-Q4_01.79 GiB1,921,906,6244.786mradermacher
Q4_K_S1.80 GiB1,928,197,8564.801mradermacher
I1-Q4_K_S1.80 GiB1,928,198,0804.801mradermacher
Q4_K_M1.88 GiB2,019,374,8165.028mradermacher
I1-Q4_K_M1.88 GiB2,019,375,0405.028mradermacher
I1-Q4_11.95 GiB2,093,348,8005.213mradermacher
Q5_K_S2.11 GiB2,269,509,3445.651mradermacher
I1-Q5_K_S2.11 GiB2,269,509,5685.651mradermacher
Q5_K_M2.16 GiB2,322,151,1365.782mradermacher
I1-Q5_K_M2.16 GiB2,322,151,3605.782mradermacher
Q6_K2.46 GiB2,643,850,9766.583mradermacher
I1-Q6_K2.46 GiB2,643,851,2006.583mradermacher
Q8_03.19 GiB3,421,896,4168.521mradermacher
F165.99 GiB6,433,685,21616.020mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.44 GiB0.44 GiB28 / 0 / 0
8,1920.88 GiB0.88 GiB28 / 0 / 0
16,3841.75 GiB1.75 GiB28 / 0 / 0
32,7683.50 GiB3.50 GiB28 / 0 / 0
65,5367.00 GiB7.00 GiB28 / 0 / 0
131,07214.00 GiB14.00 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 Q4_K_M at roughly 1.68 GiB. The real file is 1.88 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
28
Attention heads
24
KV heads
8
Head dim
128
Hidden size
3072
Vocab
128,256
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Firefly-V3 need?
Q4_K_M is exactly 2,019,374,816 bytes (1.88 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Firefly-V3's KV cache?
3.50 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 Firefly-V3 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.