Files
Driss Guessous 94e22c9066 [CuTe, SM100] Key MLA forward compilation on the KV head count (#2978)
The MLA forward kernels take nheads_kv as a compile-time parameter, but the
forward compile key only recorded the per-KV-head query count. Shapes with
equal GQA ratios and different KV head counts, such as 128/2 and 64/1, reused
one kernel specialized for the wrong packed layout and scheduler head count:
reusing a kernel built for fewer KV heads never writes the extra head, and the
reverse launches a phantom head whose rows alias the next token.

stack-info: PR: https://github.com/Dao-AILab/flash-attention/pull/2978, branch: drisspg/stack/78
2026-10-06 21:28:37 -07:00
..
2025-04-25 14:48:27 -04:00
2026-03-11 15:33:23 -04:00
2025-06-25 15:59:57 -04:00