sentinel3252/native-breeze-tts-2-support-for-vllm-omni/vllm-omni-test

Claude Code and agent skill by sentinel3252/native-breeze-tts-2-support-for-vllm-omni

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Generate and run tests for vllm-project/vllm-omni with CI-aligned levels and markers; wire new tests into Buildkite (test-ready.yml for L1/L2, test-merge.yml for L3, test-nightly.yml for L4). On completion, always provide copy-paste local and CI-like pytest commands plus prerequisites. Use when creating regression tests, adding L1-L4 coverage, selecting pytest markers, or validating fixes from issues/PRs.

Install

npx vskill@latest install sentinel3252/native-breeze-tts-2-support-for-vllm-omni/vllm-omni-test

SKILL.md

The same SKILL.md was published earlier as sentinel3252/native-breeze-tts-2-support-for-vllm-omni/vllm-omni-test.

vLLM-Omni Test Generator & Runner

Purpose

Use this skill to generate minimal, stable test cases and run them with the correct marker/level strategy for vllm-project/vllm-omni.

Link convention: Paths such as .buildkite/ and docs/contributing/ live at the vllm-omni repo root. Markdown links use repo-relative paths from this skill file (e.g. ../../../.buildkite/cuda/test-ready.yml, ../../../docs/contributing/ci/test_system_overview.md).

Default priorities:

  1. Reproducible regression coverage for bug fixes
  2. Correct test level and marker selection
  3. Low flake, low dependency tests first
  4. CI-compatible run commands
  5. Actionable run commands for the human: whenever you add or change tests, always finish with copy-paste-ready pytest lines (local: single file and/or single test; CI-like: markers + --run-level), plus short prerequisites (GPU tier, HF cache, optional model_prefix). Do not assume the reader will infer commands from test-routing.md alone.

Inputs

  • Issue/PR link and summary
  • Changed files or suspected code path
  • Whether the user wants local quick validation or CI-equivalent validation
  • Hardware constraints (CPU only / CUDA / ROCm / NPU)

Workflow

Step 1: Classify Test Goal
  • Bugfix regression: start from a minimal failing scenario and add assertions that prevent recurrence. Before writing tests, output `required` / `recommended` / `not_needed`: `required` — stable logic/contract bug that should have been caught; `recommended` — environment-sensitive but a small regression still helps; `not_needed` — one-off external/config failure or existing tests already cover the path. Prefer the narrowest stable L1 (CPU) case; escalate to L2/L3 only when the bug needs real weights or serving.
  • Feature coverage: verify new behavior and one negative/boundary case.
  • Perf/benchmark claim: require benchmark-oriented tests and explicit metrics.
Step 2: Select Test Level
  • L1: unit/logic, deterministic, CPU-friendly, fastest feedback.
  • L2: basic e2e/integration and platform-dependent checks.
  • L3/L4: advanced model/integration/perf validation.

Use references/test-routing.md for level-to-marker and command mapping.

Step 3: Pick Markers

Always attach markers deliberately:

  • Level: core_model (L1/L2) and/or advanced_model (L3) and/or full_model (L4 nightly)
  • Model type (required on model-centric e2e — pick exactly one):
  • omni — end-to-end multimodal LLM pipelines (thinker/talker/stages; Qwen-Omni family)
  • tts — speech synthesis / TTS-only models (/v1/audio/speech, voice clone, etc.)
  • diffusion — generative diffusion models (image / audio / text / video from noise)
  • Cross-cutting area (when relevant): parallel, cache, example, benchmark
  • Hardware: cpu, gpu, cuda, rocm, npu, …; SKU (H100, L4, …) and cards_{n} via @hardware_test(...) / hardware_marks(...) only — never pytest.mark.H100 (check-mark rejects it)
  • Optional: slow. Multi-card: num_cards=N on the helper (filter with cards_N / not cards_1)

Baseline smoke (L2 + L3): The simplest e2e case per model — default deploy, minimal request — should usually carry both @pytest.mark.core_model and @pytest.mark.advanced_model on the same test function so test-ready.yml and test-merge.yml share one test. send_*_request picks validation depth from --run-level. References: test_voxcpm2_tts.py::test_text_to_audio_001, test_qwen3_tts_customvoice.py::test_text_to_audio_001. Heavier scenarios use `advanced_model` only; L4 expansion uses `full_model`.

For hardware-aware tests, prefer @hardware_test(...) or hardware_marks(...) in tests/helpers/mark.py.

Diffusion nightly split (test-nightly.yml): all diffusion tests use pytest.mark.diffusion, but CI groups them by output modality, not by separate pytest markers:

Nightly groupScopeTypical models / paths
Diffusion X2I(&A&T) Model Testx2i (image), x2a (audio), x2t (text) and other non-video diffusionQwen-Image, BAGEL, FLUX, SD3, Z-Image, LongCat, DreamZero, … — `test__expansion.py under X2I shards; L4 sweep uses -k "not test_wan and not test_bagel_expansion and not hunyuan"` for L4
Diffusion X2V Model Testx2v (video) onlyWan2.2, HunyuanVideo 1.5, Wan VACE, … — e.g. test_wan22_expansion.py, test_hunyuan_video_15_expansion.py

