Enterprise DNA
O Open Source Frameworks medium

Liger-Kernel

by Community

Efficient Triton Kernels for LLM Training

L

OSS

Liger-Kernel

Added 1 June 2026

#finetuning #gemma2 #hacktoberfest #llama #llama3 #llm-training #llms #mistral

Overview

Liger-Kernel is a collection of efficient Triton kernels designed to accelerate large language model training. It provides drop-in replacements for common operations like attention and normalization, reducing memory usage and improving throughput. The kernels are implemented in Python using OpenAI's Triton language.

Best for

Best for
Developers training large language models who want to optimize throughput and memory without rewriting their training loops.

Use cases

  • Speed up LLM training by replacing standard PyTorch operations with optimized kernels
  • Reduce GPU memory consumption during training of large transformer models
  • Integrate into existing training pipelines with minimal code changes

Notes

Liger-Kernel is a collection of efficient Triton kernels designed to accelerate large language model training. It provides drop-in replacements for common operations like attention and normalization, reducing memory usage and improving throughput. The kernels are implemented in Python using OpenAI’s Triton language.

6,400 stars on GitHub. Last updated 2026-06-01. Licensed BSD-2-Clause.

Use cases

  • Speed up LLM training by replacing standard PyTorch operations with optimized kernels
  • Reduce GPU memory consumption during training of large transformer models
  • Integrate into existing training pipelines with minimal code changes

Pros

  • Significant performance gains with simple drop-in replacement
  • Open source with 6,400 GitHub stars indicating community trust
  • Reduces memory footprint, enabling larger batch sizes or models

Cons

  • Requires Triton compiler and compatible GPU hardware
  • Limited to operations covered by the provided kernels
  • May not support all model architectures or custom layers

Indexed from awesome-llm and enriched against its public facts.

Pros

  • Significant performance gains with simple drop-in replacement
  • Open source with 6,400 GitHub stars indicating community trust
  • Reduces memory footprint, enabling larger batch sizes or models

Cons

  • Requires Triton compiler and compatible GPU hardware
  • Limited to operations covered by the provided kernels
  • May not support all model architectures or custom layers

Pairs with

Other entries in the index that connect to this one. Click through to see the chain.