Liger kernels go multi-DSL: up to 3.9× faster tensor-parallel cross-entropy on B300
AnimeshSingh · x · 2026-12-03
LinkedIn engineer Animesh Singh details Liger's evolution (12M+ downloads) from pre-built fused Triton kernels to a multi-DSL kernel library, expanding with NVIDIA to CUDA C++, CuTe DSL and cuTile for large-scale RL and post-training of trillion-parameter MoE models on Blackwell GPUs:
- Optimize compute and communication together: CUDA + NVSHMEM overlaps GPU communication with compute, delivering up to 3.9× faster tensor-parallel fused linear scaled cross-entropy than VeRL's chunked PyTorch baseline on B300.
- A new backend improves the old one: rewriting fused linear cross-entropy in CuTe DSL exposed wasteful allocations in the Triton version; lessons flowed back for 1.2–4.9× speedups and 46–60% less peak memory.
- Fusion only helps if matmul stays fast: combining matmul and activation in CuTe DSL gave fused SwiGLU up to 1.49× speedup.
More from Infra
- What inference engine for Qwen3 27B ≥Q8 quant on 3x V100 32GB? — MrCatberry · 2026-12-03
- Cloudflare co-founder urges immediate move to post-quantum cryptographic algorithms per NSA guidance — toptickcrypto · 2026-12-03
- Replit details new sandbox engine: Kubernetes-orchestrated microVMs starting 1M+ sandboxes daily — amasad · 2026-12-03
- Trump says Nvidia to launch 2 new chips that will make Blackwell obsolete — CodeByPoonam · 2026-12-03
- Per-sample clipping paper: faster robust training, and it uncovered garbled text in FineWeb — bremen79 · 2026-12-03
- Action list from the NSA crypto disclosure: drop RSA/DH now, migrate to ML-KEM/ML-DSA/SLH-DSA — GlenBradley · 2026-12-03