LightningMoBA speeds long-context generation 1.20x to 1.60x
Original title: Accelerating Mixture of Block Attention via Dynamic Routing, KV-Centric Execution and Runtime Pipelining
At matched Top-16 retention, mean RULER rises from 74.42 to 75.28 across five checkpoints on Hopper.
The authors present LightningMoBA, a co-design of Mixture of Block Attention selection and execution that replaces FlashMoBA's fixed Top-k budget and query-centric schedule. Dynamic routing emits variable-cardinality sparse metadata from per-query block scores, while KV-centric ownership groups selected rows by query head and KV block and reuses loaded KV tiles. On Hopper, runtime pipelining overlaps K/V transfers and irregular query gathers with Tensor Core computation. The paper reports 1.20x to 1.60x faster end-to-end generation at matched Top-16 retention.
Unconfirmed: Speed and quality figures are the authors' reported results, not an independent benchmark.
- Fixed Top-k applies one budget across different score distributions.
- KV-centric ownership splits high-fanout columns into bounded tasks.
- Pipelining overlaps regular K/V transfers with Tensor Core work.
- Mean RULER score rises from 74.42 to 75.28.
From the original article
1 min read at huggingface.coMixture of Block Attention (MoBA) reduces long-context computation by selecting key-value (KV) blocks for each query. FlashMoBA implements MoBA efficiently but retains a fixed Top-k budget and query-centric schedule. Fixed Top-k applies one budget across different score distributions and couples routing to task granularity; query-range ownership fragments K/V reuse when several ranges select the same column.
By Yingqi Shi, Junru Lu, Yun Liu · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.