微软与清华大学联合发布论文,指出大语言模型系统中 GPU 算子库的多数故障来自编译器、构建系统和运行环境,而非算子代码本身。研究团队分析了 FlashAttention、Triton 和 CUTLASS 等 7 个开源库的 300 个已关闭 GitHub issue,发现 60.33% 的问题由编译器构建或运行时环境导致,其中驱动、CUDA 与框架间的软件不兼容占比达 25.33%。
New Microsoft and Tsinghua paper finds that most GPU kernel library failures in LLM systems come from compilers, builds, and environment mismatches, not kernel code.
LLM training and serving depend on GPU kernel libraries like FlashAttention, Triton, and CUTLASS. When they break, jobs can crash, hang, or silently produce wrong outputs, and the cause is hard to trace.
The team read 300 closed GitHub issue reports from 7 of these libraries, including the discussions and fixes. They labeled each one by what the user saw and what caused it.
Of the 300 issues, 60.33% traced to the compiler and build system or the runtime environment, and 39.67% to the kernel library. The largest single cause was software incompatibility among drivers, CUDA, frameworks, and packages, at 76 issues or 25.33%.
来源:Rohan Paul · x.com