skills/model-optimization/sglang/sglang-qwen-vlm-omni-asr-optimization/SKILL.md
PR-diff-backed optimization manual for Qwen2.5-VL, Qwen3-VL, Qwen3-VL-MoE, Qwen3-Omni, Qwen3-ASR, and Qwen3.5 multimodal paths in SGLang. Use when an engineer needs to audit, debug, extend, or document multimodal processors, ViT DP/PP/chunk/cache, mRoPE, DeepStack, EAGLE3, LoRA, audio encoder, streaming ASR, encoder disaggregation, AMD/NPU/CPU support, or Qwen VLM cookbook deployment recipes.
npx skillsauth add BBuf/AI-Infra-Auto-Driven-SKILLS sglang-qwen-vlm-omni-asr-optimizationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Before writing or changing model optimization documentation, read the relevant PR diffs directly and record the motivation, implementation path, key code snippet, reviewed files, and validation notes. Do not summarize a PR with only a title-level sentence.
For this skill, start with:
references/pr-history.md: manually written PR cards with source-diff evidence.references/playbook.md: symptom-to-file investigation path and validation lanes.This skill covers the Qwen multimodal lane:
qwen_vl.py,
Qwen VLM processor code, or encoder-disaggregation code.It is separate from Qwen3 text-only optimization because most regressions here sit in processors, vision/audio encoders, mRoPE/3D mRoPE, DeepStack, multimodal cache, DP/PP encoder routing, and streaming ASR.
b3e6cf60a on 2026-04-22.816bad5 on 2026-04-21.#18466.python/sglang/srt/models/qwen2_5_vl.pypython/sglang/srt/models/qwen3_vl.pypython/sglang/srt/models/qwen3_vl_moe.pypython/sglang/srt/models/qwen3_omni_moe.pypython/sglang/srt/models/qwen3_asr.pypython/sglang/srt/multimodal/processors/qwen_vl.pypython/sglang/srt/multimodal/processors/qwen_audio.pypython/sglang/srt/multimodal/processors/qwen3_asr.pypython/sglang/srt/managers/mm_utils.pypython/sglang/srt/disaggregation/encode_server.pypython/sglang/srt/entrypoints/openai/serving_transcription.pyreferences/pr-history.md; do not rely on
the compact table in the README.qwen_vl.py, qwen3_asr.py, base_processor.py.qwen3_vl.py, qwen3_omni_moe.py, mrope_rope_index.py.qwen3_vl.py, attention/vision.py, mm_utils.py,
vit_cuda_graph_runner.py.qwen3_vl.py, qwen3_vl_moe.py, encode_server.py,
server_args.py.qwen3_vl.py, qwen3_vl_moe.py, speculative decoding helpers.qwen3_omni_moe.py, qwen_vl.py.qwen3_asr.py, qwen3_asr.py processor, transcription serving,
streaming_asr.py.processor_output video.Track open/closed-unmerged PRs in references/pr-history.md before using them as
implementation guidance. Important radar lanes include CPU Qwen3-VL/Omni, Qwen3-Omni
DP encoder, Qwen3-VL EVS, precise embedding interpolation, ASR websocket streaming,
NPU ASR audio loading, and Qwen3-VL-MoE encoder-only guards.
Use skills/model-optimization/model-pr-diff-dossier/SKILL.md as the production bar.
Every PR cited for this family must be based on diff reading, not only PR titles.
development
Perform SGLang code review in the style of human maintainers by consulting the full non-agent PR review episode corpus from project start through the latest refresh (June 2026), including inline review threads, top-level PR comments, review submissions, original multilingual text, and multi-round discussions. Use when reviewing SGLang PRs, diffs, patches, or local changes for correctness, tests, performance, GPU/runtime risks, API compatibility, and maintainability.
documentation
Use when an SGLang, vLLM, or TensorRT-LLM serving/model optimization task needs prior model-family PR evidence. Query and read the PR-driven history docs under model-pr-optimization-history before choosing source paths, fast paths, kernel/fusion ideas, regression risks, or validation lanes.
development
Run an autonomous Humanize-governed vLLM SOTA performance loop for one LLM model: first perform the fixed fair vLLM/SGLang/TensorRT-LLM deployment search and benchmark, then start one RLCR loop that repeatedly decides the gap, profiles the current bottleneck, runs layer/kernel pipeline analysis, patches vLLM code, optionally uses ncu-report-skill for kernel evidence, and revalidates until vLLM matches or beats the best observed framework under the same workload and SLA.
devops
Inspect LLM torch profiler traces at forward-pass, layer, and kernel level. Use when you need layer timings, anchor-kernel boundaries, representative kernel flows, or Perfetto time ranges.