linkedin/Liger-Kernel

Efficient Triton Kernels for LLM Training

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 51 seconds ago
Added to GitGenius on September 10th, 2026
Created on August 6th, 2024
Open Issues & Pull Requests: 229 (+0)
GitHub issues: Enabled
Number of forks: 599
Total Stargazers: 6,610 (+0)
Total Subscribers: 55 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 19.7 hours
Mean response time: 13.2 days
90th percentile: 29.9 days
Tracked items: 296

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 83% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 46% of tracked open issues have had no activity in three months. Only 5% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 105
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 393 days
Stale 30+ days: 90
Stale 90+ days: 66

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • feature (24)
  • good first issue (21)
  • bug (14)
  • huggingface (9)
  • help wanted (6)
  • p0 (6)
  • enhancement (4)
  • high-priority (3)

Detailed Description

Liger Kernel is a collection of efficient Triton kernels designed to optimize large language model training.

The tool addresses the computational and memory overhead of LLM training by implementing custom Triton kernels that fuse operations and reduce memory consumption. It provides both high-level APIs that integrate directly with popular training frameworks and low-level APIs for fine-grained control. The kernels target common bottlenecks in LLM workflows, including attention mechanisms, loss computations, and other frequently executed operations during training.

Teams training large language models should consider this tool if they need to reduce memory usage or accelerate training on NVIDIA or AMD GPUs. It works well for fine-tuning scenarios and integrates with existing PyTorch-based training pipelines. The project supports multiple model architectures including Llama, Mistral, Gemma, and Phi variants. It is particularly suited for projects where memory efficiency or training speed directly impacts feasibility or cost.

The project maintains both stable and nightly release channels, indicating active ongoing development. The codebase includes a technical report documenting the kernel implementations and their performance characteristics. The tool has expanded its scope to cover post-training losses used in preference optimization methods. Support for AMD GPUs has been added alongside the original NVIDIA focus, broadening hardware compatibility.