LatitudeGames · text

Hearthfire-24B

LatitudeGames/Hearthfire-24B

Hearthfire-24B at Q4_K_M is exactly 14,333,907,968 bytes (13.35 GiB / 14.33 GB) — an effective 4.865 bits per weight, not the nominal 4. Its KV cache at 32K is 5.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
23.6B
Architecture
llama
40 layers
Context
131,072
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S4.91 GiB5,273,719,8081.790LatitudeGames
IQ1_M5.36 GiB5,750,494,2081.952LatitudeGames
IQ2_XXS6.10 GiB6,545,118,2082.221LatitudeGames
IQ2_XS6.71 GiB7,207,031,8082.446LatitudeGames
IQ2_XS6.71 GiB7,207,032,3522.446bartowski
IQ2_S6.96 GiB7,478,350,8482.538LatitudeGames
IQ2_S6.96 GiB7,478,351,3922.538bartowski
IQ2_M7.56 GiB8,114,050,0482.754LatitudeGames
IQ2_M7.56 GiB8,114,050,5922.754bartowski
Q2_K_S7.75 GiB8,320,160,7682.824LatitudeGames
Q2_K8.28 GiB8,890,323,9683.017LatitudeGames
Q2_K8.28 GiB8,890,324,5123.017bartowski
IQ3_XXS8.64 GiB9,280,590,8483.150LatitudeGames
IQ3_XXS8.64 GiB9,280,591,3923.150bartowski
Q2_K_L8.89 GiB9,545,684,5123.240bartowski
IQ3_XS9.23 GiB9,907,115,0083.362LatitudeGames
IQ3_XS9.23 GiB9,907,115,5523.362bartowski
Q3_K_S9.69 GiB10,400,273,4083.530LatitudeGames
Q3_K_S9.69 GiB10,400,273,9523.530bartowski
IQ3_S9.71 GiB10,428,126,2083.539LatitudeGames
IQ3_M9.92 GiB10,650,948,6083.615LatitudeGames
IQ3_M9.92 GiB10,650,949,1523.615bartowski
Q3_K_M10.69 GiB11,474,080,7683.894LatitudeGames
Q3_K_M10.69 GiB11,474,081,3123.894bartowski
Q3_K_L11.55 GiB12,400,759,8084.209LatitudeGames
Q3_K_L11.55 GiB12,400,760,3524.209bartowski
IQ4_XS11.88 GiB12,758,914,0484.330LatitudeGames
IQ4_XS11.88 GiB12,758,914,5924.330bartowski
IQ4_NL12.54 GiB13,468,013,5684.571LatitudeGames
IQ4_NL12.54 GiB13,468,014,1124.571bartowski
Q4_012.57 GiB13,494,228,5124.580bartowski
Q4_K_S12.62 GiB13,549,278,2084.598LatitudeGames
Q4_K_S12.62 GiB13,549,278,7524.598bartowski
Q4_K_M13.35 GiB14,333,907,9684.865LatitudeGames
Q4_K_M13.35 GiB14,333,908,5124.865bartowski
Q4_K_L13.81 GiB14,831,982,1125.034bartowski
Q4_113.85 GiB14,873,105,9525.048bartowski
Q5_K_S15.18 GiB16,304,411,6485.533LatitudeGames
Q5_K_S15.18 GiB16,304,412,1925.533bartowski
Q5_K_M15.61 GiB16,763,982,8485.689LatitudeGames

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.63 GiB0.63 GiB40 / 0 / 0
8,1921.25 GiB1.25 GiB40 / 0 / 0
16,3842.50 GiB2.50 GiB40 / 0 / 0
32,7685.00 GiB5.00 GiB40 / 0 / 0
65,53610.00 GiB10.00 GiB40 / 0 / 0
131,07220.00 GiB20.00 GiB40 / 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 12.35 GiB. The real file is 13.35 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
40
Attention heads
32
KV heads
8
Head dim
128
Hidden size
5120
Vocab
131,072
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Hearthfire-24B need?
Q4_K_M is exactly 14,333,907,968 bytes (13.35 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Hearthfire-24B's KV cache?
5.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 Hearthfire-24B 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.