Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Allen Institute for AI · Architecture map

OLMo 2 32B

The same normalisation recipe as OLMo 2 7B, scaled to 64 layers with grouped-query attention.

OLMo 2 32B base (OLMo-2-0325-32B), March 2025 · OLMo release timeline

Inside OLMo 2 32B

Parameters
32B
Layers
64
Width
5,120
Mixer
Grouped-query
Select a component to explore it.
The complete OLMo 2 32B architectureInput IDs select embeddings. Each layer adds its updates along the residual stream. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores. Keys and values for 8 heads, per token per layer. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup100,3525,120Input token vectorsCL5,120Transformer layers 1–64Transformer layers 1–64 · 64 repetitions64 layers · one layer shown64Grouped-query attention: One dense SwiGLU network per layer (hidden size 27648), with RMSNorm applied to the outputs of attention and the feed-forward network.Grouped-queryattentionRotate query and key position components before attention scores; values are unchanged. One dense SwiGLU network per layer (hidden size 27648), with RMSNorm applied to the outputs of attention and the feed-forward network.RoPENormalise queries and keys before attention scores. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.QK-normNormalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. +SwiGLU: One dense SwiGLU network per layer (hidden size 27648), with RMSNorm applied to the outputs of attention and the feed-forward network.SwiGLUNormalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. +Residual streamLast columnCL5,120Final RMSNormA separate learned vocabulary projection.Output weights5,120100,352Vocabulary scoresSoftmax100,352Next-token probabilities
Inside grouped-query attention · Transformer layers 1–64
5 query heads per group × 8 K/V groups.

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

OLMo 2 32B: Transformer layers 1–64 · grouped-query attention40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores. Keys and values for 8 heads, per token per layer.8 KV groups; the front face shows one representative.8 KV groups5 heads / group; the front face shows one representative.5 heads / groupAttention input. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input5,120CLWq. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.Wq5,1205,120Wk. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.Wk5,1201,024Wv. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.Wv5,1201,024RMSNorm. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.RMSNorm5,120RoPE. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.RoPERMSNorm. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.RMSNorm1,024RoPE. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.RoPEK cache. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128CLV cache. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128CLQ context. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.CLCL×. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.×Joined heads. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.40Wo. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.Wo5,1205,120Attention output. 40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output5,120CL
Model-specific details
Transformer layers 1–64 · 64 repetitions
One dense SwiGLU network per layer (hidden size 27648), with RMSNorm applied to the outputs of attention and the feed-forward network.
Attention and positions
40 query heads share 8 key/value heads. Rotary positions with theta 500,000. Queries (5120 wide) and keys (1024 wide) are normalised over their full projected width before the attention scores.
Memory
Keys and values for 8 heads, per token per layer.

What changes from OLMo 2 7B

The 32B stack has 64 layers at width 5,120. Forty query heads share eight key/value heads, replacing the 7B model’s full multi-head attention.

Both sizes normalise sublayer outputs before residual addition and apply QK-norm across each full projected vector. RoPE base is 500,000; embeddings are untied.

Training context remains 4,096 tokens.

How it scores

AA Intelligence Index

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

Checkpoint / sizeResultEvaluation
OLMo 2 32B6AA Index 4.3.2Published checkpoint
AA Index distributionBest checkpoint per model variant among 97 scored variants in this atlas. OLMo 2 32B scores 6; 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 →
OLMo 2 32B: 6. Distribution of 97 scored variants in this atlas, using each variant’s best checkpoint. Known estimates excluded.

Explore the components

Sources for this map