01-ai · text

Yi-6B-Chat

01-ai/Yi-6B-Chat

Yi-6B-Chat at I1-IQ1_S is exactly 1,432,293,792 bytes (1.33 GiB / 1.43 GB) — an effective 1.891 bits per weight, not the nominal 1. Its KV cache at 32K is 2.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
6.1B
Architecture
llama
32 layers
Context
4,096
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S1.33 GiB1,432,293,7921.891mradermacher
I1-IQ1_M1.44 GiB1,543,672,2242.038mradermacher
I1-IQ2_XXS1.61 GiB1,729,302,9442.283mradermacher
I1-IQ2_XS1.76 GiB1,894,584,7362.501mradermacher
I1-IQ2_S1.88 GiB2,015,023,5202.660mradermacher
I1-IQ2_M2.01 GiB2,163,528,0962.856mradermacher
I1-Q2_K_S2.03 GiB2,178,273,9522.875mradermacher
I1-Q2_K2.18 GiB2,337,067,4243.085mradermacher
I1-IQ3_XXS2.25 GiB2,414,334,3683.187mradermacher
I1-IQ3_XS2.41 GiB2,588,348,8323.416mradermacher
I1-Q3_K_S2.52 GiB2,709,197,2163.576mradermacher
I1-IQ3_S2.53 GiB2,718,110,1123.588mradermacher
I1-IQ3_M2.62 GiB2,813,366,6883.713mradermacher
I1-Q3_K_M2.79 GiB2,992,837,0243.950mradermacher
I1-Q3_K_L3.01 GiB3,236,893,0884.272mradermacher
I1-IQ4_XS3.08 GiB3,308,605,8564.367mradermacher
I1-IQ4_NL3.25 GiB3,487,716,0004.604mradermacher
I1-Q4_03.25 GiB3,490,599,3284.607mradermacher
I1-Q4_K_S3.26 GiB3,502,920,0964.623mradermacher
I1-Q4_K_M3.42 GiB3,673,969,0564.849mradermacher
I1-Q4_13.58 GiB3,841,741,4725.071mradermacher
I1-Q5_K_S3.92 GiB4,204,155,2965.549mradermacher
I1-Q5_K_M4.01 GiB4,304,425,3765.681mradermacher
I1-Q6_K4.63 GiB4,974,285,2166.566mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.25 GiB0.25 GiB32 / 0 / 0
8,1920.50 GiB0.50 GiB32 / 0 / 0
16,3841.00 GiB1.00 GiB32 / 0 / 0
32,7682.00 GiB2.00 GiB32 / 0 / 0
65,5364.00 GiB4.00 GiB32 / 0 / 0
131,0728.00 GiB8.00 GiB32 / 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 I1-IQ1_S at roughly 3.18 GiB. The real file is 1.33 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

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

Questions people ask

How much VRAM does Yi-6B-Chat need?
I1-IQ1_S is exactly 1,432,293,792 bytes (1.33 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Yi-6B-Chat's KV cache?
2.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 Yi-6B-Chat 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.