e12ex2 · text

Foundation-Sec-8B-Instruct-heretic

e12ex2/Foundation-Sec-8B-Instruct-heretic

Foundation-Sec-8B-Instruct-heretic at Q4_K_M is exactly 4,921,465,952 bytes (4.58 GiB / 4.92 GB) — an effective 4.902 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
8.0B
Architecture
llama
32 layers
Context
131,072
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S1.88 GiB2,020,167,0722.012mradermacher
I1-IQ1_M2.01 GiB2,162,511,2642.154mradermacher
I1-IQ2_XXS2.23 GiB2,399,751,5842.390mradermacher
I1-IQ2_XS2.43 GiB2,606,321,0562.596mradermacher
I1-IQ2_S2.57 GiB2,759,081,3762.748mradermacher
I1-IQ2_M2.75 GiB2,948,873,6322.937mradermacher
I1-Q2_K_S2.78 GiB2,989,424,0322.978mradermacher
Q2_K2.96 GiB3,179,740,2563.167mradermacher
I1-Q2_K2.96 GiB3,179,740,5763.167mradermacher
I1-IQ3_XXS3.05 GiB3,275,505,0563.263mradermacher
I1-IQ3_XS3.28 GiB3,519,409,5683.506mradermacher
Q3_K_S3.41 GiB3,665,161,3123.651mradermacher
I1-Q3_K_S3.41 GiB3,665,161,6323.651mradermacher
I1-IQ3_S3.43 GiB3,682,987,4243.669mradermacher
I1-IQ3_M3.53 GiB3,785,485,7283.771mradermacher
Q3_K_M3.74 GiB4,019,580,0004.004mradermacher
I1-Q3_K_M3.74 GiB4,019,580,3204.004mradermacher
Q3_K_L4.03 GiB4,322,618,4644.306mradermacher
I1-Q3_K_L4.03 GiB4,322,618,7844.306mradermacher
I1-IQ4_XS4.14 GiB4,448,378,2724.431mradermacher
IQ4_XS4.18 GiB4,485,078,1124.468mradermacher
I1-Q4_04.36 GiB4,676,623,7764.658mradermacher
I1-IQ4_NL4.36 GiB4,678,720,9284.660mradermacher
Q4_K_S4.37 GiB4,693,400,6724.675mradermacher
I1-Q4_K_S4.37 GiB4,693,400,9924.675mradermacher
Q4_K_M4.58 GiB4,921,465,9524.902mradermacher
I1-Q4_K_M4.58 GiB4,921,466,2724.902mradermacher
I1-Q4_14.78 GiB5,131,017,6325.111mradermacher
Q5_K_S5.22 GiB5,600,091,2325.578mradermacher
I1-Q5_K_S5.22 GiB5,600,091,5525.578mradermacher
Q5_K_M5.34 GiB5,733,784,6725.711mradermacher
I1-Q5_K_M5.34 GiB5,733,784,9925.711mradermacher
Q6_K6.14 GiB6,596,873,3126.571mradermacher
I1-Q6_K6.14 GiB6,596,873,6326.571mradermacher
Q8_07.96 GiB8,541,891,6808.509mradermacher
F1614.97 GiB16,070,995,04016.008mradermacher

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.21 GiB. The real file is 4.58 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
128,384
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Foundation-Sec-8B-Instruct-heretic need?
Q4_K_M is exactly 4,921,465,952 bytes (4.58 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Foundation-Sec-8B-Instruct-heretic'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 Foundation-Sec-8B-Instruct-heretic 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.