Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Allen Institute for AI · Architecture map

Olmo Hybrid 7B

Olmo 3 7B with three of every four attention layers replaced by Gated DeltaNet layers, and no position encoding at all.

Olmo-Hybrid-7B base, March 2026 · OLMo release timeline

Inside Olmo Hybrid 7B

Parameters
7B
Layers
32
Width
3,840
Mixer
Hybrid
Select a component to explore it. Layer colours match the execution-order strip.
The complete Olmo Hybrid 7B architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192). Keys and values for 30 heads of size 128 in the 8 attention layers. The 24 Gated DeltaNet layers keep a fixed-size state per head (96 by 192 values) plus a short convolution state (kernel 4), 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 lookup100,3523,840Input token vectorsCL3,840Execution order · 32 layersLayer 1: Gated DeltaNet layersLayer 2: Gated DeltaNet layersLayer 3: Gated DeltaNet layersLayer 4: Full-attention layersLayer 5: Gated DeltaNet layersLayer 6: Gated DeltaNet layersLayer 7: Gated DeltaNet layersLayer 8: Full-attention layersLayer 9: Gated DeltaNet layersLayer 10: Gated DeltaNet layersLayer 11: Gated DeltaNet layersLayer 12: Full-attention layersLayer 13: Gated DeltaNet layersLayer 14: Gated DeltaNet layersLayer 15: Gated DeltaNet layersLayer 16: Full-attention layersLayer 17: Gated DeltaNet layersLayer 18: Gated DeltaNet layersLayer 19: Gated DeltaNet layersLayer 20: Full-attention layersLayer 21: Gated DeltaNet layersLayer 22: Gated DeltaNet layersLayer 23: Gated DeltaNet layersLayer 24: Full-attention layersLayer 25: Gated DeltaNet layersLayer 26: Gated DeltaNet layersLayer 27: Gated DeltaNet layersLayer 28: Full-attention layersLayer 29: Gated DeltaNet layersLayer 30: Gated DeltaNet layersLayer 31: Gated DeltaNet layersLayer 32: Full-attention layersGated DeltaNet layers · matches this colour in the execution-order barGated DeltaNet layersGated DeltaNet layers · 24 repetitions24 layers · one layer shown24RMSNorm before this operation.RMSNormGated DeltaNet: A Gated DeltaNet mixer (30 heads, short convolution of kernel 4), then a dense gated feed-forward network of hidden size 11008. Three of every four layers.Gated DeltaNetAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormSwiGLU: A Gated DeltaNet mixer (30 heads, short convolution of kernel 4), then a dense gated feed-forward network of hidden size 11008. Three of every four layers.SwiGLUAdd the branch output to the original stream. +Layer type · execution order aboveFull-attention layers · matches this colour in the execution-order barFull-attention layersFull-attention layers · 8 repetitions8 layers · one layer shown8Softmax attention: Layers 4, 8, 12 and every fourth layer after. Attention over the whole context (30 query and 30 key/value heads), with no position encoding, then a dense gated feed-forward network of hidden size 11008.Softmax attentionNo explicit positional embedding in this attention layer. Causal masking still restricts which tokens it can read.NoPENormalise queries and keys before attention scores. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).QK-normNormalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. +SwiGLU: Layers 4, 8, 12 and every fourth layer after. Attention over the whole context (30 query and 30 key/value heads), with no position encoding, then a dense gated feed-forward network of hidden size 11008.SwiGLUNormalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. +Layer type · execution order aboveAfter all 32 layer executionsResidual streamLast columnCL3,840Final RMSNormA separate learned vocabulary projection.Output weights3,840100,352Vocabulary scoresSoftmax100,352Next-token probabilities
Inside linear attention · Gated DeltaNet layers
30 state heads · 30 Q/K heads.

Earlier context dimmed · current token bright · dashed path carries state to the next step.

Olmo Hybrid 7B: Gated DeltaNet layers · linear attentionAttention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192). Keys and values for 30 heads of size 128 in the 8 attention layers. The 24 Gated DeltaNet layers keep a fixed-size state per head (96 by 192 values) plus a short convolution state (kernel 4), which does not grow with context.30 value heads; the front face shows one representative.30 value heads30 state heads; the front face shows one representative.30 state headsAttention input. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Earlier context is dimmed; outlined columns are current.Current token computation.Attention input3,840CLWq. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Wq3,84096Wk. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Wk3,84096Wv. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Wv3,840192Conv 4 + SiLU. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Conv 4 + SiLUConv 4 + SiLU. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Conv 4 + SiLUConv 4 + SiLU. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Conv 4 + SiLUL2-norm. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).L2-normL2-norm. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).L2-normQ. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Earlier context is dimmed; outlined columns are current.Current token computation.Q96CLK. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Earlier context is dimmed; outlined columns are current.Current token computation.K96CLV. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Earlier context is dimmed; outlined columns are current.Current token computation.V192CLPrevious state. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Previous state96192Decay + delta. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Decay + deltaInput projections produce the decay and write-strength gates. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).α / β3,8402Updated state. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Updated state96192×. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).×Gated RMSNorm. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Gated RMSNormJoined heads. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).30Wo. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Wo5,7603,840Attention output. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Earlier context is dimmed; outlined columns are current.Current token computation.Attention output3,840CL
Inside multi-head attention · Full-attention layers
30 heads.

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

Olmo Hybrid 7B: Full-attention layers · multi-head attentionAttention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192). Keys and values for 30 heads of size 128 in the 8 attention layers. The 24 Gated DeltaNet layers keep a fixed-size state per head (96 by 192 values) plus a short convolution state (kernel 4), which does not grow with context.30 heads; the front face shows one representative.30 headsAttention input. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Earlier context is dimmed; outlined columns are current.Current token computation.Attention input3,840CLWq. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Wq3,8403,840Wk. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Wk3,8403,840Wv. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Wv3,8403,840RMSNorm. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).RMSNorm3,840RMSNorm. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).RMSNorm3,840K cache. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128CLV cache. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128CLQ context. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).NoPECLCL×. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).×Joined heads. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).30Wo. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Wo3,8403,840Attention output. Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).Earlier context is dimmed; outlined columns are current.Current token computation.Attention output3,840CL
Model-specific details
Gated DeltaNet layers · 24 repetitions
A Gated DeltaNet mixer (30 heads, short convolution of kernel 4), then a dense gated feed-forward network of hidden size 11008. Three of every four layers.
Full-attention layers · 8 repetitions
Layers 4, 8, 12 and every fourth layer after. Attention over the whole context (30 query and 30 key/value heads), with no position encoding, then a dense gated feed-forward network of hidden size 11008.
Attention and positions
Attention in 8 of 32 layers (30 query heads, 30 key/value heads, head size 128), with no position encoding. The other 24 layers are Gated DeltaNet layers (30 heads, key size 96, value size 192).
Memory
Keys and values for 30 heads of size 128 in the 8 attention layers. The 24 Gated DeltaNet layers keep a fixed-size state per head (96 by 192 values) plus a short convolution state (kernel 4), which does not grow with context.

What changes from Olmo 3

The 32-layer stack repeats three Gated DeltaNet layers and one full-attention layer. It removes positional embeddings and narrows the residual width to 3,840.

The model card specifies a 65,536-token context.

Explore the components

Sources for this map