MaziyarPanahi · text

calme-2.4-llama3-70b

MaziyarPanahi/calme-2.4-llama3-70b

calme-2.4-llama3-70b at Q4_K_M is exactly 42,520,405,440 bytes (39.60 GiB / 42.52 GB) — an effective 4.821 bits per weight, not the nominal 4. Its KV cache at 32K is 10.00 GiB.

From the file· summed from 6 file(s)From the file· KV per layer
Parameters
70.6B
Architecture
llama
80 layers
Context
8,192
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S6 shards14.29 GiB15,343,491,5841.740MaziyarPanahi
IQ1_M6 shards15.60 GiB16,751,204,8641.899MaziyarPanahi
Q2_K6 shards24.56 GiB26,375,118,4002.991MaziyarPanahi
Q3_K_S6 shards28.79 GiB30,912,061,8243.505MaziyarPanahi
Q3_K_M6 shards31.91 GiB34,267,505,0243.886MaziyarPanahi
Q3_K_L6 shards34.59 GiB37,140,603,2644.211MaziyarPanahi
IQ4_XS6 shards35.30 GiB37,902,673,0884.298MaziyarPanahi
Q4_K_S6 shards37.58 GiB40,347,231,6804.575MaziyarPanahi
Q4_K_M6 shards39.60 GiB42,520,405,4404.821MaziyarPanahi
Q5_K_S6 shards45.32 GiB48,657,459,6485.517MaziyarPanahi
Q5_K_M6 shards46.52 GiB49,949,829,5685.664MaziyarPanahi
Q6_K6 shards53.91 GiB57,888,157,1846.564MaziyarPanahi
Q8_06 shards69.83 GiB74,975,067,5208.501MaziyarPanahi

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0961.25 GiB1.25 GiB80 / 0 / 0
8,1922.50 GiB2.50 GiB80 / 0 / 0
16,3845.00 GiB5.00 GiB80 / 0 / 0
32,76810.00 GiB10.00 GiB80 / 0 / 0
65,53620.00 GiB20.00 GiB80 / 0 / 0
131,07240.00 GiB40.00 GiB80 / 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 36.96 GiB. The real file is 39.60 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

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

Questions people ask

How much VRAM does calme-2.4-llama3-70b need?
Q4_K_M is exactly 42,520,405,440 bytes (39.60 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is calme-2.4-llama3-70b's KV cache?
10.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 calme-2.4-llama3-70b 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.