BSC-LT · text

salamandra-7b-instruct-2606

BSC-LT/salamandra-7b-instruct-2606

salamandra-7b-instruct-2606 at Q4_K_M is exactly 4,850,565,856 bytes (4.52 GiB / 4.85 GB) — an effective 4.995 bits per weight, not the nominal 4. Its KV cache at 32K is 4.00 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S2.13 GiB2,286,830,5922.355mradermacher
I1-IQ1_M2.23 GiB2,399,781,8882.471mradermacher
I1-IQ2_XXS2.41 GiB2,588,034,0482.665mradermacher
I1-IQ2_XS2.57 GiB2,755,412,9922.838mradermacher
I1-IQ2_S2.75 GiB2,955,723,7763.044mradermacher
I1-IQ2_M2.89 GiB3,106,325,5043.199mradermacher
I1-Q2_K_S2.93 GiB3,146,171,3923.240mradermacher
Q2_K3.08 GiB3,304,964,8323.404mradermacher
I1-Q2_K3.08 GiB3,304,965,1203.404mradermacher
I1-IQ3_XXS3.13 GiB3,357,131,7763.457mradermacher
I1-IQ3_XS3.39 GiB3,639,788,5443.748mradermacher
Q3_K_S3.50 GiB3,754,869,4723.867mradermacher
I1-Q3_K_S3.50 GiB3,754,869,7603.867mradermacher
I1-IQ3_S3.51 GiB3,772,695,5523.885mradermacher
I1-IQ3_M3.60 GiB3,867,952,1283.983mradermacher
Q3_K_M3.77 GiB4,047,946,4644.169mradermacher
I1-Q3_K_M3.77 GiB4,047,946,7524.169mradermacher
Q3_K_L4.00 GiB4,299,866,8484.428mradermacher
I1-Q3_K_L4.00 GiB4,299,867,1364.428mradermacher
I1-IQ4_XS4.15 GiB4,458,267,6484.591mradermacher
IQ4_XS4.18 GiB4,486,447,8404.620mradermacher
I1-Q4_04.34 GiB4,658,545,6644.798mradermacher
I1-IQ4_NL4.34 GiB4,664,050,6884.803mradermacher
Q4_K_S4.35 GiB4,671,914,7204.811mradermacher
I1-Q4_K_S4.35 GiB4,671,915,0084.811mradermacher
Q4_K_M4.52 GiB4,850,565,8564.995mradermacher
I1-Q4_K_M4.52 GiB4,850,566,1444.995mradermacher
I1-Q4_14.72 GiB5,067,228,1605.218mradermacher
Q5_K_S5.11 GiB5,487,182,5605.651mradermacher
I1-Q5_K_S5.11 GiB5,487,182,8485.651mradermacher
Q5_K_M5.21 GiB5,591,909,0885.759mradermacher
I1-Q5_K_M5.21 GiB5,591,909,3765.759mradermacher
Q6_K5.94 GiB6,379,586,2726.570mradermacher
I1-Q6_K5.94 GiB6,379,586,5606.570mradermacher
Q8_07.69 GiB8,260,862,6888.508mradermacher
F1614.48 GiB15,543,223,00816.007mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.50 GiB0.50 GiB32 / 0 / 0
8,1921.00 GiB1.00 GiB32 / 0 / 0
16,3842.00 GiB2.00 GiB32 / 0 / 0
32,7684.00 GiB4.00 GiB32 / 0 / 0
65,5368.00 GiB8.00 GiB32 / 0 / 0
131,07216.00 GiB16.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 Q4_K_M at roughly 4.07 GiB. The real file is 4.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
8
Head dim
128
Hidden size
4096
Vocab
256,000
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does salamandra-7b-instruct-2606 need?
Q4_K_M is exactly 4,850,565,856 bytes (4.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 salamandra-7b-instruct-2606's KV cache?
4.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 salamandra-7b-instruct-2606 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.