sesame · audio tts

csm-1b

sesame/csm-1b

csm-1b at Q4_K is exactly 1,435,926,432 bytes (1.34 GiB / 1.44 GB) — an effective 7.398 bits per weight, not the nominal 4. Its KV cache at 32K is 1.00 GiB.

From the file· summed from 1 file(s)From the file· KV from mirror (mirror:unsloth/csm-1b)
Parameters
1.6B
Architecture
csm
16 layers
Context
2,048
native (config.json)
License
cc

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q4_K1.34 GiB1,435,926,4327.398cstr
Q8_01.87 GiB2,006,354,84810.337cstr
F163.33 GiB3,574,186,46418.414cstr

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.13 GiB0.13 GiB16 / 0 / 0
8,1920.25 GiB0.25 GiB16 / 0 / 0
16,3840.50 GiB0.50 GiB16 / 0 / 0
32,7681.00 GiB1.00 GiB16 / 0 / 0
65,5362.00 GiB2.00 GiB16 / 0 / 0
131,0724.00 GiB4.00 GiB16 / 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 at roughly 0.81 GiB. The real file is 1.34 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from mirror:unsloth/csm-1b
Layers
16
Attention heads
32
KV heads
8
Head dim
64
Hidden size
2048
Vocab
2,051
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does csm-1b need?
Q4_K is exactly 1,435,926,432 bytes (1.34 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is csm-1b'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 csm-1b 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.