KoboldAI · text

GPT-NeoX-20B-Erebus

KoboldAI/GPT-NeoX-20B-Erebus

GPT-NeoX-20B-Erebus at I1-IQ1_S is exactly 4,427,521,984 bytes (4.12 GiB / 4.43 GB) — an effective 1.723 bits per weight, not the nominal 1. Its KV cache at 32K is 33.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
20.6B
Architecture
gptneox
44 layers
Context
2,048
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S4.12 GiB4,427,521,9841.723mradermacher
I1-IQ1_M4.51 GiB4,838,039,4881.883mradermacher
I1-IQ2_XXS5.14 GiB5,522,235,3282.149mradermacher
I1-IQ2_XS5.70 GiB6,121,496,5122.382mradermacher
I1-IQ2_S6.02 GiB6,463,213,5042.515mradermacher
I1-IQ2_M6.53 GiB7,010,570,1762.729mradermacher
I1-Q2_K_S6.60 GiB7,088,672,7042.759mradermacher
I1-Q2_K7.22 GiB7,755,173,8243.018mradermacher
I1-IQ3_XXS7.52 GiB8,069,894,0803.141mradermacher
I1-IQ3_XS8.13 GiB8,733,900,7363.399mradermacher
I1-Q3_K_S8.35 GiB8,967,471,0403.490mradermacher
I1-IQ3_S8.35 GiB8,967,471,0403.490mradermacher
I1-IQ3_M9.27 GiB9,950,117,8243.873mradermacher
I1-Q3_K_M10.03 GiB10,769,973,1844.192mradermacher
I1-IQ4_XS10.27 GiB11,023,216,5764.290mradermacher
I1-Q4_010.90 GiB11,702,939,5844.555mradermacher
I1-Q4_K_S10.94 GiB11,750,125,5044.573mradermacher
I1-Q3_K_L10.96 GiB11,770,314,6884.581mradermacher
I1-Q4_112.03 GiB12,920,827,8405.029mradermacher
I1-Q4_K_M12.23 GiB13,135,032,2565.112mradermacher
I1-Q5_K_S13.21 GiB14,185,902,0165.521mradermacher
I1-Q5_K_M14.24 GiB15,288,872,8965.951mradermacher
I1-Q6_K15.72 GiB16,874,184,6406.568mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0964.13 GiB4.13 GiB44 / 0 / 0
8,1928.25 GiB8.25 GiB44 / 0 / 0
16,38416.50 GiB16.50 GiB44 / 0 / 0
32,76833.00 GiB33.00 GiB44 / 0 / 0
65,53666.00 GiB66.00 GiB44 / 0 / 0
131,072132.00 GiB132.00 GiB44 / 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 I1-IQ1_S at roughly 10.77 GiB. The real file is 4.12 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
44
Attention heads
64
KV heads
64
Head dim
96
Hidden size
6144
Vocab
50,432
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does GPT-NeoX-20B-Erebus need?
I1-IQ1_S is exactly 4,427,521,984 bytes (4.12 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is GPT-NeoX-20B-Erebus's KV cache?
33.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 GPT-NeoX-20B-Erebus 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.