dsa-indexer-perf
Optimize the forward and backward pass of the DSA (DeepSeek Sparse Attention) lightning-indexer region on one H200 for sequences of up to 128K tokens: index scores, per-query top-k and the KL indexer loss with its gradients for q, weights and k, under a peak-memory limit linear in the sequence length; hidden graded cases, accuracy limits set on every set of inputs by the reference implementation's error, scored by the fraction of a compute bound.
1Overview
Optimize the forward and backward pass of the DSA (DeepSeek Sparse Attention) lightning-indexer region on one H200 for sequences of up to 128K tokens: index scores, per-query top-k and the KL indexer loss with its gradients for q, weights and k, under a peak-memory limit linear in the sequence length; hidden graded cases, accuracy limits set on every set of inputs by the reference implementation's error, scored by the fraction of a compute bound.
- sparse-attention
- dsa
- long-context
- kernels
- triton
- tilelang
- cuda
- autograd
Infra & Systems
2Functional block diagram
3Absolute maximum ratings
| Parameter | Agent | Verifier |
|---|---|---|
| Wall time | 2 h | 3 h |
| Accelerator | 1× H200 | 1× H200 |
| CPU cores | 16 | 16 |
| Memory | 128 GB | 128 GB |
| Network | Allow-listed hosts | None |
| Submission | /workspace/submission | |
Each trial runs in its own image. The verifier runs separately and the agent never sees its data.
4Scoring characteristics
| Parameter | Direction | Min | Typ | Max |
|---|---|---|---|---|
| Reward | Higher is better | 0.012 ± 0.0002 | pending | 1.00 |
Min: shipped baseline, mean of 3 hidden-split runs. Typ: best agent result, filled in from the formal runs. Max: theoretical best.
The full reward definition and metric list will be published with the benchmark release.
5References
| Source | Type |
|---|---|
| DeepSeek-V3.2 | paper |
| Megatron-LM | code |
| TileLang | code |
| CUTLASS | code |