943626d758
- Terminology: 'Q replicated' (all G query heads stacked into the GEMM M-dim; M-fold explained) for decode; 'one Q head per CUBE' precise for prefill. - New S5.6: three decode CPU-pipelining variants — opt1 current CompositeCmd (has GEMM-engine bubble), opt3 software pipelining (issue next Q.Kt before this tile's softmax; Sj in persistent double buffer; ships now, no new cmd), opt2 ex_composite split into two (#1 = existing GEMM+scale reads K first; #2 = softmax+P.V+accumulator merge, the only new flash-epilogue machinery, gives DMA K-before-V priority). MATH engine already has max/sum/exp — the new part is the stateful flash accumulator, not the ops. - S2.1/SB: shared prefill/decode KV layout = contiguous CxP blocks (prefill causal-skip needs contiguous; avoids prefill->decode reshard; short-context under-use caveat). S8 item 4 sizing note for the two-composite split. Prefill note: opt2/opt3 give little for prefill (causal if can't enter a composite; recv_async already overlaps). Docs only; KO mirror deferred. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>