online-serving
Operate vLLM-Omni HTTP serving, --omni CLI routing, OpenAI-compatible payloads, stage head/headless launches, realtime/streaming routes, and serving recovery without reopening repository evidence.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- online-serving
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Operate vLLM-Omni HTTP serving, --omni CLI routing, OpenAI-compatible payloads, stage head/headless launches, realtime/streaming routes, and serving recovery without reopening repository evidence.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/cli-and-openai-api.md11.1 KB
- 参考文档references/realtime-and-streaming.md8.8 KB
- 参考文档references/troubleshooting.md10.8 KB
- 脚本scripts/build_openai_payload.py10.5 KB
03 SKILL.md 正文
vLLM-Omni online serving
Use this sub-skill when the task involves starting a vLLM-Omni HTTP server, building OpenAI-compatible request payloads, choosing a streaming/realtime route, or recovering a failed serving launch.
Fast route
-
Always include
--omniwhen serving an Omni model. Without it, the command routes to ordinary upstream vLLM behavior and Omni-specific endpoints or flags may be missing. -
Choose a launch shape:
- Single runtime:
vllm serve MODEL --omni --port 8091orvllm-omni serve MODEL --omni --port 8091. - Stage head plus headless worker processes: read CLI and OpenAI API.
- Single runtime:
-
Choose an endpoint from CLI and OpenAI API: chat completions, image generation/edit, videos, text-to-speech, text-to-audio, or OpenAI-style model listing/health.
-
For streaming and realtime use cases, read Realtime and streaming before writing a WebSocket or Server-Sent Events client.
-
To generate a safe no-network payload scaffold, run the bundled helper from this sub-skill directory:
python scripts/build_openai_payload.py --endpoint chat \ --model Qwen/Qwen3-Omni-30B-A3B-Instruct \ --prompt "Describe this scene" \ --extra-json '{"modalities":["text"]}' -
If the server rejects the command, ignores request fields, cannot register a stage, or the client gets connection errors, read Troubleshooting.
Boundaries
- Offline
Omni/AsyncOmniPython generation, output objects, and local prompt dictionaries -> useoffline-inference. - Deploy YAML schema, connector design, stage memory placement, and overlay
validation -> use
stage-configuration. - Model-family selection, hardware/backends, quantization/offload/cache recipes,
and benchmark route selection -> use
model-recipes. - Editing vLLM-Omni model implementations, custom pipelines, or TTS adapters ->
use
model-integration.
Safety notes
- Do not run model-serving examples, download checkpoints, or open gated model licenses unless the user explicitly approves the GPU, network, cache, and time budget.
- Treat repository examples that require a live server, browser, model weights, or service ports as evidence only; reproduce their payload intent with the bundled references and helper.
- Do not reopen the original repository just to find routes, flags, or payload shapes. This sub-skill and its references are the runtime source of truth.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).