TensorLean Formally Verifies Production AI GPU Kernels
CertiK and Columbia University researchers announced TensorLean, a system that formally verifies compiled GPU PTX kernels against Lean specifications, including concurrency, asynchronous data transfer and floating-point error bounds. The team evaluated 149 compiled kernel instances, with 83 initially passing verification, and reported finding 38 correctness issues across six kernel libraries, including DeepGEMM and FlashAttention. All detected defects were reportedly fixed and reported to developers.
TensorLean could give AI infrastructure teams a machine-checkable way to verify optimized GPU kernels after compilation, where traditional source-level tests and sampled inputs may miss correctness errors.
2025 年 8 月,一些 Claude 用户遇到了一件怪事。
明明用英语提问,回答里却突然冒出泰文;让它写代码,生成的程序里又出现了明显的语法错误。对遇到问题的用户来说,大模型就像突然「失控」了。
Anthropic 后来在复盘中解释,一项用于提速的运行时优化影响了部分 TPU 服务器。
Anthropic 公布的 Claude API 故障时间线。中间一行是文中所述的输出异常:8 月 25 日出现,9 月 2 日回滚相关优化。图源:Anthropic,2025 年 9 月 17 日。
一次简单的性能优化,却意外引入了计算错误,干扰了模型正常的概率分布。一些原本几乎不可能被选中的 Token 获得了异常高的概率,模型输出因此变得混乱而不可预测。
#TensorLean#CertiK#Columbia University#DeepSeek#DeepGEMM#FlashAttention#Lean