Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

IBM · Architecture map

Granite 3.3 8B

A conventional dense GQA model, with a few small scaling multipliers that come from IBM's training recipe.

Granite 3.3 8B Base, April 2025 · Granite release timeline

Inside Granite 3.3 8B

Parameters
8.1B
Layers
40
Width
4,096
Mixer
Grouped-query
Select a component to explore it.
The complete Granite 3.3 8B architectureInput IDs select embeddings. Each layer adds its updates along the residual stream. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000). Keys and values for 8 heads of size 128, per token per layer. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup49,1524,096Input token vectorsCL4,096Transformer layers 1–40Transformer layers 1–40 · 40 repetitions40 layers · one layer shown40RMSNorm before this operation.RMSNormGrouped-query attention: One dense SwiGLU network per layer (hidden size 12800).Grouped-queryattentionRotate query and key position components before attention scores; values are unchanged. One dense SwiGLU network per layer (hidden size 12800).RoPEAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormSwiGLU: One dense SwiGLU network per layer (hidden size 12800).SwiGLUAdd the branch output to the original stream. +Residual streamLast columnCL4,096Final RMSNormReuses the embedding table, transposed.Tied output weights4,09649,152Vocabulary scoresSoftmax49,152Next-token probabilities
Inside grouped-query attention · Transformer layers 1–40
4 query heads per group × 8 K/V groups.

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

Granite 3.3 8B: Transformer layers 1–40 · grouped-query attention32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000). Keys and values for 8 heads of size 128, per token per layer.8 KV groups; the front face shows one representative.8 KV groups4 heads / group; the front face shows one representative.4 heads / groupAttention input. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).Earlier context is dimmed; outlined columns are current.Current token computation.Attention input4,096CLWq. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).Wq4,096128Wk. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).Wk4,096128Wv. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).Wv4,096128RoPE. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).RoPERoPE. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).RoPEK cache. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128CLV cache. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128CLQ context. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).CLCL×. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).×Joined heads. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).32Wo. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).Wo4,0964,096Attention output. 32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).Earlier context is dimmed; outlined columns are current.Current token computation.Attention output4,096CL
Model-specific details
Transformer layers 1–40 · 40 repetitions
One dense SwiGLU network per layer (hidden size 12800).
Attention and positions
32 query heads share 8 key/value heads, head size 128. Rotary positions with a very large theta (10,000,000).
Memory
Keys and values for 8 heads of size 128, per token per layer.

What changes from a Llama-style 8B

The April 2025 Base checkpoint supports 131,072 tokens. Granite 4.0 switches to a hybrid mixer layout.

How it scores

AA Intelligence Index

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

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

Explore the components

Sources for this map