Skip to content
Project

Liger Kernel

Triton kernels for efficient LLM training.

Stars
6.7k
Forks
672
Open issues
272
Latest release
v0.8.5
License
BSD-2-Clause
Language
Python
Stars
latest
6.7k▲ 63
Forks
latest
672▲ 56
Open issues + PRs
latest
272▲ 76
Merged PRs (30d)
latest
28▼ 23
PR authors (90d)
latest
46▲ 18
Releases (365d)
latest
8▼ 1

Daily snapshots since metrics history started (44 days so far); trends need at least a week.

Contribute

Contributing guide
CONTRIBUTING ↗
Open wanted issues
1 good first issue, 2 help wanted
Merged PRs (30d)
28
Release cadence
8 in 365 daysmedian 27.9 days apart

GitHub community profile 62%. Maintainer response time is not collected yet.

Top ranked issues

Good first issueLiger Kernel#6172

[feat] on-paper form of RoPE

🚀 The feature, motivation and pitch right now our implementation of RoPE assumes the rotation matrix is created and used in the HuggingFace model code way, i.e. instead of the rotation matrix described in original RoPE paper we assume it looks something like this instead: math…

good first issuefiled by a maintainer

Demand: 0 reactions, 4 comments · Maintainer engagement: 28 PRs merged in the project in 30 days; filed by a maintainer · Feasibility: labelled as a starter issue · Freshness: updated 24 days ago

Help wantedLiger Kernel#65657

DeepSeek Native Sparse Attention (NSA) Kernel

🚀 The feature, motivation and pitch Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention Potentially useful python reference Alternatives No response Additional context No response

help wantedfiled by a maintainer

Demand: 4 reactions, 8 comments · Maintainer engagement: 28 PRs merged in the project in 30 days; filed by a maintainer · Feasibility: help wanted (scope not marked as small) · Freshness: updated 142 days ago

Help wantedLiger Kernel#89347

TiledMLP

🚀 The feature, motivation and pitch TiledMLP can save memory for large bs/long seq as well Reference code: parallel/ulysses sp.py L781 Thanks to @upskyy, the base implementation has been done in However, the current is not compatible with ddp and fsdp, see…

help wantedfiled by a maintainer

Demand: 1 reactions, 13 comments · Maintainer engagement: 28 PRs merged in the project in 30 days; filed by a maintainer · Feasibility: help wanted (scope not marked as small); long discussion · Freshness: updated 264 days ago

Opportunities

5 concerning this

Review · 1open tab →

RFC / designLiger Kernel#153125

[RFC] Add TileLang Backend Support

Background and Goal I would like to propose adding TileLang as an optional DSL backend in Liger-Kernel, selected through the public backend name tilelang. Each operator would declare its supported devices and configurations. TileLang supports targets including CUDA, ROCm, and…

open RFC

Signals · 4open tab →

Recurring pain

“returns wrong” in open issues of 24 projects

24 projects56 open issues
Recurring pain

“illegal memory” in open issues of 20 projects

20 projects72 open issues
Recurring pain

“silently returns” in open issues of 16 projects

16 projects38 open issues
Recurring pain

“returns nan” in open issues of 15 projects

15 projects35 open issues

Research implemented

1
  • 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…

Maintainers

1

Top contributors

16

Releases & tracking issues

17