Liger Kernel
Provides drop‑in, high‑performance Triton kernels that speed up the matrix‑multiply layers of large‑language‑model training.
- •You are training a transformer‑based LLM on GPUs and need > 10% speed‑up on the linear layers.
- •Your code already uses PyTorch nn.Linear and you want a minimal‑code change to get faster kernels.
- •You have a CUDA‑compatible GPU (11.8+) and want to squeeze more FLOPs out without rewriting the whole training loop.
python examples/train_gpt2.py --model-name gpt2-medium --batch-size 16 --seq-length 1024 --epochs 5
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/liger-kernel && curl -fsSL https://workflowstacks.com/api/skills/liger-kernel/claude-skill -o ~/.claude/skills/liger-kernel/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Liger Kernel is a very large Python project (~104k lines across 372 code files, plus 129 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit this month, BSD-2-Clause license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2AGENTS.mdThe instructions the AI actually follows
- 3pyproject.tomlDependencies and the commands it exposes
- 4src/liger_kernel/__init__.pyInside src/ — the main logic begins here
- 5examples/alignment/accelerate_config.yamlA worked example — copy this to get going
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/liger-kernel && curl -fsSL https://workflowstacks.com/api/skills/liger-kernel/claude-skill -o ~/.claude/skills/liger-kernel/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/liger-kernel?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Related skills
More ai-agent tools founders pair with this one.