mrcuddle · text

Mistral-Heretica-12B

mrcuddle/Mistral-Heretica-12B

Mistral-Heretica-12B at Q4_K_M is exactly 7,477,208,288 bytes (6.96 GiB / 7.48 GB) — an effective 4.884 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
12.2B
Architecture
llama
40 layers
Context
131,072
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S2.79 GiB2,999,216,0641.959mradermacher
I1-IQ1_M3.00 GiB3,221,628,8642.104mradermacher
I1-IQ2_XXS3.35 GiB3,592,316,8642.346mradermacher
I1-IQ2_XS3.65 GiB3,915,081,6642.557mradermacher
I1-IQ2_S3.85 GiB4,138,477,5042.703mradermacher
I1-IQ2_M4.13 GiB4,435,027,9042.897mradermacher
I1-Q2_K_S4.19 GiB4,493,682,6242.935mradermacher
Q2_K4.46 GiB4,791,051,9363.129mradermacher
I1-Q2_K4.46 GiB4,791,052,2243.129mradermacher
I1-IQ3_XXS4.61 GiB4,945,389,5043.230mradermacher
I1-IQ3_XS4.94 GiB5,306,492,8643.466mradermacher
Q3_K_S5.15 GiB5,534,230,1763.615mradermacher
I1-Q3_K_S5.15 GiB5,534,230,4643.615mradermacher
I1-IQ3_S5.18 GiB5,562,083,2643.633mradermacher
I1-IQ3_M5.33 GiB5,722,236,8643.738mradermacher
Q3_K_M5.67 GiB6,083,094,1763.973mradermacher
I1-Q3_K_M5.67 GiB6,083,094,4643.973mradermacher
Q3_K_L6.11 GiB6,561,506,9764.286mradermacher
I1-Q3_K_L6.11 GiB6,561,507,2644.286mradermacher
I1-IQ4_XS6.28 GiB6,742,714,3044.404mradermacher
IQ4_XS6.33 GiB6,800,058,0164.442mradermacher
I1-Q4_06.61 GiB7,094,642,6244.634mradermacher
I1-IQ4_NL6.61 GiB7,097,919,4244.636mradermacher
Q4_K_S6.63 GiB7,120,201,3764.651mradermacher
I1-Q4_K_S6.63 GiB7,120,201,6644.651mradermacher
Q4_K_M6.96 GiB7,477,208,2884.884AnkitAI
Q4_K_M6.96 GiB7,477,208,7364.884mradermacher
I1-Q4_K_M6.96 GiB7,477,209,0244.884mradermacher
I1-Q4_17.26 GiB7,795,222,4645.092mradermacher
Q5_K_S7.93 GiB8,518,739,6165.564mradermacher
I1-Q5_K_S7.93 GiB8,518,739,9045.564mradermacher
Q5_K_M8.13 GiB8,727,635,1685.701AnkitAI
Q5_K_M8.13 GiB8,727,635,6165.701mradermacher
I1-Q5_K_M8.13 GiB8,727,635,9045.701mradermacher
Q6_K9.37 GiB10,056,213,7286.569AnkitAI
Q6_K9.37 GiB10,056,214,1766.569mradermacher
I1-Q6_K9.37 GiB10,056,214,4646.569mradermacher
Q8_012.13 GiB13,022,373,0888.506AnkitAI
Q8_012.13 GiB13,022,373,5368.506mradermacher

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 6.42 GiB. The real file is 6.96 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 Mistral-Heretica-12B need?
Q4_K_M is exactly 7,477,208,288 bytes (6.96 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Mistral-Heretica-12B'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 Mistral-Heretica-12B 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.