Shows that rewriting a kernel in a lower-level DSL can reveal inefficiencies fixable in the original Triton version, and that AI coding tools make multi-DSL kernel work practical. Useful for engineers optimizing Large language modelA model trained on large amounts of data to process and generate language.Full definition →TrainingThe process that adjusts a model using examples and a measure of how well it performs.Full definition →throughputHow much model output a provider can generate over time, commonly measured in output tokens per second.Full definition → and memory.
Key takeaways · AI-distilled
LinkedIn's Liger-Kernel team, which started in Triton, now also writes CUDA C++, CuTe DSL and cuTile kernels, crediting AI coding tools with making cross-language GPU work practical, and concludes no single GPU programming model is best for every workload.
A fused SwiGLU kernel in CuTe DSL beat PyTorch's two-GEMM baseline in every tested Blackwell configuration, typically by over 10% and up to 1.49x, while the Triton version did not beat the baseline because its GEMMs fell short of cuBLAS at those shapes.
A tensor-parallel fused linear cross-entropy kernel in CUDA with NVSHMEM overlaps the cross-GPU gradient reduction with weight-gradient compute and ran up to 3.9x faster than verl's PyTorch PathA description of a file or folder location, written using directory names and separators.Full definition →: 3.3-3.9x on Qwen3-30B-A3B but 1.5-2.0x on DeepSeek-V3.
Rewriting fused linear cross-entropy in CuTe DSL exposed waste in the Triton version, such as weight-sized temporary tensors per chunk; porting the fixes back made Liger v0.8.5 1.2-4.9x faster with 46-60% less peak memory than v0.8.0, with no user code changes.
The authors note the cost: CUDA and CuTe DSL kernels are tied to NVIDIA hardware and sometimes one GPU generation, so they plan automatic per-GPU backend selection behind the same API while keeping portable Triton kernels.
Terms in this piece · Glossary
Large language model — A model trained on large amounts of data to process and generate language.
Training — The process that adjusts a model using examples and a measure of how well it performs.
throughput — How much model output a provider can generate over time, commonly measured in output tokens per second.
Path — A description of a file or folder location, written using directory names and separators.