LinkedIn builds agentic workflows to accelerate Liger Kernel GPU kernel engineering
Writing optimized GPU kernels requires deep expertise that is scarce, and demand far outpaces the supply of engineers who can write them. Maintaining the Liger Kernel project at scale — creating kernels, supporting new models, and optimizing performance — requires hours of expert time per task and does not scale with the pace of model innovation.
Early iterations of the agentic workflows generated plausible-looking code that failed convergence tests in subtle ways, such as a wrong casting mode or an incorrect stride computation.
Agentic workflows automated kernel creation, model integration, and optimization, producing results including a 1.9x forward and 3.2x backward speedup with 37.5% memory reduction for the ReLU² kernel, a 3.35x backward speedup for the fused_add_rms_norm kernel, and a 10x encoder step-time improvement with 64.7% GPU hours saved in LinkedIn's internal training infrastructure.
Show all 14 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
Agentic workflows automated kernel creation, model integration, and optimization, producing results including a 1.9x forward and 3.2x backward speedup with 37.5% memory reduction for the ReLU² kernel, a 3.35x backward…
What tools did this team use?
Liger Kernel, liger-kernel-dev, liger-autopatch, liger-kernel-perf, Triton, PyTorch, HuggingFace Transformers, TRL, LLaMa-Factory, Flash Attention.
What results were reported?
Liger Kernel throughput improvement: 20%; Liger Kernel memory reduction: 60%; Liger Kernel total downloads: 7 million+; Liger Kernel contributors: 100+ (source-reported, not independently verified).
What failed first in this deployment?
Early iterations of the agentic workflows generated plausible-looking code that failed convergence tests in subtle ways, such as a wrong casting mode or an incorrect stride computation.
How is this quality assurance AI workflow structured?
Engineer provides input → Agent analysis and structured profiling → Human reviews structured profile → Agent generates or modifies files → Automated correctness and benchmark validation → Optimization learning accumulation → Human reviews final diff.