sambanovasystems · text

SambaLingo-Japanese-Chat

sambanovasystems/SambaLingo-Japanese-Chat

SambaLingo-Japanese-Chat at I1-IQ1_S is exactly 1,634,648,288 bytes (1.52 GiB / 1.63 GB) — an effective 1.883 bits per weight, not the nominal 1. Its KV cache at 32K is 16.00 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S1.52 GiB1,634,648,2881.883mradermacher
I1-IQ1_M1.64 GiB1,757,036,7682.024mradermacher
I1-IQ2_XXS1.83 GiB1,961,017,5682.259mradermacher
I1-IQ2_XS1.99 GiB2,140,979,4242.466mradermacher
I1-IQ2_S2.15 GiB2,313,175,2642.664mradermacher
I1-Q2_K_S2.27 GiB2,439,397,6002.809mradermacher
I1-IQ2_M2.31 GiB2,476,359,9042.852mradermacher
I1-Q2_K2.47 GiB2,652,717,2803.055mradermacher
I1-IQ3_XXS2.52 GiB2,702,000,3523.112mradermacher
I1-IQ3_XS2.73 GiB2,926,919,9043.371mradermacher
I1-Q3_K_S2.87 GiB3,078,701,2803.546mradermacher
I1-IQ3_S2.87 GiB3,078,701,2803.546mradermacher
I1-IQ3_M3.02 GiB3,245,261,0243.738mradermacher
I1-Q3_K_M3.19 GiB3,428,401,3763.949mradermacher
I1-Q3_K_L3.47 GiB3,727,507,6804.293mradermacher
I1-IQ4_XS3.50 GiB3,760,275,6804.331mradermacher
I1-Q4_03.71 GiB3,981,263,0724.585mradermacher
I1-Q4_K_S3.73 GiB4,000,923,8724.608mradermacher
I1-Q4_K_M3.94 GiB4,225,188,0644.866mradermacher
I1-Q5_K_S4.48 GiB4,808,851,6805.538mradermacher
I1-Q5_K_M4.60 GiB4,940,316,8965.690mradermacher
I1-Q6_K5.31 GiB5,700,141,2806.565mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0962.00 GiB2.00 GiB32 / 0 / 0
8,1924.00 GiB4.00 GiB32 / 0 / 0
16,3848.00 GiB8.00 GiB32 / 0 / 0
32,76816.00 GiB16.00 GiB32 / 0 / 0
65,53632.00 GiB32.00 GiB32 / 0 / 0
131,07264.00 GiB64.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.64 GiB. The real file is 1.52 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
32
Head dim
128
Hidden size
4096
Vocab
57,344
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does SambaLingo-Japanese-Chat need?
I1-IQ1_S is exactly 1,634,648,288 bytes (1.52 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is SambaLingo-Japanese-Chat's KV cache?
16.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 SambaLingo-Japanese-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.