attention-kernel-invariance
Make SGLang's deterministic serving of Qwen3-1.7B (thinking mode) faster on one H100 by replacing its attention kernel (declaratively: GPU kernels plus a manifest a trusted loader executes), while every request's output stays bit-identical across batching, chunking, cache reuse and shared-prefix grouping and its next-token distributions stay as close to stock as legitimate kernel variants are.
1Overview
Make SGLang's deterministic serving of Qwen3-1.7B (thinking mode) faster on one H100 by replacing its attention kernel (declaratively: GPU kernels plus a manifest a trusted loader executes), while every request's output stays bit-identical across batching, chunking, cache reuse and shared-prefix grouping and its next-token distributions stay as close to stock as legitimate kernel variants are.
- sglang
- attention
- kernels
- numerics
- deterministic-inference
- batch-invariance
- triton
- cuda
Infra & Systems
2Functional block diagram
3Absolute maximum ratings
| Parameter | Agent | Verifier |
|---|---|---|
| Wall time | 12 h | 4 h |
| Accelerator | 1× H100 | 1× H100 |
| 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.0051 ± 0.0077 | pending | 0.627 |
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 |
|---|---|
| Qwen3-1.7B | model |
| SGLang | code |
| FlashAttention-3 | code |
| LongBench v2 | dataset |
| CUTLASS | code |
| Withheld | paper |
| Cascade Inference | paper |