微软与清华论文分析 7 个 GPU kernel 库的 300 条已关闭 GitHub issue,发现 60.33% 的故障源自编译器、构建系统或运行时环境,39.67% 源自 kernel 库本身。最大单一原因是驱动、CUDA、框架与软件包之间的不兼容,共 76 个 issue,占 25.33%。这类故障会导致 LLM 训练与推理任务崩溃、挂起或静默输出错误结果,且难以定位。
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