What problem does it solve?
This Skill provides a disciplined workflow for optimizing existing SGLang diffusion kernels without relying on unvalidated microbenchmark improvements or leaving the AKO4ALL tuning repository in an inconsistent state.
Core Features & Use Cases
- AKO4ALL Repository Hygiene: Clones or refreshes a sibling AKO4ALL repository and verifies its branch, remotes, cleanliness, and synchronization with upstream before tuning begins.
- Kernel Optimization Loop: Builds a custom harness, establishes correctness and performance baselines, profiles representative shapes with
ncu, and records one-change-at-a-time optimization iterations.
- Production Validation: Ports the best candidate back to SGLang and validates it with targeted tests, kernel benchmarks, denoise performance dumps, end-to-end comparisons, and generated model outputs.
- Use Case: When profiling identifies a slow Triton or CUDA diffusion kernel, use this Skill to reproduce it in AKO4ALL, measure candidate improvements, diagnose the hardware-level cause, and confirm that the win transfers to real model denoising.
Quick Start
Use the SGLang diffusion AKO4ALL kernel skill to optimize the identified hotspot, validate it on representative shapes, and prepare before-and-after performance evidence.