Microsoft RESOLVE validates three GPU mega-kernels
Understand this story
Microsoft Research proposes the RESOLVE validation method, which uses program simplification techniques in concurrent testing to simplify complex GPU mega-kernels that are difficult to formally prove directly into simple programs whose correctness can be proven. The research team says that in the three cases of Mirage, LUCE, and the FlashMoE router, they proved that the simplified kernels are equivalent to the reference implementations on the tested workloads, and found new bugs, reproduced bugs that were only discovered after release, and also revealed subtle differences between inference implementations. The team says it has submitted 6 fix PRs for these mega-kernels, of which 4 have been merged. The validation conclusions have scope limitations: the testing and simplification apply only to the binaries, compilers, GPUs, and inputs used, and the proofs cover only the listed model sizes, batch sizes, and prompt lengths; the Mirage case tested only the single-request scenario with a KV cache of no more than one page, and bugs that require multiple requests or multiple pages to trigger (such as the page table offset involved in Mirage #812) are outside the scope of the checks.
AI overview based on source reports · Updated 43 min ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AITest, Reduce, Prove: Validating the Most Complex AI GPU Kernels with RESOLVE
RESOLVE is a validation approach that uses concurrency-testing techniques to reduce complex GPU programs to simpler ones that can be proved correct, applied to mega-kernels such as Mirage, LUCE and the FlashMoE router. Across three case studies it proved each mega-kernel equivalent to its reference on the checked workloads, found new bugs, reproduced bugs found only after release, and uncovered differences between inference implementations, with 6 bug-fix pull requests opened and 4 already merged. The method tests determinism by inserting random delays into the compiled binary, has an agent rewrite the kernel into reduced-concurrency CUDA that must match bit for bit, then proves the reduced programs equal in Kuiper.
Activity for this story
Not enough continuous observations to show a trend yet.