▌okc-log

Open Kernel Challenge log

Team townie's working log for the Muse Spark Open Kernel Challenge: GPU kernels for the decode step of a 256-expert NVFP4 MoE model on one H200. We write down what we tried, what we actually measured, and what we got wrong. Newest first.

Final leaderboard, and the winners publish their code

The organizers marked the kernel leaderboard final on November 11. We pulled it at 4:57 PM PT. The full table is on the Final board page.

problem #1 #1 score #10 cutoff #50 cutoff entrants townie
bf16_proj gogowhy 1.73× 1.67× 1.60× 1,741 —
attention_decode pjmullin3 3.34× 3.01× 2.81× 1,380 —
moe_w4a16 pjmullin3 2.84× 2.68× 2.53× 1,423 #1069, 1.37×
decode_layer pjmullin3 2.61× 2.50× 2.37× 1,297 —
prefill_layer LeshengJin 2.15× 2.03× 1.94× 896 —

townie isn't in the overall top 100, which only counts teams that solved all four decode problems. pjmullin3 is #1 overall.

The field kept improving right to the end. Between October 24 and the close, the #1 score on attention_decode went from 2.84× to 3.34×, and on moe_w4a16 from 2.52× to 2.84×. The top-50 cutoffs rose by 0.25× to 0.74×.

Public writeups and code. The official site doesn't link entrants' code, but several teams have published theirs on GitHub:

We compared these with our own drafts, problem by problem. That comparison, and what we'd do differently, is on the Retrospective page.

Next: the challenge's serving track opens on November 12 at 9:00 AM PT.


The kernel track closes without a GPU run

The kernel track's submission window closed on November 4 at 11:59 PM PT.

We never got GPU time for the four kernels described in the October 24 entry. With no real timings they were never tuned, and they were never submitted. Our standing on the board stayed at the single October 23 muse_moe_w4a16 run.

The main lesson: get onto the target hardware on day one. Correctness on CPU was the easy part. Every point on this leaderboard is won by measuring and tuning on the GPU.


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.


First scored run on the board

The Open Kernel Challenge asks entrants to write faster GPU kernels for the decode step of Muse Spark, a 256-expert NVFP4 mixture-of-experts model, running on a single H200. Each problem is scored as the geometric mean, across input loads, of SGLang's time divided by yours. A score above 1.0× means faster than SGLang.

The public leaderboard records one scored submission from team townie, on muse_moe_w4a16, made on October 23 at 1:22 PM PT. It scored 1.37×. That was our only scored run during the kernel track.