AGENT SKILL

stage-configuration

Inspect and tune vLLM-Omni deploy YAMLs, stage placement, connectors, memory, CLI precedence, and distributed planning.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
stage-configuration
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Inspect and tune vLLM-Omni deploy YAMLs, stage placement, connectors, memory, CLI precedence, and distributed planning.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

stage-configuration

Use this sub-skill when a task is about vLLM-Omni pipeline/deploy configuration rather than request payloads or model-family selection.

Use this for

  • Reading or writing a deploy YAML overlay for stages, platforms, connectors, async chunking, dtype, quantization, DP/PP, or stage placement.
  • Explaining how PipelineConfig, DeployConfig, and StageDeployConfig combine into effective stage runtime settings.
  • Choosing SharedMemoryConnector vs MooncakeStoreConnector and checking stage input/output connector wiring.
  • Planning devices, num_replicas, gpu_memory_utilization, max_num_seqs, max_model_len, diffusion parallelism, offload, or attention knobs.
  • Converting CLI overrides into the correct precedence model: stage overrides > explicit globals > platform section > overlay > defaults.
  • Debugging invalid YAML, unknown stage ids, connector mismatch, OOM, or JSON quoting around --stage-overrides.

Start here

  1. If the user provides a deploy YAML or overlay, inspect it with the bundled validator:

    python scripts/validate_deploy_yaml.py path/to/deploy.yaml
    
  2. Read deploy-schema.md for the self-contained schema, merge rules, precedence, connectors, and CLI examples.

  3. Read memory-and-distributed-placement.md for GPU placement, memory-utilization planning, head/headless launch planning, DP/PP/TP/stage replicas, diffusion parallel/offload/attention flags, and multi-node connector decisions.

  4. For a quick non-model-loading placement estimate, run:

    python scripts/plan_stage_memory.py \
      --num-gpus 2 --gpu-mem-gib 80 --stages thinker,talker,code2wav --headroom-gib 4 --streaming
    
  5. If a launch or config fails, use troubleshooting.md before recommending model downloads or full serving runs.

Route elsewhere

  • HTTP/OpenAI request bodies, extra_body, realtime clients, or server endpoint choices belong to the online-serving sub-skill.
  • Offline Omni/AsyncOmni Python scripts, prompt dictionaries, and output field access belong to the offline-inference sub-skill.
  • Model-family recipe selection, hardware tables, quantization recipes, and benchmark targets belong to the model-recipes sub-skill.
  • Adding new PipelineConfig objects, custom diffusion pipelines, or maintainer tests belongs to the model-integration sub-skill.

Safety and assumptions

  • The bundled scripts only parse YAML/arguments and print plans; they do not import vLLM-Omni, load models, contact model hubs, allocate GPUs, or start servers.
  • Deploy YAML defaults are package/version dependent. If the user relies on a package-bundled default, keep the overlay minimal and validate the effective structure after resolving base_config in the user's environment.
  • For live multi-process or multi-node serving, require the user to confirm model cache, GPU capacity, connector services, open ports, and operational budget before launching servers.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351