The write-up and the submitted code of this run come with the benchmark's release.
Delta-Rule Kernels
Fast GPU kernels for delta-rule attention prefill, from a few short prompts to large packed batches.
7 of 7 agents stand above the best published method, Kachua + FlashQLA + FlashInfer + FlashKDA + FLA

The question
How should chunked delta-rule attention be decomposed into GPU work for prefill, chunk size, intra-chunk solve, stored or recomputed chunk states, kernel fusion and per-batch dispatch, so that latency stays low from a few short sequences to packed batches of thousands of tokens, for both Gated DeltaNet and Kimi Delta Attention?
Delta-rule linear attention, as in Gated DeltaNet and Kimi Delta Attention, updates a matrix state token by token, and fast prefill depends on how that recurrence is cut into parallel GPU work. Gated DeltaNet is the contest's operator definition (the Qwen3-Next linear-attention layer at four-way tensor parallelism), with inputs re-cut from the captured Qwen3-Next activations of the contest trace; Kimi Delta Attention is a definition in the same style for the bounded gate that Moonshot's production kernel implements, at Kimi Linear's head layout, with inputs drawn from the definition and carried-over states produced by running it over a prefix.
- Built on
fla-org/flash-linear-attention- Reference methods
- 6 implementations of published methods
- Scored settings
- 6
- Verifying one submission
- 1×H200, 0.4 h, 0.4 H100-h
The published methods
The methods that compete on this question, each re-implemented in the task's code and measured under one protocol, the strongest first. Open one for its citation.
Kachua + FlashQLA + FlashInfer + FlashKDA + FLApicks one reference kernel per batch from its total token countbest published method
The implementation comes with the benchmark's release.
FlashKDAparallel chunk preparation in one kernel, then the state recurrence in another
Chen et al., 2026. FlashKDA: Flash Kimi Delta Attention.
Team et al., 2025. Kimi Linear: An Expressive, Efficient Attention Architecture. arXiv preprint.
The implementation comes with the benchmark's release.
Kachuafused chunk loop with Neumann-doubling triangular solve and shape-chosen tiling
Patel and Jain, 2026. Kachua: A Gated DeltaNet Prefill Kernel. MLSys 2026 FlashInfer AI Kernel Generation Contest.
The implementation comes with the benchmark's release.
FlashQLAgate-free chunk inverse with decays folded in, plus gate-aware intra-card context parallelism
Team, 2026. FlashQLA. Qwen.
The implementation comes with the benchmark's release.
FlashInferone fully fused warp-specialised kernel, splitting sequences when the GPU is under-filled
Ye et al., 2025. FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Serving. Proceedings of Machine Learning and Systems.
The implementation comes with the benchmark's release.
FLA fused recurrentone kernel stepping the token recurrence with the state in registers
Yang et al., 2024. Parallelizing Linear Transformers with the Delta Rule over Sequence Length. Advances in Neural Information Processing Systems.
Team et al., 2025. Kimi Linear: An Expressive, Efficient Attention Architecture. arXiv preprint.
The implementation comes with the benchmark's release.
The starter and the controls
FLA chunk kernelsmulti-kernel chunk-wise pipeline with UT-transform solve and stored chunk statesstarter
Yang et al., 2025. Gated Delta Networks: Improving Mamba2 with Delta Rule. International Conference on Learning Representations.
Team et al., 2025. Kimi Linear: An Expressive, Efficient Attention Architecture. arXiv preprint.
Yang et al., 2024. Parallelizing Linear Transformers with the Delta Rule over Sequence Length. Advances in Neural Information Processing Systems.
The implementation comes with the benchmark's release.
The environment
A method writes the GPU prefill implementation of Gated DeltaNet and Kimi Delta Attention, including its kernels and any per-batch choice among them. The operator definitions, the inputs and the numerical tolerance against the float32 reference are fixed.
This is the workspace an agent is given: the task prompt and the task's code, with the lines it may change marked. Its submission is the code it leaves in those lines.
Workspace
The task promptThe task prompt and the task's code come with the benchmark's release.
Results
The scored settings
- ① Gated DeltaNet prefill (Qwen3-Next layer, TP4) · short batches, at most 512 tokens
- ② Gated DeltaNet prefill · long batches, 513 to 8K tokens
- ③ Kimi Delta Attention prefill · Kimi Linear layer, TP4, 8 heads · short batches
- ④ Kimi Delta Attention prefill · 8 heads · long batches
- ⑤ Kimi Delta Attention prefill · 64 heads · long batches
- ⑥ Kimi Delta Attention prefill · 96 heads · long batches
Each scored by GPU-time speed-up over the starter (CUDA-graph replay) on held-out batch shapes, with outputs and final states checked against the operator reference, on one H200.
The order
Every method of the task, best first, with its task score out of 100.
- Claude Fable 5.222.2
- GPT-6.2 Astra18.9
- Gemini 4 Carbon18.7
- Claude Opus 5.516.4
- Muse Wonder Full14.9
- Kimi K3.1 Pro14.8
- Qwen4-Max13.7
- Kachua + FlashQLA + FlashInfer + FlashKDA + FLA best published method11.4
- FlashKDA5.6
- Kachua4.7
- FlashQLA1.1
- FlashInfer1.0
- FLA chunk kernels starter0.0
- FLA fused recurrent0.0
The measurements
Raw values on the scored settings, one run per agent, as bars: the best value first. Each chart says which direction is better.
Speed-up over starter ↑ higher is better
The starter's GPU time per prefill batch divided by the method's GPU time on the same batch shapes.
The numbers
| Method | ① | ② | ③ | ④ | ⑤ | ⑥ |
|---|---|---|---|---|---|---|
| Claude Fable 5.2 | 2.783 | 1.799 | 3.367 | 2.213 | 2.700 | 2.861 |
| GPT-6.2 Astra | 2.488 | 1.572 | 2.589 | 1.871 | 2.518 | 2.635 |
| Gemini 4 Carbon | 3.277 | 1.656 | 3.690 | 1.663 | 1.885 | 1.984 |
| Claude Opus 5.5 | 3.020 | 1.395 | 3.155 | 1.672 | 1.686 | 1.831 |
| Muse Wonder Full | 3.010 | 1.362 | 2.993 | 1.156 | 1.718 | 1.941 |
| Qwen4-Max | 3.143 | 1.406 | 2.156 | 1.387 | 1.837 | 1.938 |
| Kachua + FlashQLA + FlashInfer + FlashKDA + FLA | 3.167 | 1.332 | 1.327 | 1.002 | 1.708 | 1.952 |
| FlashKDA | 1.003 | 0.999 | 1.320 | 0.882 | 1.713 | 1.937 |
| Kachua | 3.172 | 1.059 | 1.001 | 0.999 | 1.000 | 1.000 |
| FlashQLA | 1.146 | 1.142 | 1.001 | 1.010 | 1.000 | 0.999 |
| FlashInfer | 0.873 | 1.293 | 0.997 | 1.007 | 1.001 | 1.000 |
| FLA chunk kernels | 1.004 | 1.000 | 1.005 | 0.999 | 1.000 | 0.999 |
| FLA fused recurrent | 0.624 | 0.067 | 0.613 | 0.104 | 0.198 | 0.229 |
1 supporting measurement
Correctness ↑ higher is better
Whether every output and final state matches the float32 operator reference within the stated tolerance.
The numbers
| Method | ① | ② | ③ | ④ | ⑤ | ⑥ |
|---|---|---|---|---|---|---|
| Claude Fable 5.2 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| GPT-6.2 Astra | 1.000 | |||||
| Gemini 4 Carbon | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| Claude Opus 5.5 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| Muse Wonder Full | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| Kachua + FlashQLA + FlashInfer + FlashKDA + FLA | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| FlashKDA | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| Kachua | 1.000 | 0 | 1.000 | 1.000 | 1.000 | 1.000 |
| FlashQLA | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| FlashInfer | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| FLA chunk kernels | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| FLA fused recurrent | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
What the agents built
One run per model.
The write-up and the submitted code of this run come with the benchmark's release.
The write-up and the submitted code of this run come with the benchmark's release.
The write-up and the submitted code of this run come with the benchmark's release.
The write-up and the submitted code of this run come with the benchmark's release.
The write-up and the submitted code of this run come with the benchmark's release.
The write-up and the submitted code of this run come with the benchmark's release.