Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Thinking Machines Lab · Architecture map

Inkling 2 Mini

A 24-block multimodal MoE decoder with a shared 12-block core executed three times.

Inkling 2 Mini, November 2026 · Inkling release timeline

Inside Inkling 2 Mini

Parameters
26.4B
Layers
24 physical blocks · 48 executions
Width
2,304
Mixer
Grouped-query
Select a component to explore it. Layer colours match the execution-order strip.
The complete Inkling 2 Mini architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale. 48 KV caches and 48 convolution-state caches, one per visit. 40 visits use a 1,024-token sliding window and eight attend to full history. The size profile accounts for the KV portion only; convolution state and draft module are excluded. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup201,0242,304Input token vectorsCL2,30423 vision layers of width 1024, 16 heads, native patch size 20 and 2×2 adapter merging.Vision / videoencoderExecution order · 24 blocksLayer 1: Windowed attentionLayer 2: Windowed attentionLayer 3: Windowed attentionLayer 4: Windowed attentionLayer 5: Windowed attentionLayer 6: Full attentionLayer 7: Windowed attentionLayer 8: Windowed attentionLayer 9: Windowed attentionLayer 10: Windowed attentionLayer 11: Windowed attentionLayer 12: Full attentionLayer 13: Windowed attentionLayer 14: Windowed attentionLayer 15: Windowed attentionLayer 16: Windowed attentionLayer 17: Windowed attentionLayer 18: Full attentionLayer 19: Windowed attentionLayer 20: Windowed attentionLayer 21: Windowed attentionLayer 22: Windowed attentionLayer 23: Windowed attentionLayer 24: Full attentionThe prelude runs once. Each of the three core passes restarts from that same prelude output. Passes two and three read the previous pass’s two six-layer blocks through separate messages for Q/K/V/MLP inputs. The coda continues from the final pass.Input · 6Shared · 12Output · 6Same prelude outputPass 112 sharedPass 212 sharedPass 312 sharedDashed: previous-pass messages into Q, K, V and MLPCodaWindowed attention · matches this colour in the execution-order barWindowed attentionWindowed attention · 20 repetitions20 blocks · one block shown20RMSNorm before this operation.RMSNormSliding-window attention: Eight of 128 routed experts are selected; expert intermediate width 1152. Relative-score attention with a per-token sink and output gate; four short convolutions per layer.Sliding-windowattentionAdd query-dependent learned relative scores to content attention scores. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Learned relative bias24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Output gateSliding-window attention over 1,024 tokens.1,02424 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Attention sink24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Value normBlock attention residuals · 6 layers per block. Combine the residual and branch contributions using the model’s learned weighting. +RMSNorm before this operation.RMSNormMoE: Eight of 128 routed experts are selected; expert intermediate width 1152. Relative-score attention with a per-token sink and output gate; four short convolutions per layer.MoE8 of 128 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts.Block attention residuals · 6 layers per block. Combine the residual and branch contributions using the model’s learned weighting. +8 of 128 expertsLayer type · execution order aboveFull attention · matches this colour in the execution-order barFull attentionFull attention · 4 repetitions4 blocks · one block shown4RMSNorm before this operation.RMSNormGrouped-query attention: Global attention followed by the same expert configuration. Relative-score attention with a per-token sink and output gate; four short convolutions per layer.Grouped-queryattentionAdd query-dependent learned relative scores to content attention scores. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Learned relative bias24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Output gate24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Attention sink24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Value normBlock attention residuals · 6 layers per block. Combine the residual and branch contributions using the model’s learned weighting. +RMSNorm before this operation.RMSNormMoE: Global attention followed by the same expert configuration. Relative-score attention with a per-token sink and output gate; four short convolutions per layer.MoE8 of 128 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts.Block attention residuals · 6 layers per block. Combine the residual and branch contributions using the model’s learned weighting. +8 of 128 expertsLayer type · execution order aboveAfter all 48 layer executionsResidual streamLast columnCL2,304Final RMSNormA separate learned vocabulary projection.Output weights2,304201,024Vocabulary scoresSoftmax201,024Next-token probabilities
Inside a later core passPrevious pass · two completed blocksBlock 1Block 2Four learned readsCurrent passprelude + localblock historyQ · gated rank-64 mergeK · gated rank-64 mergeV · gated rank-64 mergeMLP · gated rank-64 mergeAt each residual boundaryAttention output4-tap short convAttention residual mixExpert output4-tap short convAttention residual mix

Dashed paths carry separate previous-pass messages. The four controllers are not a single recurrent state. The K and V convolutions are shown in the detailed attention diagrams.

Inside grouped-query attention · Windowed attention
3 query heads per group × 8 K/V groups.

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

