mlabonne · text

Meta-Llama-3.1-8B-Instruct-abliterated

mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated

Meta-Llama-3.1-8B-Instruct-abliterated at Q4_K_M is exactly 4,920,734,720 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
llama3.1

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S1.88 GiB2,019,628,3842.012legraphista
I1-IQ1_S1.88 GiB2,019,628,4802.012mradermacher
IQ1_M2.01 GiB2,161,972,5762.154legraphista
I1-IQ1_M2.01 GiB2,161,972,6722.154mradermacher
IQ2_XXS2.23 GiB2,399,212,8962.390legraphista
I1-IQ2_XXS2.23 GiB2,399,212,9922.390mradermacher
IQ2_XS2.43 GiB2,605,782,3682.596legraphista
I1-IQ2_XS2.43 GiB2,605,782,4642.596mradermacher
IQ2_S2.57 GiB2,758,489,4402.748legraphista
I1-IQ2_S2.57 GiB2,758,489,5362.748mradermacher
IQ2_M2.75 GiB2,948,281,3442.937bartowski
IQ2_M2.75 GiB2,948,281,6962.937legraphista
I1-IQ2_M2.75 GiB2,948,281,7922.937mradermacher
Q2_K_S2.78 GiB2,988,815,7122.978legraphista
Q2_K2.96 GiB3,179,131,9043.167bartowski
Q2_K2.96 GiB3,179,132,2563.167legraphista
I1-Q2_K2.96 GiB3,179,132,3523.167mradermacher
IQ3_XXS3.05 GiB3,274,913,1203.263legraphista
I1-IQ3_XXS3.05 GiB3,274,913,2163.263mradermacher
IQ3_XS3.28 GiB3,518,747,6483.506bartowski
IQ3_XS3.28 GiB3,518,748,0003.506legraphista
I1-IQ3_XS3.28 GiB3,518,748,0963.506mradermacher
Q3_K_S3.41 GiB3,664,499,7123.651bartowski
Q3_K_S3.41 GiB3,664,500,0643.651legraphista
I1-Q3_K_S3.41 GiB3,664,500,1603.651mradermacher
IQ3_S3.43 GiB3,682,325,8563.668legraphista
I1-IQ3_S3.43 GiB3,682,325,9523.668mradermacher
Q2_K_L3.44 GiB3,692,155,9043.678bartowski
IQ3_M3.52 GiB3,784,823,8083.771bartowski
IQ3_M3.52 GiB3,784,824,1603.771legraphista
I1-IQ3_M3.52 GiB3,784,824,2563.771mradermacher
Q3_K_M3.74 GiB4,018,918,4004.004bartowski
Q3_K3.74 GiB4,018,918,7524.004legraphista
I1-Q3_K_M3.74 GiB4,018,918,8484.004mradermacher
Q3_K_L4.03 GiB4,321,956,8644.306bartowski
Q3_K_L4.03 GiB4,321,957,2164.306legraphista
I1-Q3_K_L4.03 GiB4,321,957,3124.306mradermacher
IQ4_XS4.14 GiB4,447,663,1044.431bartowski
IQ4_XS4.14 GiB4,447,663,4564.431legraphista
I1-IQ4_XS4.14 GiB4,447,663,5524.431mradermacher

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,256
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Meta-Llama-3.1-8B-Instruct-abliterated need?
Q4_K_M is exactly 4,920,734,720 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 Meta-Llama-3.1-8B-Instruct-abliterated'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 Meta-Llama-3.1-8B-Instruct-abliterated 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.