Oossa

A GPU checker proved 83 pieces correct—and still found 38 bugs

The bugs were found in FlashAttention, DeepGEMM and other production code.

NoteBy Published by Oossa: 1 min read

TensorLean checks GPU kernels at the PTX assembly level with the Lean theorem prover. It examined 149 kernel instances, proved 83 of them correct, and uncovered 38 bugs across FlashAttention, DeepGEMM and other production code.

149 kernel instances were checked

38 bugs were discovered in FlashAttention and DeepGEMM

Developers can catch subtle GPU bugs early, improving reliability of performance‑critical code.

Why it matters

Developers can catch subtle GPU bugs early, improving reliability of performance‑critical code.

What it means for you

If you rely on FlashAttention, TensorLean’s bug report means you may need to patch or formally verify your implementation before deploying it.

Our take: The tool shows formal methods can scale to real GPU code, though independent validation of the bug fixes is still pending.

Was this article useful?
Share

Read next

Oossa · Newsletter

The week in AI, explained

Every Monday: the stories worth knowing, in plain language. Free, no spam.