aifeifei798 · text · mixture of experts

LFM2.5-Queen-Opus-4.7-8B-A1B

aifeifei798/LFM2.5-Queen-Opus-4.7-8B-A1B

LFM2.5-Queen-Opus-4.7-8B-A1B at I1-IQ1_S is exactly 1,820,815,648 bytes (1.70 GiB / 1.82 GB) — an effective 1.720 bits per weight, not the nominal 1. Its KV cache at 32K is 0.38 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
8.5B
total, not active
Architecture
lfm2moe
24 layers
Context
128,000
native (config.json)
License
other

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S1.70 GiB1,820,815,6481.720mradermacher
I1-IQ1_M1.87 GiB2,008,920,3521.898mradermacher
I1-IQ2_XXS2.16 GiB2,322,428,1922.194mradermacher
I1-IQ2_XS2.40 GiB2,574,020,8962.432mradermacher
I1-IQ2_S2.41 GiB2,592,469,2802.449mradermacher
I1-IQ2_M2.65 GiB2,843,275,5522.686mradermacher
I1-Q2_K_S2.75 GiB2,956,259,6162.793mradermacher
I1-Q2_K2.97 GiB3,190,436,1283.014mradermacher
I1-IQ3_XXS3.11 GiB3,334,910,2403.151mradermacher
I1-IQ3_XS3.31 GiB3,555,422,4963.359mradermacher
I1-IQ3_S3.50 GiB3,755,077,9203.548mradermacher
I1-Q3_K_S3.50 GiB3,755,077,9203.548mradermacher
I1-IQ3_M3.52 GiB3,778,752,8003.570mradermacher
I1-Q3_K_M3.83 GiB4,108,398,8803.881mradermacher
I1-Q3_K_L4.13 GiB4,436,865,3124.192mradermacher
I1-IQ4_XS4.27 GiB4,588,302,6244.335mradermacher
I1-IQ4_NL4.51 GiB4,844,679,4564.577mradermacher
I1-Q4_04.52 GiB4,853,854,4964.586mradermacher
I1-Q4_K_S4.53 GiB4,863,553,8244.595mradermacher
I1-Q4_K_M4.80 GiB5,155,565,8564.871mradermacher
I1-Q4_14.99 GiB5,357,433,1205.061mradermacher
I1-Q5_K_S5.47 GiB5,870,186,7845.546mradermacher
I1-Q5_K_M5.62 GiB6,030,340,3845.697mradermacher
I1-Q6_K6.48 GiB6,959,788,3206.575mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.05 GiB0.19 GiB4.00×6 / 0 / 18
8,1920.09 GiB0.38 GiB4.00×6 / 0 / 18
16,3840.19 GiB0.75 GiB4.00×6 / 0 / 18
32,7680.38 GiB1.50 GiB4.00×6 / 0 / 18
65,5360.75 GiB3.00 GiB4.00×6 / 0 / 18
131,0721.50 GiB6.00 GiB4.00×6 / 0 / 18

18 of 24 layers use linear attention, which keeps a fixed-size recurrent state instead of a per-token cache. Those layers do not grow with context at all — treating them as ordinary attention, as a flat formula does, overstates this model's cache by roughly 4.0× at long context.

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 4.44 GiB. The real file is 1.70 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
24
Attention heads
32
KV heads
8
Head dim
64
Hidden size
2048
Vocab
128,000
Sliding window
none
SWA period
MLA
no
Experts
32
Experts per token
4
use_sliding_window

Questions people ask

How much VRAM does LFM2.5-Queen-Opus-4.7-8B-A1B need?
I1-IQ1_S is exactly 1,820,815,648 bytes (1.70 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is LFM2.5-Queen-Opus-4.7-8B-A1B's KV cache?
0.38 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.
Is LFM2.5-Queen-Opus-4.7-8B-A1B a mixture-of-experts model?
Yes — 32 experts, 4 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of LFM2.5-Queen-Opus-4.7-8B-A1B 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.