BAAI · text

Infinity-Instruct-7M-Gen-Llama3_1-70B

BAAI/Infinity-Instruct-7M-Gen-Llama3_1-70B

Infinity-Instruct-7M-Gen-Llama3_1-70B at Q4_K_M is exactly 42,520,393,856 bytes (39.60 GiB / 42.52 GB) — an effective 4.821 bits per weight, not the nominal 4. Its KV cache at 32K is 10.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
70.6B
Architecture
llama
80 layers
Context
8,192
native (config.json)
License
llama3.1

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S14.29 GiB15,343,483,4561.740mradermacher
I1-IQ1_M15.60 GiB16,751,196,7361.899mradermacher
I1-IQ2_XXS17.79 GiB19,097,385,5362.165mradermacher
I1-IQ2_XS19.69 GiB21,142,108,7362.397mradermacher
I1-IQ2_S20.71 GiB22,242,343,4882.522mradermacher
IQ2_M22.46 GiB24,119,294,0802.735bartowski
I1-IQ2_M22.46 GiB24,119,294,5282.735mradermacher
Q2_K24.56 GiB26,375,108,7362.991bartowski
Q2_K24.56 GiB26,375,108,8962.991mradermacher
I1-Q2_K24.56 GiB26,375,109,1842.991mradermacher
Q2_K_L25.52 GiB27,401,156,7363.107bartowski
I1-IQ3_XXS25.58 GiB27,469,494,8483.115mradermacher
IQ3_XS27.29 GiB29,307,730,0483.323bartowski
IQ3_XS27.29 GiB29,307,730,2083.323mradermacher
I1-IQ3_XS27.29 GiB29,307,730,4963.323mradermacher
Q3_K_S28.79 GiB30,912,051,3283.505bartowski
IQ3_S28.79 GiB30,912,051,4883.505mradermacher
Q3_K_S28.79 GiB30,912,051,4883.505mradermacher
I1-IQ3_S28.79 GiB30,912,051,7763.505mradermacher
I1-Q3_K_S28.79 GiB30,912,051,7763.505mradermacher
IQ3_M29.74 GiB31,937,034,3683.621bartowski
IQ3_M29.74 GiB31,937,034,5283.621mradermacher
I1-IQ3_M29.74 GiB31,937,034,8163.621mradermacher
Q3_K_M31.91 GiB34,267,494,5283.886bartowski
Q3_K_M31.91 GiB34,267,494,6883.886mradermacher
I1-Q3_K_M31.91 GiB34,267,494,9763.886mradermacher
Q3_K_L34.59 GiB37,140,592,7684.211bartowski
Q3_K_L34.59 GiB37,140,592,9284.211mradermacher
I1-Q3_K_L34.59 GiB37,140,593,2164.211mradermacher
IQ4_XS35.30 GiB37,902,661,7604.298bartowski
I1-IQ4_XS35.30 GiB37,902,662,2084.298mradermacher
IQ4_XS35.64 GiB38,269,663,5204.339mradermacher
I1-Q4_037.36 GiB40,116,533,8244.549mradermacher
Q4_K_S37.58 GiB40,347,220,0964.575bartowski
Q4_K_S37.58 GiB40,347,220,2564.575mradermacher
I1-Q4_K_S37.58 GiB40,347,220,5444.575mradermacher
Q4_K_M39.60 GiB42,520,393,8564.821bartowski
Q4_K_M39.60 GiB42,520,394,0164.821mradermacher
I1-Q4_K_M39.60 GiB42,520,394,3044.821mradermacher
Q4_K_L40.33 GiB43,300,190,3364.910bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0961.25 GiB1.25 GiB80 / 0 / 0
8,1922.50 GiB2.50 GiB80 / 0 / 0
16,3845.00 GiB5.00 GiB80 / 0 / 0
32,76810.00 GiB10.00 GiB80 / 0 / 0
65,53620.00 GiB20.00 GiB80 / 0 / 0
131,07240.00 GiB40.00 GiB80 / 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 36.96 GiB. The real file is 39.60 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
80
Attention heads
64
KV heads
8
Head dim
128
Hidden size
8192
Vocab
128,256
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Infinity-Instruct-7M-Gen-Llama3_1-70B need?
Q4_K_M is exactly 42,520,393,856 bytes (39.60 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Infinity-Instruct-7M-Gen-Llama3_1-70B's KV cache?
10.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 Infinity-Instruct-7M-Gen-Llama3_1-70B 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.