EveryDev.ai
Subscribe
Home
Tools

6,671+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3542
  • Coding2670
  • Infrastructure1126
  • Projects931
  • MCP913
  • Research774
  • Analytics603
  • Marketing553
  • Design537
  • Testing500
  • Data456
  • Security449
  • Communication330
  • Prompts310
  • Integration308
  • Extensions264
  • Voice236
  • DevOps204
  • Commerce192
  • Learning145
  • Web136
  • Finance44
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. Liger Kernel
    Liger Kernel icon

    Liger Kernel

    AI Infrastructure

    Open-source collection of Triton kernels that speeds up LLM training and cuts memory usage.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Liger Kernel is a collection of Triton kernels for LLM training, released under the BSD 2-Clause license and installable via pip.

    Engagement

    Available On

    macOS
    Linux
    Android
    iOS
    Web

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI InfrastructureAI Development LibrariesCompute Optimization

    Alternatives

    torchtitanLoongForgeRazer AIKit
    Developer
    LinkedInSunnyvale, CAEst. 2002$103M raised

    Listed Oct 2026

    About Liger Kernel

    Liger Kernel is an open-source collection of Triton kernels for LLM training, developed by LinkedIn. It provides Hugging Face-compatible implementations of layers such as RMSNorm, RoPE, SwiGLU, CrossEntropy and FusedLinearCrossEntropy, plus post-training loss kernels. The project states it can raise multi-GPU training throughput by about 20% and reduce memory usage by about 60% under its benchmark conditions.

    What It Is

    Liger Kernel is a Python library that replaces standard model layers and loss functions with fused, memory-efficient Triton kernels. It is used by ML engineers who train or fine-tune LLMs and want longer context lengths, larger batch sizes or larger vocabularies on the same hardware. The authors state the computation is exact rather than approximate, with forward and backward passes covered by unit tests and convergence tests.

    How You Apply It

    There are three paths. AutoLigerKernelForCausalLM automatically patches supported Hugging Face models. Model-specific functions such as apply_liger_kernel_to_llama let you choose which kernels to enable. Individual modules, such as LigerFusedLinearCrossEntropyLoss, can also be composed into your own model. Patching APIs cover many model families, including Llama, Mistral, Gemma, Qwen, Phi3, DeepSeek and GPT-OSS.

    Post-Training and Distillation Kernels

    Chunked fused-linear loss kernels cover alignment methods (DPO, ORPO, CPO, SimPO, KTO) and distillation losses (JSD, KL divergence, TVD). The project says these can cut memory usage by up to 80%.

    Hardware and Backends

    The kernels run on CUDA and ROCm, with Ascend NPU dependencies also documented. Optional cuTile and CuTe DSL backends for CUDA are enabled via the LIGER_KERNEL_IMPL environment variable. The kernels work with Flash Attention, PyTorch FSDP, DeepSpeed and DDP. Trainer integrations listed include Axolotl, LLaMA-Factory, TRL SFTTrainer, Hugging Face Trainer, SWIFT and oumi.

    Liger Kernel - 1

    Community Discussions

    Be the first to start a conversation about Liger Kernel

    Share your experience with Liger Kernel, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Liger Kernel is a collection of Triton kernels for LLM training, released under the BSD 2-Clause license and installable via pip.

    • License: BSD 2-Clause "Simplified" License (BSD-2-Clause)
    • Install with pip install liger-kernel
    • Nightly version available via pip install liger-kernel-nightly
    • Hugging Face compatible RMSNorm, RoPE, SwiGLU, CrossEntropy, FusedLinearCrossEntropy kernels
    • Post-training kernels (DPO, CPO, ORPO, SimPO, JSD)

    Capabilities

    Key Features

    • Triton kernels for RMSNorm, RoPE, SwiGLU, CrossEntropy and FusedLinearCrossEntropy
    • One-line patching of Hugging Face models
    • AutoLigerKernelForCausalLM wrapper
    • Fused linear alignment losses (DPO, ORPO, CPO, SimPO, KTO)
    • Distillation kernels (JSD, KL divergence, TVD)
    • Exact computation with unit and convergence testing
    • Multi-GPU support (FSDP, DeepSpeed, DDP)
    • Optional cuTile and CuTe DSL backends
    • Minimal dependencies (Torch and Triton)

    Integrations

    Hugging Face Transformers
    Hugging Face TRL
    Axolotl
    LLaMA-Factory
    SWIFT
    oumi
    PyTorch FSDP
    DeepSpeed
    Flash Attention
    Lightning Thunder
    torchtune
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Liger Kernel and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    LinkedIn

    Founded 2002
    Sunnyvale, CA
    $103M raised
    17,000 employees

    Used by

    Fortune 500 companies (LinkedIn says…
    Global employers using Recruiter and…
    Professionals and enterprises using…
    Hugging Face ecosystem users of Liger…
    Read more about LinkedIn
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    torchtitan icon

    torchtitan

    A PyTorch-native platform for pretraining and post-training generative AI models at scale with composable parallelism.

    LoongForge icon

    LoongForge

    An open-source high-performance training framework for LLMs, VLMs, diffusion, and embodied models on NVIDIA GPUs and Kunlun XPUs, with up to 5× speedup over open-source baselines.

    Razer AIKit icon

    Razer AIKit

    Open-source AI development toolkit for running and fine-tuning LLMs locally on a single GPU or multi-GPU cluster, built on vLLM, Ray, and LlamaFactory.

    Browse all tools

    Related Topics

    AI Infrastructure

    Infrastructure designed for deploying and running AI models.

    609 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    601 tools

    Compute Optimization

    Tools for optimizing computational resources and performance.

    99 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions
    4views