# Liger-Kernel

Efficient Triton Kernels for LLM Training

Canonical page: https://www.reposhelf.co.uk/projects/github/linkedin/liger-kernel.html

- Project ID: linkedin/Liger-Kernel
- Source: GitHub
- Original project: https://github.com/linkedin/Liger-Kernel
- Description attribution: project author metadata
- Categories: AI &amp; machine learning
- Technologies: Python
- Licence: BSD-2-Clause
- Repository availability checked: 2026-11-03T10:01:10.817Z
- Demo page loaded: 2026-11-06T00:26:09.166Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> 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.

- \[2025/12/19\] We announced a liger kernel discord channel at We will be hosting Liger Kernel x Triton China Meetup in mid of January 2026
- \[2025/03/06\] We release a joint blog post on TorchTune × Liger - Peak Performance, Minimized Memory: Optimizing torchtune’s performance with torch.compile &amp; Liger Kernel
- \[2024/12/11\] We release v0.5.0: 80% more memory efficient post training losses \(DPO, ORPO, CPO, etc\)\!
- \[2024/12/5\] We release LinkedIn Engineering Blog - Liger-Kernel: Empowering an open source ecosystem of Triton Kernels for Efficient LLM Training
- \[2024/11/6\] We release v0.4.0: Full AMD support, Tech Report, Modal CI, Llama-3.2-Vision\!

## Author-documented requirements and audience

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



- Paid service — Optional: It is optional — every kernel falls back to the marshalling launch without it — but short kernels are dominated by that per-call cost, so installing it is strongly recommended.

Not recorded: Account, External API key, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/linkedin/Liger-Kernel/blob/main/README.md

Extraction checked: 2026-10-24T09:18:22.090Z

Last recorded source update: 2026-11-02T04:32:07.000Z

Saved release: v0.8.4 — 2026-09-30T20:45:42.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=linkedin%2FLiger-Kernel). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
