Skip to content
r.

Liger-Kernel

linkedin/Liger-Kernel · Public GitHub repository

Efficient Triton Kernels for LLM Training

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

Liger-Kernel live demo screenshot
Captured from the live demo · 2026-11-06

About this project

Author-written excerpt from the project README.

Installation | Getting Started | Examples | High-level APIs | Low-level APIs | Cite our work

Liger Kernel is a collection of Triton kernels designed specifically for LLM training. It can effectively increase multi-GPU training throughput by 20% and reduces memory usage by 60%. We have implemented Hugging Face Compatible RMSNorm, RoPE, SwiGLU, CrossEntropy, FusedLinearCrossEntropy, and more to come. The kernel works out of the box with Flash Attention, PyTorch FSDP, and Microsoft DeepSpeed. We welcome contributions from the community to gather the best kernels for LLM training.

We've also added optimized Post-Training kernels that deliver up to 80% memory savings for alignment and distillation tasks. We support losses like DPO, CPO, ORPO, SimPO, KTO, JSD, and many more. Check out how we optimize the memory.

Requirements and intended audience

Installation | Getting Started | Examples | High-level APIs | Low-level APIs | Cite our work

Not recorded: account, external api key, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-24. Source: https://github.com/linkedin/Liger-Kernel/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-02. Saved release: v0.8.4 · 2026-09-30. These dates do not guarantee ongoing maintenance.

Technologies
Python
Licence
BSD-2-Clause. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-06. This does not test every feature.

Browse related categories