- in
- [B batch, 12 heads, T positions, 64 head features] [B batch, 12 heads, 2T positions, 64 head features] [B batch, 12 heads, 2T positions, 64 head features]
- out
- [B batch, 12 heads, T positions, 64 head features]
Explanation
The fused kernel does not store the score and weight fields; the plate states its arithmetic step by step.
Sources2
Direct evidence
Both streams are normalized; queries come from one stream, keys and values from both, concatenated along positions; queries and keys are normalized per head; attention runs over all positions with softcap; the heads are merged and projected.
The implementation, pinned at revision e18c42acdfb7, not yet public
Direct evidence
The latent encoder: 12 heads of 64 features, query and key normalization, softcap 50, 6 layers, MLP multiplier 4, dropout 0.1, ε = 10⁻⁵.
The implementation, pinned at revision e18c42acdfb7, not yet public