What problem does it solve?
Optimizing vLLM Omni diffusion serving (Wan, Qwen, Flux-style image and video generation) is hard because profiler traces distort latency, parallel strategies interact in complex ways, and optimizations risk silently degrading output quality. This Skill provides a disciplined workflow that separates real baselines from diagnostic traces and enforces quality gates on every change.
Core Features & Use Cases
- Baseline and trace discipline: Collect low-overhead latency baselines separately from torch profiler diagnostic traces, then analyze trace.json/trace.json.gz files with the included trace_analyzer.py script to find GPU idle gaps, top operators, and NCCL communication costs.
- Parallel strategy search: Model and A/B test USP/SP, CFG parallel, HSDP/FSDP, and VAE patch parallelism across 2, 4, or 8 GPU configurations with stage-level timing comparisons.
- Prioritized optimization plans: Produce P0/P1/P2 candidate tables covering host/runtime fixes, operator fusion, attention optimization, VAE pipeline tuning, and quantization, each with evidence, validation plans, and quality risk.
- Use Case: Given an 8-GPU Wan2.2 I2V video generation deployment with high latency, use this Skill to compare CFG=2 x USP=4 against USP=8, profile the dominant diffuse stage, and produce a validated optimization plan.
Quick Start
Ask the assistant to analyze and optimize your vLLM Omni diffusion workload by providing your GPU setup, model, server startup command, request command, and benchmark command.