Repository navigation
knowledge(vllm-omni): 1 change(s) from intake #405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
knowledge/repos/vllm-omni/components/serving/rules-stage-cli-tests.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| --- | ||
| title: "vLLM-Omni Stage-CLI 测试规则" | ||
| created: 2026-10-23 | ||
| updated: 2026-10-23 | ||
| type: rule | ||
| tags: [vllm-omni, components, serving] | ||
| sources: ["PR #9041"] | ||
| --- | ||
|
|
||
| # vLLM-Omni Stage-CLI 测试规则 | ||
|
|
||
| ## VLLM-OMNI-PR9041-STAGE-CLI-GPU-SPLIT — Stage-CLI 多副本 stage 每 stage 单进程并用 --omni-dp-size-local 分卡 | ||
|
|
||
| - 触发:修改 `tests/helpers/runtime.py` 中 `OmniServerStageCli` 的启动路径(`_build_stage_cmd`、`_launch_stage`、`_start_server`)或 `stage_procs`/`_stage_log_paths`/`_stage_log_files` 簿记;调整 stage-CLI e2e 多副本 overlay(如 `bagel_multi_replicas_4gpu`,PR 时唯一 `num_replicas > 1` 的 stage-CLI overlay)的副本放置。 | ||
| - 强制:headless stage 只按 `stage_id` 启动一个进程;当 `stage_replica_counts[stage_id] > 1` 时,命令必须追加 `--omni-dp-size-local <num_replicas>`,由 `serve` 的 headless 分卡把 stage `devices` 池(如 `1,2,3`)拆成每副本一张物理卡。簿记以 `stage_id` 为键,日志名为 `omni_stage_<id>_<port>.log`;改键结构时确认只遍历 `.values()` 的其他读者(如 `test_gepard_tts.py`)不受影响。此类放置问题在 harness 侧修复并对齐生产 headless 分卡(`stage_engine_startup.py`,文档 `docs/design/module/stage_runtime.md`),不为此改生产代码。 | ||
| - 禁止:向 stage-CLI 命令传 `--replica-id`(`serve` 忽略该已弃用参数),或为每个副本各起一个 headless 进程——每个进程会以 `omni_dp_size_local=1` 落到 local device 0 的同一张物理卡,多副本叠放显存导致 OOM(#6843 的故障模式)。 | ||
| - 验收:`tests/helpers/tests/test_runtime_stage_cli.py` 断言:多副本 stage 命令含 `--omni-dp-size-local N` 且无 `--replica-id`;单副本 stage 省略该参数;`_start_server` 对每个 stage 只启动一个进程。^[PR #9041] | ||
|
|
||
| <!-- kb:rule status=active since=v0.30.0 --> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a future PR that edits
tests/helpers/runtime.py, Direct review supplies the canonical serving owner documentcomponents/serving/rules.mdand stops before reading this_index.md; related-knowledge retrieval also excludes rule pages. Because this commit links the new page only here andrules.mdhas no Stage-CLI trigger or link, the rule will not reach the normal review evidence packet. Add it to therules.mdquick map or merge the rule into that entrypoint so the intake is actionable.AGENTS.md reference: AGENTS.md:L12-L17
Useful? React with 👍 / 👎.