Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Liquid AI · Architecture map

LFM2.5 MoE (24B-A2B and 8B-A1B)

Three of every four layers are a gated short convolution with a fixed-size state, not attention, and the feed-forward blocks are sparse experts.

LFM2.5-24B-A2B, October 2026 (LFM2.5-8B-A1B, May 2026) · LFM release timeline

Inside LFM2.5 MoE (24B-A2B and 8B-A1B)

Size
Parameters
24B · 2.45B active
Layers
40
Width
2,048
Mixer
Hybrid
Select a component to explore it. Layer colours match the execution-order strip.
The complete LFM2.5 MoE (24B-A2B and 8B-A1B) architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention. Attention layers store keys and values for 8 heads of size 64 per token. The 30 convolution layers keep only a fixed-size buffer for their width-3 convolution, which does not grow with context. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup128,0002,048Input token vectorsCL2,048Execution order · 40 layersLayer 1: Convolution layers 1 and 2Layer 2: Convolution layers 1 and 2Layer 3: Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39Layer 4: Convolution layers (the other 28)Layer 5: Convolution layers (the other 28)Layer 6: Convolution layers (the other 28)Layer 7: Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39Layer 8: Convolution layers (the other 28)Layer 9: Convolution layers (the other 28)Layer 10: Convolution layers (the other 28)Layer 11: Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39Layer 12: Convolution layers (the other 28)Layer 13: Convolution layers (the other 28)Layer 14: Convolution layers (the other 28)Layer 15: Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39Layer 16: Convolution layers (the other 28)Layer 17: Convolution layers (the other 28)Layer 18: Convolution layers (the other 28)Layer 19: Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39Layer 20: Convolution layers (the other 28)Layer 21: Convolution layers (the other 28)Layer 22: Convolution layers (the other 28)Layer 23: Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39Layer 24: Convolution layers (the other 28)Layer 25: Convolution layers (the other 28)Layer 26: Convolution layers (the other 28)Layer 27: Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39Layer 28: Convolution layers (the other 28)Layer 29: Convolution layers (the other 28)Layer 30: Convolution layers (the other 28)Layer 31: Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39Layer 32: Convolution layers (the other 28)Layer 33: Convolution layers (the other 28)Layer 34: Convolution layers (the other 28)Layer 35: Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39Layer 36: Convolution layers (the other 28)Layer 37: Convolution layers (the other 28)Layer 38: Convolution layers (the other 28)Layer 39: Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39Layer 40: Convolution layers (the other 28)Convolution layers 1 and 2 · matches this colour in the execution-order barConvolution layers 1 and 2Convolution layers 1 and 2 · 2 repetitions2 layers · one layer shown2RMSNorm before this operation.RMSNormGated short conv: A gated short convolution, then a dense SwiGLU feed-forward network (hidden size 11776).Gated short convAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormSwiGLU: A gated short convolution, then a dense SwiGLU feed-forward network (hidden size 11776).SwiGLUAdd the branch output to the original stream. +Layer type · execution order aboveConvolution layers (the other 28) · matches this colour in the execution-order barConvolution layers (the other 28)Convolution layers (the other 28) · 28 repetitions28 layers · one layer shown28RMSNorm before this operation.RMSNormGated short conv: A gated short convolution, then 64 routed experts (size 1536), 4 chosen per token. No shared expert.Gated short convAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: A gated short convolution, then 64 routed experts (size 1536), 4 chosen per token. No shared expert.MoE4 of 64 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts.Add the branch output to the original stream. +4 of 64 expertsLayer type · execution order aboveAttention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39 · matches this colour in the execution-order barAttention layers 3, 7, 11, 15, 19, …Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39 · 10 repetitions10 layers · one layer shown10RMSNorm before this operation.RMSNormSoftmax attention: Grouped-query attention, then the same expert block.Softmax attentionRotate query and key position components before attention scores; values are unchanged. Grouped-query attention, then the same expert block.RoPENormalise queries and keys before attention scores. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.QK-normAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: Grouped-query attention, then the same expert block.MoE4 of 64 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts.Add the branch output to the original stream. +4 of 64 expertsLayer type · execution order aboveAfter all 40 layer executionsResidual streamLast columnCL2,048Final RMSNormReuses the embedding table, transposed.Tied output weights2,048128,000Vocabulary scoresSoftmax128,000Next-token probabilities
Inside grouped-query attention · Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39
4 query heads per group × 8 K/V groups.

Earlier context dimmed · current token bright · dashed regions contain cached entries.

LFM2.5 MoE (24B-A2B and 8B-A1B): Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39 · grouped-query attention10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention. Attention layers store keys and values for 8 heads of size 64 per token. The 30 convolution layers keep only a fixed-size buffer for their width-3 convolution, which does not grow with context.8 KV groups; the front face shows one representative.8 KV groups4 heads / group; the front face shows one representative.4 heads / groupAttention input. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,048CLWq. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.Wq2,04864Wk. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.Wk2,04864Wv. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.Wv2,04864RMSNorm. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.RMSNormRoPE. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.RoPERMSNorm. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.RMSNormRoPE. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.RoPEK cache. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache64CLV cache. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache64CLQ context. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.Earlier context is dimmed; outlined columns are current.Current token computation.Q context64CLScaled query–key scores, masking and softmax. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.CLCL×. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.×Joined heads. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.32Wo. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.Wo2,0482,048Attention output. 10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,048CL
Model-specific details
Convolution layers 1 and 2 · 2 repetitions
A gated short convolution, then a dense SwiGLU feed-forward network (hidden size 11776).
Convolution layers (the other 28) · 28 repetitions
A gated short convolution, then 64 routed experts (size 1536), 4 chosen per token. No shared expert.
Attention layers 3, 7, 11, 15, 19, 23, 27, 31, 35 and 39 · 10 repetitions
Grouped-query attention, then the same expert block.
Attention and positions
10 of 40 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 30 layers are gated short convolutions, not attention.
Memory
Attention layers store keys and values for 8 heads of size 64 per token. The 30 convolution layers keep only a fixed-size buffer for their width-3 convolution, which does not grow with context.

What changes between sizes

The first two layers are dense. Later layers have no shared expert. Attention applies QK-norm and RoPE; embeddings are tied.

The 24B card specifies 131,072 tokens; the 8B card specifies 128,000. The dense LFM2.5 checkpoints have a separate page.

How it scores

AA Intelligence Index

Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.

Checkpoint / sizeResultEvaluation
LFM2.5-8B-A1B8B-A1B7AA Index 4.3.2Published checkpoint
AA Index distributionBest checkpoint per model variant among 97 scored variants in this atlas. LFM2.5-8B-A1B scores 7; its bin is highlighted. Known estimates are excluded.Model variants0.0–3.0: 0 variants3.0–6.0: 15 variants6.0–9.0: 21 variants9.0–12.0: 13 variants12.0–15.0: 9 variants15.0–18.0: 5 variants18.0–21.0: 5 variants21.0–24.0: 6 variants24.0–27.0: 4 variants27.0–30.0: 2 variants30.0–33.0: 2 variants33.0–36.0: 2 variants36.0–39.0: 2 variants39.0–42.0: 3 variants42.0–45.0: 4 variants45.0–48.0: 3 variants48.0–51.0: 0 variants51.0–54.0: 0 variants54.0–57.0: 1 variants57.0–60.0: 0 variants21003060AA Index 4.3.2 →
LFM2.5-8B-A1B: 7. Distribution of 97 scored variants in this atlas, using each variant’s best checkpoint. Known estimates excluded.

Explore the components

Sources for this map