BSC-LT · text

ALIA-40b-fc-2606

BSC-LT/ALIA-40b-fc-2606

ALIA-40b-fc-2606 at Q4_K_M is exactly 24,591,543,264 bytes (22.90 GiB / 24.59 GB) — an effective 4.865 bits per weight, not the nominal 4. Its KV cache at 32K is 6.00 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S9.06 GiB9,727,061,2161.925mradermacher
I1-IQ1_M9.74 GiB10,463,161,5682.070mradermacher
I1-IQ2_XXS10.89 GiB11,689,995,4882.313mradermacher
I1-IQ2_XS11.89 GiB12,772,125,9202.527mradermacher
I1-IQ2_S12.63 GiB13,560,786,1442.683mradermacher
I1-IQ2_M13.54 GiB14,542,253,2802.877mradermacher
I1-Q2_K_S13.68 GiB14,686,432,4802.906mradermacher
Q2_K14.63 GiB15,711,939,5523.109mradermacher
I1-Q2_K14.63 GiB15,711,939,8083.109mradermacher
I1-IQ3_XXS15.11 GiB16,222,072,0323.210mradermacher
I1-IQ3_XS16.21 GiB17,406,569,6963.444mradermacher
Q3_K_S16.95 GiB18,202,438,6243.601mradermacher
I1-Q3_K_S16.95 GiB18,202,438,8803.601mradermacher
I1-IQ3_S17.00 GiB18,255,916,2563.612mradermacher
I1-IQ3_M17.55 GiB18,844,167,3923.728mradermacher
Q3_K_M18.67 GiB20,044,786,6563.966mradermacher
I1-Q3_K_M18.67 GiB20,044,786,9123.966mradermacher
Q3_K_L20.14 GiB21,628,136,4164.279mradermacher
I1-Q3_K_L20.14 GiB21,628,136,6724.279mradermacher
I1-IQ4_XS20.64 GiB22,158,847,2004.384mradermacher
IQ4_XS20.81 GiB22,347,590,6244.422mradermacher
I1-Q4_021.76 GiB23,369,428,1924.624mradermacher
Q4_K_S21.84 GiB23,449,119,7124.639mradermacher
I1-Q4_K_S21.84 GiB23,449,119,9684.639mradermacher
Q4_K_M22.90 GiB24,591,543,2644.865mradermacher
I1-Q4_K_M22.90 GiB24,591,543,5204.865mradermacher
I1-Q4_123.93 GiB25,689,926,8805.083mradermacher
Q5_K_S26.16 GiB28,085,922,7845.557mradermacher
I1-Q5_K_S26.16 GiB28,085,923,0405.557mradermacher
Q5_K_M26.78 GiB28,754,389,9845.689mradermacher
I1-Q5_K_M26.78 GiB28,754,390,2405.689mradermacher
Q6_K30.90 GiB33,177,414,6246.564mradermacher
I1-Q6_K30.90 GiB33,177,414,8806.564mradermacher
Q8_040.02 GiB42,969,803,7448.502mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.75 GiB0.75 GiB48 / 0 / 0
8,1921.50 GiB1.50 GiB48 / 0 / 0
16,3843.00 GiB3.00 GiB48 / 0 / 0
32,7686.00 GiB6.00 GiB48 / 0 / 0
65,53612.00 GiB12.00 GiB48 / 0 / 0
131,07224.00 GiB24.00 GiB48 / 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 21.18 GiB. The real file is 22.90 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

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

Questions people ask

How much VRAM does ALIA-40b-fc-2606 need?
Q4_K_M is exactly 24,591,543,264 bytes (22.90 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is ALIA-40b-fc-2606's KV cache?
6.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 ALIA-40b-fc-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.