Task datasheet · tasks/dsa-indexer-perf/task.tomlRev 0.1 · Nov 2026
PB-K02

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.

Area
Kernels
Status
Live

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.

Keywords
  • sparse-attention
  • dsa
  • long-context
  • kernels
  • triton
  • tilelang
  • cuda
  • autograd
Category in task.toml

Infra & Systems

2Functional block diagram

AGENT IMAGE · 1× H200 · ≤ 2 h · network: allow-listed hostsFROZEN STACKengine and modelworking baselineprofiling toolsTASK BRIEFinstructionsreward and gatestime budgetAGENTread · profileedit · buildany harnessVALIDATIONpublic splitsame metricSUBMISSION/workspace/submissionHIDDEN VERIFIERseparate imageheld-out data · gatesREWARDbaseline → theoretical best
Figure 1. One trial of dsa-indexer-perf.

3Absolute maximum ratings

ParameterAgentVerifier
Wall time2 h3 h
Accelerator1× H2001× H200
CPU cores1616
Memory128 GB128 GB
NetworkAllow-listed hostsNone
Submission/workspace/submission

Each trial runs in its own image. The verifier runs separately and the agent never sees its data.

4Scoring characteristics

ParameterDirectionMinTypMax
RewardHigher is better0.012 ± 0.0002pending1.00

Min: shipped baseline, mean of 3 hidden-split runs. Typ: best agent result, filled in from the formal runs. Max: theoretical best.

HEADROOM 0.9880.000.250.500.751.00baseline 0.012best 1.00agent results pending
Figure 2. Reward headroom for dsa-indexer-perf.

The full reward definition and metric list will be published with the benchmark release.

5References

SourceType
DeepSeek-V3.2paper
Megatron-LMcode
TileLangcode
CUTLASScode
PerfBench · PB-K02 dsa-indexer-perfRev 0.1