sglang-diffusion-ako4all-kernel

Optimize SGLang diffusion kernels with AKO4ALL tuning and ncu-guided iteration.

410|14|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/OpenMOSS/MOSS-VL --skill sglang-diffusion-ako4all-kernel-openmoss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sglang-diffusion-ako4all-kernel
Source: https://github.com/OpenMOSS/MOSS-VL/tree/main/sglang/python/sglang/multimodal_gen/.claude/skills/sglang-diffusion-ako4all-kernel
Command: npx skills add https://github.com/OpenMOSS/MOSS-VL --skill sglang-diffusion-ako4all-kernel-openmoss

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Optimizes an existing SGLang diffusion kernel using AKO4ALL to bootstrap a complete optimization loop, including repository hygiene, custom microbenchmarking, and end-to-end validation. It also covers cloning or refreshing a sibling AKO4ALL project when needed.

Core Features & Use Cases

  • AKO4ALL preflight and hygiene to ensure a clean starting point for kernel work.
  • Build and run a tailored AKO4ALL harness that mirrors the real kernel environment.
  • Perform baseline microbenchmarks, iterative tuning with ncu, and port the best version back to sglang.
  • Validate results with model-level denoise tests and prepare PR-ready artifacts.

Quick Start

Start by ensuring AKO4ALL is clean and then run the full AKO4ALL-based kernel optimization flow on your SGLang diffusion kernel.

Frequently Asked Questions about sglang-diffusion-ako4all-kernel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize an SGLang diffusion kernel using AKO4ALL?

To optimize an SGLang diffusion kernel using AKO4ALL, you bootstrap a complete tuning loop by ensuring repository hygiene, building a tailored microbenchmark harness, running iterative ncu-guided profiling, and porting the best version back to sglang.

What is the best way to set up ncu-guided kernel tuning for SGLang?

The best way to set up ncu-guided kernel tuning for SGLang is to build and run a tailored AKO4ALL harness that mirrors the real kernel environment, perform baseline microbenchmarks, and iterate using ncu profiling data.

How do I validate kernel optimization results before porting them back to SGLang?

You validate kernel optimization results by running model-level denoise tests to ensure production readiness, then packaging the validated kernel version as PR-ready artifacts for integration back into SGLang.

Do I need a clean AKO4ALL repository to start kernel optimization?

Yes, you need a clean AKO4ALL repository to start kernel optimization. The process requires AKO4ALL preflight and hygiene to ensure a clean starting point, along with access to microbench and bench tooling.

When should I use AKO4ALL for SGLang kernel optimization instead of other approaches?

You should use AKO4ALL for SGLang kernel optimization when a hotspot is confirmed and you require AKO4ALL hygiene, custom harness setup, and ncu-guided iteration to bootstrap a complete end-to-end tuning loop.