▌okc-log

← 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.

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.