Language models generate gpu kernels but speed benefits are limited
How Much of a Real Workload Can LLM-Generated GPU Kernels Actually Reach?
Summary
The paper looks at how well computer programs written by language models speed up GPU computing tasks compared to traditional methods. Some advanced models can write nearly correct programs for most tasks and speed up a few by about 1.2 times, but open-source versions perform worse. The researchers studied how much of actual computing time these programs could improve and found it ranges widely from under 10% to about 58%. For common AI models like transformers, improvements in kernel speed translate to only about a 1% overall speed gain. They also created a new benchmark for recommender system kernels and found modest improvements there too. The paper highlights issues in testing if kernels produce correct results and suggests better tests.
What this means in practice
- •For machine learning engineers: Estimate realistic performance gains when using language-model-generated GPU kernels in AI workload optimization.
- •For systems performance teams: Use the DLRM-Bench to evaluate custom GPU kernel improvements in recommender system workloads.