跳到正文
MarkTechPost· Michal Sutter·· 10 天前AI 评分58

Columbia 与 CertiK 研究人员推出 TensorLean,用于 GPU 内核的 PTX 级形式化验证

A Team of Researchers from Columbia and CertiK Introduce TensorLean for Formal Verification of GPU Kernels

AI 导读

来自 Columbia University 和 CertiK 的研究人员推出了 TensorLean,这是一个基于 Lean 的框架,可在 PTX 层面针对张量级数学规范对 GPU 内核进行形式化验证。在 149 个内核实例中(包括 FlashAttention-2、-3 和 -4 的全部内核以及 DeepGEMM),它证明了 83 个内核正确,并在 6 个项目中发现了 38 个 bug,其中 23 个位于 FlashAttention。团队表示,它捕获了 FlashAttention-4 中一个在 17,760 次测试运行中从未出现的数据竞争,规范总计 10,278 行,而内核源代码为 151,285 行。

来源:MarkTechPost · marktechpost.com

推理能力开源生态部署工程论文研究