Where the bugs actually are
GPU kernel libraries are the layer where a transformer meets the hardware, and when they go wrong the symptoms are unusually bad: silently corrupted outputs, hung GPUs, or a build that simply will not compile. A paper posted to arXiv on 6 November by Yanjie Gao, Jiayi Bi, Haoxiang Lin and Ling Feng is, the authors say, the first comprehensive empirical study of what actually goes wrong in them.
The method is manual and small: 300 GitHub issue reports, with their discussions and whatever fixes were available, read across seven libraries — FlashInfer, FlashAttention, Triton, CUTLASS, DeepGEMM, xFormers and bitsandbytes. The authors characterise symptoms, root causes, fixes, and the testing and debugging practices that surrounded them.
The headline number

60.33% of the sampled issues fell into the compiler and build system or runtime environment categories. Fewer than two in five were in the dimension most people mean when they say a kernel has a bug.
The authors draw the obvious conclusion: validation has to cover the deployment and execution stack, not only the kernel source. A test suite that exercises the arithmetic on a developer’s machine and nowhere else is testing the part of the system least likely to fail.
Why specialisation bites
The paper’s qualitative finding is that kernel specialisation — the thing that makes these libraries fast — imposes implicit correctness constraints that nothing in the code states. Tensor shapes, metadata layouts, memory aliasing and hardware resources all have to line up, and when they do not the result is a wrong output or a launch failure rather than a compile error.

The testing practices the authors found are, by their account, often insufficient for exactly the two categories that matter most: low-precision numerical problems, where the answer is wrong rather than absent, and hardware-specific execution failures, which do not reproduce on the machine the developer has.
What it is and is not
This is a 300-issue sample read by hand, not a measurement of defect rates in deployed systems. Issue trackers over-represent problems users could not solve themselves, and a library whose build breaks loudly will generate more reports than one that quietly returns slightly wrong numbers.
Still, the distribution is a useful corrective. The people writing these libraries are compiler and systems engineers as much as numerical ones, and the paper’s data says the work is weighted that way too. It is published under CC BY 4.0.