What problem does it solve?
This Skill aids in the optimization of FLA kernels by providing a structured and disciplined optimization loop that ensures correctness while speeding up kernel performance.
Core Features & Use Cases
- Disciplined Optimization Loop: Offers a step-by-step approach to optimize kernel performance.
- Correctness Ensured: Uses frozen tests and strict criteria to ensure correctness throughout optimization.
- Multi-Phase Approach: Provides a phased optimization strategy with clear validation and iteration protocols.
- Backend Support: Works across different backend languages including Triton, Gluon, TileLang, and CuTe.
- Use Case: For software engineers working with sequence models, the skill helps to make an existing FLA kernel faster across multiple iterations without breaking correctness.
Quick Start
Start optimizing an FLA kernel by following the instructions outlined in the 'SKILL.md' file. Begin by drafting the task contract, and then proceed with three phases: correct baseline, profile-guided optimization, and shape specialization.