Liger Kernel: Efficient Triton Kernels for LLM Training
Pin-Lun Hsu, Yun Dai, Vignesh Kothapalli, Qingquan Song, Shao Tang,, Siyu Zhu, Steven Shimizu, Shivam Sahni, Haowen Ning, Yanning Chen

TL;DR
Liger-Kernel introduces optimized Triton kernels for LLM training, significantly improving throughput and reducing memory usage, with a focus on modularity, compatibility, and accessibility.
Contribution
This work presents Liger-Kernel, a set of optimized Triton kernels specifically designed for efficient large language model training, with notable performance improvements.
Findings
20% increase in training throughput
60% reduction in GPU memory usage
Compatibility across diverse environments
Abstract
Training Large Language Models (LLMs) efficiently at scale presents a formidable challenge, driven by their ever-increasing computational demands and the need for enhanced performance. In this work, we introduce Liger-Kernel, an open-sourced set of Triton kernels developed specifically for LLM training. With kernel optimization techniques like kernel operation fusing and input chunking, our kernels achieve on average a 20% increase in training throughput and a 60% reduction in GPU memory usage for popular LLMs compared to HuggingFace implementations. In addition, Liger-Kernel is designed with modularity, accessibility, and adaptability in mind, catering to both casual and expert users. Comprehensive benchmarks and integration tests are built in to ensure compatibility, performance, correctness, and convergence across diverse computing environments and model architectures. The source…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗PJMixers-Dev/Gemma-3-Earthen-Completion-v0.1-4B-QLoRAmodel· 1 dl1 dl
- 🤗PJMixers-Dev/Gemma-3-Earthen-Completion-v0.1-4Bmodel· 4 dl· ♡ 14 dl♡ 1
- 🤗PJMixers-Dev/Gemma-3-Earthen-v0.1-4B-QLoRAmodel· 1 dl1 dl
- 🤗PJMixers-Dev/Gemma-3-Earthen-v0.1-4Bmodel· 1 dl1 dl
- 🤗PJMixers-Dev/Gemma-3-Earthen-v0.2-4B-QLoRAmodel· 3 dl· ♡ 13 dl♡ 1
- 🤗PJMixers-Dev/Gemma-3-Earthen-v0.2-4Bmodel· 6 dl· ♡ 16 dl♡ 1
- 🤗PJMixers-Dev/Granite-3.1-Earthen-v0.3-3B-A800M-QLoRAmodel· 1 dl1 dl
- 🤗PJMixers-Dev/Granite-3.1-Earthen-v0.3-3B-A800Mmodel· 7 dl7 dl
- 🤗PJMixers-Dev/Granite-3.1-Earthen-v0.3-3B-A800M-GGUFmodel· 177 dl177 dl
- 🤗PJMixers-Dev/Granite-3.1-Earthen-v0.3-1B-A400M-QLoRAmodel· 3 dl3 dl
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsImage Processing and 3D Reconstruction · Image and Object Detection Techniques · Handwritten Text Recognition Techniques
MethodsSparse Evolutionary Training
