liger-kernel-perf
OfficialOptimize Liger Triton kernels for speed and memory
Authorlinkedin
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The skill automates the end‑to‑end tuning of Liger Kernel Triton kernels, eliminating the manual effort of profiling, diagnosing bottlenecks, generating variant implementations, and validating correctness.
Core Features & Use Cases
- Profiling: Detects whether a kernel is memory‑bound or compute‑bound and records a detailed optimization profile.
- Variant Generation: Systematically sweeps parameters and applies diagnosis‑driven strategies from a catalog of optimizations.
- Safety Gates: Runs smoke tests, full test suites, and checkstyle checks before any code change is applied.
- Finalization: Commits the winning variant, produces comparison plots, and creates a PR with only the necessary changes.
- Use Cases: Speed up inference, lower memory footprint, or balance both for kernels like
rms_norm,cross_entropy, or any custom Liger kernel on NVIDIA GPUs.
Quick Start
Ask the skill to optimize the rms_norm kernel for faster inference on an Ampere GPU.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: liger-kernel-perf Download link: https://github.com/linkedin/Liger-Kernel/archive/main.zip#liger-kernel-perf Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.