iCreatAI News
Skip to content
Hacker News AI· matt_d·· 1 hr agoAI score48

Test, Reduce, Prove: Validating the Most Complex AI GPU Kernels with RESOLVE

Test, Reduce, Prove: Validating the Most Complex AI GPU Kernels with RESOLVE

AI summary

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.

Source: Hacker News AI · risemsr.github.io