Wire new video diffusion expansion tests into the X2V group; wire image/audio/text diffusion expansion tests into X2I(&A&T). Do not place x2v modules in X2I shards (see comment in test-nightly.yml above the X2I group).

Naming: generated test module files (L2–L4, model-centric e2e)

When adding new pytest modules whose primary scope is a specific model (typical under tests/e2e/offline_inference/ or tests/e2e/online_serving/), use this filename pattern:

LevelFilename patternExample (model Qwen/Qwen2.5-Omni-7B)
L2, L3test_{lowercase_model_slug}.pytest_qwen2_5_omni.py
L4test_{lowercase_model_slug}_expansion.pytest_qwen2_5_omni_expansion.py

Slug rules for `{lowercase_model_slug}`:

  1. Start from the HuggingFace-style id (e.g. Qwen/Qwen2.5-Omni-7B), but do not put the org into the filename: use the repo segment only (Qwen2.5-Omni-7B), not Qwen_... / qwen_qwen2_5_....
  2. Lowercase; replace ., -, and whitespace with a single _ (e.g. Qwen2.5-Omni-7B → qwen2_5_omni). Omit trailing size tokens such as 7b / 30b in the basename when a single file covers that model line in the directory (matches test_qwen2_5_omni.py in-tree).
  3. If two checkpoints in the same folder need separate modules, add a minimal disambiguator (e.g. _7b vs _3b) only then.
  4. L1 unit tests are not bound to this pattern; use tests/<area>/test_<feature>.py as today.

Routing tables and commands: references/test-routing.md § Model-centric e2e filename convention.

Existing references: tests/e2e/offline_inference/test_qwen2_5_omni.py (L2-style omni), tests/e2e/offline_inference/test_qwen3_5_9b.py (L2-style omni, single-stage VL), tests/e2e/online_serving/test_qwen3_omni_expansion.py (L4-style omni), tests/e2e/online_serving/test_qwen_image_edit_expansion.py / test_qwen_image_expansion.py (L4-style diffusion).

Step 4: Generate Test Case Skeleton

1. Pick the functional scenario (then choose directory, fixtures, and markers):

ScenarioTypical locationFixtures / runner patternBaseline markers & level
Offline inference e2etests/e2e/offline_inference/Module (default): omni_runner + offline_client. Function (isolation only): omni_runner_function + offline_client_function. Diffusion/TTS may use Omni(...).generate directlyL2: core_model + one of omni / tts / diffusion; @hardware_test(...) when GPU/NPU is required
Online serving e2etests/e2e/online_serving/Module (default): omni_server + online_client. Function (isolation only): omni_server_function + online_client_function. Clients: send_omni_request (omni), send_audio_speech_request (tts), send_diffusion_request / send_video_diffusion_request / send_images_generations_request (diffusion)Baseline smoke: `core_model` + `advanced_model`; heavier paths: advanced_model only; L4 expansion: full_model
Documentation / runnable examplestests/examples/offline_inference/, tests/examples/online_serving/Offline docs (preferred): extract Python/Bash blocks from the doc README (e.g. ReadmeSnippet.extract_readme_snippets), pytest.mark.parametrize each snippet, run via example_runner.run with a stable output_subfolder. Online docs: copy client/request scripts into dedicated tests and keep them in sync with the doc page.Usually L4: advanced_model, often example plus hardware marks matching the nightly docs-example job (see .buildkite/cuda/test-nightly.yml). Full conventions: docs/contributing/ci/test_examples/l4_doc_example_tests.inc.md (introduced in PR #1910: naming, output directory layout, skip rules, avoid trimming num_inference_steps without a strong CI reason).
Performance / benchmarktests/dfx/perf/tests/*.json + run_*_benchmark.pyJSON or script-driven server + load config; assert explicit metrics / baselinesL4 Perf: JSON mark with full_model + omni/tts/diffusion; wire test-nightly.yml Perf steps
Invalid parameter / negative HTTP validationtests/dfx/reliability/invalid_param_test/Live omni_server + low-level send_*_http_request with err_code / err_messagepytest.mark.slow + omni / tts / diffusion + @hardware_marks (H100 or L4); CI in `test-weekly.yml` (not ready/merge/nightly)

If the user’s test plan includes invalid parameter validation / invalid params / negative HTTP / 400 validation: do not add those test_* functions to tests/e2e/online_serving/test_*.py or *_expansion.py. Move or author them under tests/dfx/reliability/invalid_param_test/ in the endpoint-matching script (see Invalid parameter validation below). Success-path e2e and invalid-param dfx tests must stay in separate modules.

1b. Model type — `omni` vs `tts` vs `diffusion`

After choosing offline/online/docs/perf, classify the product under test and attach exactly one model-type marker. All three can live under the same tests/e2e/ trees; conventions diverge:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sentinel3252/native-breeze-tts-2-support-for-vllm-omni/vllm-omni-test/badge)](https://verified-skill.com/skills/sentinel3252/native-breeze-tts-2-support-for-vllm-omni/vllm-omni-test)

Something wrong with this skill or its page? Tell us.