Repository navigation
knowledge(vllm-omni): 1 change(s) from intake #400
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
+20
−0
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/model-executor/rules-warmup-ids.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 model executor — upstream warmup request identification rules" | ||
| created: 2026-10-23 | ||
| updated: 2026-10-23 | ||
| type: rule | ||
| tags: [vllm-omni, components, model-executor] | ||
| sources: ["PR #9264"] | ||
| --- | ||
|
|
||
| # vLLM-Omni model executor — upstream warmup request identification rules | ||
|
|
||
| ## VLLM-OMNI-PR9264-MIXED-WARMUP-IDS — upstream warmup 请求识别必须集中于共享 helper 并覆盖全部 ID 前缀 | ||
|
|
||
| - 触发:在 MRv2 runner、`OmniModelState` 或各模型 state(Fish-Omni、Higgs-Audio-v3、Moss-TTS local)中新增或修改对 upstream warmup request 的识别、text validation 豁免、preprocess/postprocess 跳过、validity 声明或 data-plane 注册逻辑。 | ||
| - 强制:识别 warmup request 只能使用 `vllm_omni/worker_v2/warmup.py` 的共享 `is_warmup_request`,它同时覆盖 legacy `_warmup_` 前缀与 vLLM 0.32 起的 `_v2_mixed_warmup_decode_`/`_v2_mixed_warmup_prefill_` 前缀;所有模型 state 与 runner 引用同一 helper。被识别的 warmup 请求走既有 warmup 处理:text 行零 codec(Fish)、保留 upstream generic text sampling/grammar/penalty 路径(Higgs)、跳过模型 preprocess/postprocess 与状态更新、仅 warmup 请求写入 fabricated validity key,且不进入 native data-plane 注册。 | ||
| - 禁止:在任何模型 state 或 runner 里散落硬编码 `_warmup_` 单前缀判断——vLLM 0.32 的 mixed-attention warmup 会被当作真实 TTS 请求处理,因缺少 text conditioning 使 Qwen3-TTS 在 FlashInfer warmup 阶段启动失败;也不得只为单个模型复制前缀列表而不回迁共享 helper。 | ||
| - 验收:识别/validity/preprocess-skip/data-plane 测试按 `_warmup_0_`、`_v2_mixed_warmup_decode_`、`_v2_mixed_warmup_prefill_` 三种 ID 参数化,并以真实请求 ID 作反例;warmup 路径断言 `preprocess`/`postprocess` 未被调用;升级 vLLM 后跑 Qwen3-TTS 两阶段 FlashInfer 启动并验证 `/health` 返回 200。^[PR #9264] | ||
|
|
||
| <!-- 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.
Move this rule into the model-executor
rules.mdentry page rather than creating a standalone page. For reviews involvingworker_v2/warmup.pyor Qwen3-TTS warmup,_routes.yamlroutes Direct only tocomponents/model-executor/rules.md(or the model page), and the required stop-navigation behavior means the new_index.mdlink is not followed; I confirmed withdirect_review_planprobes thatrules-warmup-ids.mdwas absent from both the selected routes andrelated_knowledge. Consequently, the new safeguard is not delivered in the review scenarios it is meant to govern.AGENTS.md reference: AGENTS.md:L12-L17
Useful? React with 👍 / 👎.