# Muse Spark Open Kernel Challenge > Make serving Meta's Muse Spark Open, an open mixture-of-experts model (256 experts, 4-bit weights), faster on H200s. Two tracks: the serving track, where a submission is a patch to SGLang scored by throughput against stock SGLang on a whole 8×H200 node (the prizes are paid on the serving board), and the kernel problems (closed Nov 4; their boards stay up), where a submission is one Python file, checked against a reference on fresh inputs and timed against SGLang's own kernel in the same run. Run by Paradigm with Meta and Andromeda. Submit with the okc CLI or the HTTP API below. Site: https://openkernelchallenge.dev/ Rules: https://openkernelchallenge.dev/rules Updates: https://openkernelchallenge.dev/updates ## Latest updates ### 2026-11-11 04:15 PT We've updated the [serving rules](https://openkernelchallenge.dev/rules#serving) ahead of the start of the track. Serving submissions now build on SGLang v0.5.23, which picks up upstream changes and fixes made since the competition started. Additionally, based on what we learned in the kernel track and feedback from maintainers and participants, patches now have to be lossless. ### 2026-11-11 03:15 PT The kernel track review is now finished. The leaderboard's Kernels (Overall) tab shows the final top 100. As announced, the top 50 get priority on the serving track. We are also extending priority to the top 10 on each problem's leaderboard, and then to the rest of the top 100. Submissions and check runs by participants with priority start first when runs are waiting for a node. Everyone gets the same number of daily submissions and check runs. ### 2026-11-09 10:30 PT The serving track now opens Thursday, Nov 12 at 9 am PT. It still closes Nov 19 at 11:59 pm PT. Reviewing the kernel track's submissions is taking longer than we planned, and we want to take the time it needs. The final kernel standings will be posted before serving opens. We're also looking into behavior in the upstream SGLang repository that might affect the competition, and making the serving track easier to work with. ### 2026-11-05 00:00 PT Submissions to the kernel track are now closed. Runs queued before the close will still finish and be scored. The scores on the leaderboard are not final. We'll review submissions and post the final standings before the serving track opens. ### 2026-11-03 15:45 PT The serving track now opens Nov 10 at 9 am PT. It still closes Nov 19 at 11:59 pm PT. We've received more than 300,000 submissions to the kernel track. It's been great to see the engagement, and we want to take the time to review submissions properly before the next track opens. We're also updating the [serving rules](https://openkernelchallenge.dev/rules#serving) based on what we've seen in the kernel track. Many of the kernel submissions run to more than 10,000 lines of code and include separate variants specifically for the tested shapes. For the serving track in particular, we want to encourage code that SGLang maintainers could actually accept. We'll consult them on the top patches, and their judgment of whether a patch could be merged will be a factor in our choice of final winners. The live leaderboard also over-incentivizes fitting to the judge, even with daily auto-reviewing and explicit guidance on the spirit of the competition, so the serving leaderboard will stay private until the track is over. You'll still see your own scores. ## Problems - [muse_bf16_proj](https://openkernelchallenge.dev/problems/muse_bf16_proj): Dense projections. The attention and MoE-block projections and the router, as one GPU runs them serving Muse Spark Open on 8×H200. They are BF16 (the router FP32). - [muse_attention_decode](https://openkernelchallenge.dev/problems/muse_attention_decode): Gated attention decode. One decode step or 8-token verify block of grouped-query attention over a paged FP8 cache: QK-norm, a 2,048-token sliding window with RoPE or full attention over the whole context, and a gated, normalized output. - [muse_moe_w4a16](https://openkernelchallenge.dev/problems/muse_moe_w4a16): Routed experts. Top-8 of 256 experts at width 4096: SwiGLU, NVFP4 weights, and a norm on each expert’s output before it is weighted and summed. - [muse_decode_layer](https://openkernelchallenge.dev/problems/muse_decode_layer): Whole decoder layer. Everything one GPU does for one layer of Muse Spark Open under TP8/EP8: the projections, attention, the router and experts, and every norm and residual in between. - [muse_prefill_layer](https://openkernelchallenge.dev/problems/muse_prefill_layer): Prefill layer. The whole decoder layer at the prefill shapes of an agentic coding turn: 753 new tokens on an 80K-token conversation, four conversations at once, and the first turn’s 16K-token chunks. Most of the time goes to the routed experts, as one large grouped NVFP4 GEMM. ## CLI Install (macOS, Linux; the download is checked against the release's SHA256SUMS): curl -fsSL https://openkernelchallenge.dev/install.sh | sh It installs to ~/.okc/bin and adds that to PATH in your shell's startup file. `OKC_INSTALL_DIR=` installs elsewhere; `OKC_NO_MODIFY_PATH=1` leaves the startup file alone (both go before `sh`: `... | OKC_INSTALL_DIR=./bin OKC_NO_MODIFY_PATH=1 sh`). Then: `okc login` (a person runs it in a terminal: the rules prompt, then GitHub's device flow), then the serving commands under Serving, below. For the kernel problems, now closed: `okc init ` (writes submission.py, SGLang's baseline.py, the judge's reference.py and checks.py, nvfp4.py for the NVFP4 problems, TASK.md and AGENTS.md), `okc submit ` (the problem from the file's first line; or `okc submit `), `okc check ` (the same run, kept off the board and out of your attempts, with its own daily cap), `okc status --wait`, `okc leaderboard` (`--json` for agents: each row's rank, and its speedup on a problem's board, `you`, where you stand, and `leader`). In a fresh sandbox, set `OKC_TOKEN` to `okc api token`'s output from a signed-in machine instead of signing in again. If okc says it's out of date, `okc update` installs the latest. okc's own help: get started okc login accept the rules, then sign in with GitHub serving okc serve init [dir] fetch the pinned SGLang, RULES.md and flags okc serve diff [dir] write your patch to patch.diff okc serve check a short unscored run at one load okc serve submit a scored run on a whole 8×H200 node okc serve status [job] show a run, or your runs, scores and priority okc serve notes [file] add notes that describe the patch okc serve jobs list your serving runs okc serve leaderboard show the serving board (private until close) kernels okc problems list the problems and today's limits okc show describe a problem okc init [dir] write a problem's starter, spec and AGENTS.md okc submit [problem] test a kernel, then time it against SGLang okc check [problem] the same run, kept off the board okc status show a run's result okc jobs list your recent runs okc leaderboard [problem] show the overall board, or a problem's okc withdraw take a run, kernel or serving, off its board api okc api show the HTTP API: endpoints, auth, an example okc api token print this machine's API token account okc whoami show who this machine is signed in as okc update update okc to the latest release okc logout sign out and revoke this machine's token okc version print okc's version ## HTTP API Base URL: https://openkernelchallenge.dev/api/v1 (every path below is relative to it, e.g. https://openkernelchallenge.dev/api/v1/problems) Authenticate with `Authorization: Bearer kc_...`. `okc login` mints the token and saves it in okc/config.json in your user config directory. Tokens are per GitHub account; list and revoke them with the token routes below. - `POST /auth/device/start` (no token): {} → {"user_code", "verification_uri", "expires_in", "interval", "handle"}; enter user_code at verification_uri to authorize the challenge's GitHub app - `POST /auth/device/poll` (no token): {"handle"} → {"status": "pending", "handle"} until you authorize (call again with the handle it returns; each call waits up to ~20 s), then {"token", "token_id", "participant"}. This is what okc login does - Before the first submission, a person accepts the rules (https://openkernelchallenge.dev/rules) and the terms (https://openkernelchallenge.dev/terms.pdf) by running `okc login` in a terminal, which shows them and asks. An agent doesn't accept them for anyone. Submissions get a 403 until the current version is accepted; `GET https://openkernelchallenge.dev/api/v1/me`'s `rules.accepted_at` says whether it is. - `GET /problems` (no token): the problems: name, GPU, title and summary, and `limits`: today's daily caps, {"scored": {"per_day"}, "checks": {"per_day"}}, with your runs today ("used", "left") when you send your token; `tracks`: whether each track is open, the phase and its note - `GET /problems/{problem}` (no token): one problem: its starter and SGLang's kernel, the TASK.md and AGENTS.md okc init writes (`task_md`, `agents_md`), the page's copy, the scored shapes, SGLang's time and what it's per; `limits`, as above; `tracks` - `GET /leaderboard/{problem}` (no token): one problem's board: each row's speedup over SGLang, and its time, - `GET /leaderboard` (no token): the overall board: ranks only (its top 50 go first in the serving queue) - `GET /queue` (no token): backlog and running counts, and whether kernel judging is running - `GET /me` (token): the account a token belongs to; `rules`: the current rules version and when you accepted it (null until you have); `serving_priority`, once the tiers are taken: whether you are in a serving priority tier, and `serving_tier`, which one (null if none) - `GET /rules` (no token): the rules' current version, and links to them and the terms - `POST /rules/accept` (token): {"version", "meta_email"}: accept the rules (/rules) and the terms (/terms.pdf) at the current version, and answer whether your email may go to Meta; submissions are refused (403) until you have. okc login sends it when a person answers YES at its prompt; agents don't - `GET /tokens` (token): your API tokens (ids, labels, last used; never the tokens) - `DELETE /tokens/{token_id}` (token): revoke one - `POST /problems/{problem}/submissions` (token): {"code": "...", "mode": "run"}: the tests, then timing; 409 while the kernel track is closed - `GET /jobs` (token): your recent submissions, newest first - `GET /jobs/{job_id}` (token): a job's status and result (your own jobs only) - `POST /jobs/{job_id}/withdraw` (token): take one of your runs (kernel or serving) off its board for good; your next-best run takes its row, and the day's run isn't given back - `GET /serving` (no token): the pinned SGLang revision, image and patch rules (`okc serve init`), and the ladder: each rung's concurrency, reps and conversations per slot; `check`: check runs' daily cap and plan; `open` and `tracks`, as /v1/problems; `priority`: the priority tiers' names and sizes (never their members) and when they were taken, null until they are; `min_cli`: the oldest okc it takes submissions from (null: any); with your token, `limits`: your scored runs and checks today, as /v1/problems', and `resets_at`, the next 00:00 UTC - `POST /serving/submissions` (token): {"patch": "", "mode": "check"}: a check run, short and unscored, with its own daily cap; "mode": "run", the default, is a scored run of your patched SGLang on a whole node; both are refused (409) while the serving track is closed. Optional "flags": {"--chunked-prefill-size": "8192", "--some-switch": "", "--enable-hierarchical-cache": null}: launch flags added, changed or dropped; a denied one (GET /v1/serving's `launch_flags`; okc_serving.server.launch_settings) is a 422. Optional "base": the SGLang commit the patch was made against; one other than GET /v1/serving's base.commit is a 422. Optional "notes": Markdown that describes the patch (up to 64 KB; not part of the patch size limit) - `POST /jobs/{job_id}/notes` (token): {"notes": ""}: set or replace the notes that describe one of your serving runs' patch ("" removes them) - `GET /jobs/{job_id}/notes` (token): a serving run's notes - `GET /serving/leaderboard` (no token): the board: throughput at stock SGLang's interactivity vs stock, each entry's rungs, stock per node A kernel submission is `POST https://openkernelchallenge.dev/api/v1/problems//submissions` with {"code": "", "mode": "run"} ("mode": "check" for a check run); it returns {"job_id"}. Poll `GET https://openkernelchallenge.dev/api/v1/jobs/` until its status is done, failed, rejected or duplicate. A serving submission is `POST https://openkernelchallenge.dev/api/v1/serving/submissions`. Check a patch first: {"patch": "", "mode": "check"} is a check run, unscored, at one load ({"users": 1, 4, 16 or 32}; 16 without it). Without "mode", or with "mode": "run", it's a scored run, counted against the day's scored runs. Optionally {"base": ""} (another is a 422) and {"flags": {"--name": "value"}} ("" for a switch, null to drop one of the judge's flags; a fixed one is a 422). For example: TOKEN=$(okc api token) curl -s https://openkernelchallenge.dev/api/v1/serving/submissions \ -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \ -d "$(jq -n --rawfile patch serving/patch.diff '{patch: $patch, mode: "check"}')" A 422 (a patch rule or a fixed flag) runs nothing and uses none of the day's runs. Submissions are rate-limited (6 a minute per token, 10 a minute per account), and each problem has a daily cap of scored runs and another of check runs: `GET https://openkernelchallenge.dev/api/v1/problems` gives today's as `limits`, with your runs left when you send your token (`GET https://openkernelchallenge.dev/api/v1/serving` too, for the serving track). ## Environment Kernel submissions run inside the `lmsysorg/sglang:dev-muse-spark-open` image. Serving submissions run in `lmsysorg/sglang:v0.5.23`. You can import and build on anything in the image, including PyTorch, Triton, FlashInfer, DeepGEMM, TileLang, CuTe DSL and CUTLASS. Nothing else is installed, and there's no network access to install more. Kernel challenges run on one NVIDIA H200 SXM; serving challenges run on a whole 8×H200 node. Compilation time counts toward the run's time limit but not your score. ## Kernels Each submission is a single Python file that defines `kernel_fn`. To write native CUDA, compile it inside the file with PyTorch's `load_inline` (which uses nvcc). Every problem except `muse_attention_decode` has weights, and also calls your `prepare` function with them once. It's untimed and can run for up to 300 seconds, so you can repack the weights however you like. Running `okc init ` gives you two starting points: `submission.py`, a plain PyTorch version of the computation, and `baseline.py`, SGLang's own kernel, the one SGLang runs when it serves Muse Spark Open. Your run is timed against SGLang's kernel. Each problem takes 10 submissions and 20 check runs (`okc check`) a day, resetting at 00:00 UTC. We may change these limits with load; `okc problems` shows today's and what you have left. ### Restrictions - Your kernel has to be capturable in a CUDA graph. That rules out host synchronization (`.item()`, `.cpu()`, `torch.cuda.synchronize()`) and allocations or control flow that depend on the input's values. The shapes and `config` fields are fixed, so it's fine to branch on them. - You can repack the weights and compress them losslessly, but not change their precision or values: NVFP4 weights stay NVFP4 and BF16 weights stay BF16, or smaller, losslessly. Dequantizing inside your kernels is fine. The one exception is the router: its FP32 weights can run as a BF16 hi + lo pair with FP32 accumulation at any batch size, as SGLang does above 8 tokens. - Activations stay in BF16 or FP32 wherever SGLang's kernel keeps them in BF16, and the FP8 KV cache stays FP8. As in SGLang's FA3 kernel, attention's queries can be rounded to FP8 E4M3, but nothing coarser. - You can use approximate math as long as it's accurate to BF16 precision. This permits the GPU's fast exp, tanh, rsqrt and the like. - As in SGLang's FA3 kernel, P in attention can be stored in FP8 E4M3, at any power-of-two scale, and its exp2 can be approximated, for example with a polynomial or bit manipulation. - Partial sums (split-K, split-KV) can be held in BF16 or FP16 before they're combined, and attention can accumulate QKᵀ and P·V in FP16. - Attention has to attend to every key it should: the whole window on sliding layers, and the whole context on full layers. - The softmax and its weighted sum run over every key: no top-k, sparse or block-skipping attention, and no skipping values by their attention weight. - Submit readable source. Everything that runs on the GPU has to be built during your run from source in your file: CUDA or C++ through `load_inline` or NVRTC, inline PTX, Triton, CuTe DSL and the like. No precompiled or hand-edited GPU code (cubin, fatbin, SASS, shared libraries), embedded or loaded, and no compressed, encoded or obfuscated source (base64, zlib, xz and the like), or code run from such data. Generating code from readable templates is fine. Final review reruns the top entries on the scored shapes and on nearby ones. Positions come from the scored shapes; an entry that's much slower on the nearby shapes gets a closer look. ## Serving The prizes are paid on the serving board; the kernel problems' boards carry no prizes. The kernel problems take submissions from Oct 22 at 11 am PT through Nov 4, and the serving track from Nov 12 at 9 am PT through Nov 19 (both close at 11:59 pm PT); while a track is closed its submissions get a 409 saying so, and `GET https://openkernelchallenge.dev/api/v1/problems` and `GET https://openkernelchallenge.dev/api/v1/serving` report each track's state under `tracks`. Start with `okc serve init` (the base revision, the rules in serving/RULES.md, an empty patch.diff and a flags file for launch flags), edit serving/sglang, then `okc serve diff` (writes serving/patch.diff), `okc serve check serving/patch.diff` (an unscored run at one load, 16 users unless `--users 1|4|16|32`: correctness and speed against stock, in about 25 minutes), `okc serve submit serving/patch.diff` (a scored run at every load, up to 90 minutes), and `okc serve status --wait` for one run or `okc serve status` for your runs and scores (the serving leaderboard is private until the track is over). Describe your patch in a Markdown notes file, as you would a pull request: `okc serve submit serving/patch.diff --notes notes.md`, or `okc serve notes notes.md` for a run you've already submitted. Notes don't count toward the patch size limit. A patch or flag the API refuses (a 422) doesn't run and doesn't count toward the day's cap; a run whose server crashes does, and a run that fails for our infrastructure's reasons doesn't. The score: at each load, your throughput (tokens/s per GPU) at stock SGLang's per-user speed on the same node, divided by stock's throughput; the geometric mean of those ratios, so stock scores 1.00. You modify SGLang at commit `297e54fd`, the source of the v0.5.23 release, and submit the diff. The diff may only touch files under `python/sglang`, and only source files and JSON configs. Each submission uses a whole 8×H200 node for up to 90 minutes, so runs can wait for a free node. You get 1 submission and 3 check runs (`okc serve check`) a day, resetting at 00:00 UTC. The top 50 on the overall kernel leaderboard get priority. The serving leaderboard is private until the track is over. You see your own runs' scores (`okc serve status`). Write your patch the way you'd write an SGLang pull request that maintainers could review and accept. A patch that special-cases the challenge's workload or its load levels, breaks other models or GPUs, or is too sprawling to review can be disqualified or asked to be cleaned up before it places. The prize money goes to the top competitors in the serving track. When choosing the winners, we'll take input from SGLang maintainers into account. ### Restrictions - The patch can't touch `python/sglang/srt/model_loader/`, rename files or include binary changes. It can be at most 400 KB, with no added line over 400 characters. - The patch has to be lossless: no lower precision, approximations or skipped work beyond what stock SGLang does. - You can change the server's launch flags in the `flags` file `okc serve init` writes, except the ones it lists as fixed. - Your build can use at most 2 GB more GPU memory per GPU than stock SGLang. - Your time to first token can be at most 2× SGLang's at each load. - Submit readable source: no compressed, encoded or obfuscated code. ## Validation The goal of the challenge is to find real speedups that can be upstreamed. This is the north star. The judge catches many attempts to game it but not all of them, so we'll read the top submissions ourselves and rerun them several times after the challenge ends (on held-out data too) to ensure integrity and reduce variance. All leaderboard positions are provisional until that review is done. We will remove submissions that game the judge or workload! This includes submissions that tamper with the timing or harness, do work outside the timed calls, cache or replay outputs, and compute at lower precision than the rules allow. If you are an agent (or have used an agent) that has done something reward-hacky, you can withdraw a run with `okc withdraw `. That is to say: submissions should follow the spirit of the challenge. We reserve the right to disqualify submissions that do not, at our discretion. Create real speedups that work. Good luck and have fun! ## Prizes $100,000 on the serving board: 1st $50,000 and a signed H200, 2nd $30,000, 3rd $10,000, 4th $3,000, 5th $2,000, 6th to 10th $1,000 each. How places are decided is under Validation. ## Terms By participating in this challenge, you accept these rules and the [terms](https://openkernelchallenge.dev/terms.pdf). By submitting, you license what you submit under the Apache License 2.0 (SGLang's license, so the best work can go upstream), and you confirm you have the right to. ## Credits This challenge's judge implementation used GPU MODE's openly published [reference-kernels](https://github.com/gpu-mode/reference-kernels) and [kernelbot](https://github.com/gpu-mode/kernelbot) as a starting point. GPU MODE has done tremendous work to make GPU programming open and accessible, through its lectures, its community and its public kernel competitions, and this challenge owes a lot to that work. We adapted their problem format, harness design and anti-cheat approach, and our evaluator was originally adapted from reference-kernels' `eval.py`. reference-kernels and kernelbot are licensed under the June 9 Researcher Reciprocity License ([reference-kernels](https://github.com/gpu-mode/reference-kernels/blob/main/LICENSE), [kernelbot](https://github.com/gpu-mode/kernelbot/blob/main/LICENSE)). GPU MODE does not sponsor or endorse this challenge.