Inkling 2 Mini: Windowed attention · grouped-query attention24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale. 48 KV caches and 48 convolution-state caches, one per visit. 40 visits use a 1,024-token sliding window and eight attend to full history. The size profile accounts for the KV portion only; convolution state and draft module are excluded.Attention input. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,304CLWq. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wq2,304128Wr. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wr2,30416Wk. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wk2,304128Wv. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wv2,304128L2 clip. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.L2 clipL2 clip. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.L2 clipCausal 4-tap depthwise convolution with separate visit state; static learned taps.Short convCausal 4-tap depthwise convolution with separate visit state; static learned taps.Short convL2 clip. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.L2 clipPer-head value RMS normalisation without learned scale.RMSNormQ. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Earlier context is dimmed; outlined columns are current.Current token computation.Q128CLK cache. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128≤ 1024V cache. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128≤ 1024Relative table. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Relative table161,024Dot the clipped relative query with the learned vector indexed by relative distance; add these logits to content scores before softmax.Relative scoreQ · K. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Q · KAdd logits. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Add logitsWsink. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wsink2,3041Softmax over content plus relative logits, with a projected sink logit in the normalisation. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Window 1,02424 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.SinkCLCL×. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.×Wg. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wg2,304128σ. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.σ×. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.×Joined heads. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.24Wo. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wo3,0722,304Causal depthwise convolution on the projected attention output before the attention-residual update.Short convAttention output. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,304CL
Inside grouped-query attention · Full attention
3 query heads per group × 8 K/V groups.

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

Inkling 2 Mini: Full attention · grouped-query attention24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale. 48 KV caches and 48 convolution-state caches, one per visit. 40 visits use a 1,024-token sliding window and eight attend to full history. The size profile accounts for the KV portion only; convolution state and draft module are excluded.Attention input. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,304CLWq. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wq2,304128Wr. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wr2,30416Wk. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wk2,304128Wv. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wv2,304128L2 clip. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.L2 clipL2 clip. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.L2 clipCausal 4-tap depthwise convolution with separate visit state; input-dependent taps supplement static taps.Dynamic convCausal 4-tap depthwise convolution with separate visit state; input-dependent taps supplement static taps.Dynamic convL2 clip. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.L2 clipPer-head value RMS normalisation without learned scale.RMSNormQ. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Earlier context is dimmed; outlined columns are current.Current token computation.Q128CLK cache. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128CLV cache. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128CLRelative table. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Relative table161,024Dot the clipped relative query with the learned vector indexed by relative distance; add these logits to content scores before softmax.Relative scoreQ · K. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Q · KAdd logits. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Add logitsWsink. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wsink2,3041Softmax over content plus relative logits, with a projected sink logit in the normalisation. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.SinkCLCL×. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.×Wg. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wg2,304128σ. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.σ×. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.×Joined heads. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.24Wo. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Wo3,0722,304Causal depthwise convolution on the projected attention output before the attention-residual update.Short convAttention output. 24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,304CL
Model-specific details
Windowed attention · 20 repetitions
Eight of 128 routed experts are selected; expert intermediate width 1152. Relative-score attention with a per-token sink and output gate; four short convolutions per layer.
Full attention · 4 repetitions
Global attention followed by the same expert configuration. Relative-score attention with a per-token sink and output gate; four short convolutions per layer.
Attention and positions
24 query heads share eight KV heads, width 128. Five sliding-window layers precede each global layer. Uses learned relative-position score contributions (not RoPE), a per-token attention sink, output gate, clipped Q/K/relative vectors and value normalisation. Local K/V convolutions have static taps; global K/V convolutions add input-dependent tap weights. Sigmoid output gates act per coordinate, while sinks contribute one logit per query head and token. Value RMSNorm has no learned scale.
Memory
48 KV caches and 48 convolution-state caches, one per visit. 40 visits use a 1,024-token sliding window and eight attend to full history. The size profile accounts for the KV portion only; convolution state and draft module are excluded.

More computation from the same weights

Reusing the middle block raises computational depth without loading another set of weights, but simply feeding the previous pass’s output back into the block would force every pass to start with an already transformed representation. Inkling instead keeps the prelude output fixed as the starting representation. Each core pass learns what to read from the previous pass’s two completed attention-residual blocks.

In passes two and three, Q, K, V and the expert input each have their own previous-pass message and rank-64 controller. The controller can preserve the current input or introduce information from the previous pass independently for each channel. The coda continues from pass three.

The shared weights do not imply shared activation history. Each visit has its own KV and convolution state, meaning a token at pass two attends to earlier tokens’ pass-two states. There are 40 local and eight global visits: the KV-only footprint at 8,192 tokens and 16-bit precision is 416 MiB, excluding convolution state and the separate DSpark draft.

Explore the components

Sources for this map