openGPT-X · text

Teuken-7B-instruct-research-v0.4

openGPT-X/Teuken-7B-instruct-research-v0.4

Teuken-7B-instruct-research-v0.4 at Q4_K_M is exactly 5,018,868,320 bytes (4.67 GiB / 5.02 GB) — an effective 5.387 bits per weight, not the nominal 4. Its KV cache at 32K is 1.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
7.5B
Architecture
llama
32 layers
Context
4,096
native (config.json)
License
other

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S2.48 GiB2,660,959,5202.856mradermacher
I1-IQ1_M2.57 GiB2,756,904,2242.959mradermacher
I1-IQ2_XXS2.72 GiB2,916,812,0643.131mradermacher
I1-IQ2_XS2.85 GiB3,061,515,5523.286mradermacher
I1-IQ2_S2.92 GiB3,137,013,0243.367mradermacher
IQ2_M3.04 GiB3,264,938,8483.505bartowski
I1-IQ2_M3.04 GiB3,264,939,2963.505mradermacher
Q2_K3.20 GiB3,433,290,3363.685bartowski
I1-Q2_K3.20 GiB3,433,290,7843.685mradermacher
I1-IQ3_XXS3.25 GiB3,485,140,2563.741mradermacher
Q2_K_L3.43 GiB3,681,964,8963.952bartowski
IQ3_XS3.44 GiB3,698,448,9923.970bartowski
I1-IQ3_XS3.44 GiB3,698,449,4403.970mradermacher
Q3_K_S3.58 GiB3,844,594,2724.127bartowski
I1-Q3_K_S3.58 GiB3,844,594,7204.127mradermacher
I1-IQ3_S3.58 GiB3,849,051,1684.132mradermacher
IQ3_M3.68 GiB3,947,879,0084.238bartowski
I1-IQ3_M3.68 GiB3,947,879,4564.238mradermacher
Q3_K_M3.86 GiB4,147,698,2724.452bartowski
I1-Q3_K_M3.86 GiB4,147,698,7204.452mradermacher
Q3_K_L4.03 GiB4,321,958,4964.639bartowski
I1-Q3_K_L4.03 GiB4,321,958,9444.639mradermacher
IQ4_XS4.03 GiB4,323,531,3604.641bartowski
I1-IQ4_XS4.03 GiB4,323,531,8084.641mradermacher
Q4_04.17 GiB4,477,803,1044.807bartowski
I1-Q4_04.17 GiB4,477,803,5524.807mradermacher
Q4_K_S4.38 GiB4,698,528,3525.044bartowski
I1-Q4_K_S4.38 GiB4,698,528,8005.044mradermacher
Q4_K_M4.67 GiB5,018,868,3205.387bartowski
I1-Q4_K_M4.67 GiB5,018,868,7685.387mradermacher
Q4_K_L4.91 GiB5,267,542,8805.654bartowski
Q5_K_S5.01 GiB5,377,350,2405.772bartowski
I1-Q5_K_S5.01 GiB5,377,350,6885.772mradermacher
Q5_K_M5.27 GiB5,654,829,6646.070bartowski
I1-Q5_K_M5.27 GiB5,654,830,1126.070mradermacher
Q5_K_L5.50 GiB5,903,504,2246.337bartowski
Q6_K6.10 GiB6,547,298,9127.028bartowski
I1-Q6_K6.10 GiB6,547,299,3607.028mradermacher
Q6_K_L6.33 GiB6,795,973,4727.295bartowski
Q8_07.38 GiB7,925,551,9688.508bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.13 GiB0.13 GiB32 / 0 / 0
8,1920.25 GiB0.25 GiB32 / 0 / 0
16,3840.50 GiB0.50 GiB32 / 0 / 0
32,7681.00 GiB1.00 GiB32 / 0 / 0
65,5362.00 GiB2.00 GiB32 / 0 / 0
131,0724.00 GiB4.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 3.90 GiB. The real file is 4.67 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
2
Head dim
128
Hidden size
4096
Vocab
250,680
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Teuken-7B-instruct-research-v0.4 need?
Q4_K_M is exactly 5,018,868,320 bytes (4.67 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Teuken-7B-instruct-research-v0.4's KV cache?
1.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 Teuken-7B-instruct-research-v0.4 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.