Skip to content
WeChat · Synced (Jiqizhixin)·Indexed by this site · Originally published· Tools →· Its place in the scan record →

Multiple production-grade AI operators in DeepSeek and FlashAttention receive TensorLean formal verification

全球首次!DeepSeek与FlashAttention的多个生产级AI算子获得形式化验证

AI summary

CertiK and Columbia University researchers announced TensorLean on November 20, performing formal verification of PTX code compiled from production-grade AI operators, which they call the first such effort globally. The team evaluated 149 compiled GPU kernel instances; 83 passed Lean specifications on first verification, and 66 had defects, accounting for 44.3%; across 6 libraries they found 38 correctness issues in total, including 2 in DeepSeek's DeepGEMM and 23 in FlashAttention, all of which have now been fixed and reported to the developers. The coverage included 37 source kernels from FlashAttention-2 through -4 and 27 DeepSeek-related kernels. Methodologically, the team built a PTX semantics model in Lean, used a parser of about 1,800 lines to convert compiled code, and split specifications into four parts, including mathematical logic and memory layout, to reduce writing costs.

Read originalmp.weixin.qq.com