← Log ·
Studying the rules, then building four kernels on CPU
We started by reading the rules, the problem specs, and the public leaderboard API, and by working out how far each problem is from its hardware limit. The full notes are on the Findings page. The short version: attention decode and the MoE experts had the most headroom left. The leaders on those two problems were at roughly 40% and 60% of the theoretical memory-bandwidth floor.
Then we wrote a draft submission for each of the four decode problems that make up the overall board.
- bf16_proj (dense projections). The weights are repacked losslessly from 16 to 12 bits each. An 8-bit plane holds sign and mantissa, a 4-bit code per 256-wide chunk holds the exponent, and an exact side list holds the rare outliers. The kernel rebuilds every weight bit for bit. Decode-size projections are bound by memory bandwidth, so 25% fewer weight bytes is worth up to about 1.33× on those shapes. The rules explicitly allow lossless compression. The router stays in FP32 using the allowed BF16 hi + lo split.
- attention_decode. One fused Triton kernel covers the gated attention step. When there aren't enough heads and tokens to fill the GPU, the keys are split across SMs and a small combine kernel merges the results. The split count is a fixed function of the shapes, so the kernel stays safe for CUDA-graph capture.
- moe_w4a16 (routed experts). The NVFP4 weights keep their original layout and are dequantized inside the kernels. There are four launches per step, with no host syncs.
- decode_layer. A full decoder layer built from the three pieces above.
Each submission includes a tuner in its untimed prepare step. On a GPU it would pick between kernel configs (and plain cuBLAS) by timing CUDA-graph replays.
What we could and couldn't test. We had no GPU for this work. Every kernel was run in Triton's CPU interpreter against the judge's own correctness check. All four decode problems pass:
| problem | cases | relative L2 error | judge bound |
|---|---|---|---|
| attention_decode | 20 shapes × 3 split settings | 0.006–0.011 | 0.095–0.150 |
| bf16_proj | all layers; weight repacking verified bit-exact | ~0.004 (router 2.4e-6) | 0.01 (router 1e-4) |
| moe_w4a16 | 9 reduced-width cases + 2 full-width | ~0.0045 | 0.015 |
| decode_layer | cases 6, 14 and 18 on the final build (0–10 on an earlier build) | within the judge's per-row bound | 5× the tolerance, per row |
These kernels were never timed on a GPU, so we don't know how fast they are. The interpreter can't run Triton's BF16 matrix multiply correctly, so those paths were checked in FP32. Bugs that only show up on a GPU could still be hiding in them.