Skip to content

[VideoGenX] name video recipes by their GPU split / [VideoGenX] 按 GPU 划分方式命名视频 recipe - #5132

Merged
edwingao28 merged 5 commits into
mainfrom
chore/video-recipe-names
Nov 19, 2026
Merged

edwingao28 merged 5 commits into
mainfrom
chore/video-recipe-names

Conversation

@edwingao28

@edwingao28 edwingao28 commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

A video recipe's file name does not say how it splits work across GPUs. serving-client.yaml is CFG parallel 2 x Ulysses 4 on 8 GPUs under wan22/vllm-omni/b200-bf16/, TP 2 x Ulysses 2 on 4 GPUs under h3/sglang/h100-bf16/, and a template for 1, 2, 4 and 8 GPUs under h3/sglang/b200-bf16/. The -g2 and -g4 suffixes count GPUs without naming the split, so a reviewer opens each file to learn its layout.

Changes:

  • Recipes: the 37 video recipes move to <model-prefix>/<engine>/<gpu>-<precision>/video/agg-<layout>.yaml.
    • <layout> lists each parallel degree above 1 in the order tp pp ep dp pcp cfg ulysses ring.
    • A degree taken from {gpus_per_node} has no number, so one recipe that serves 1, 2, 4 and 8 GPUs is agg-ulysses.yaml.
    • A recipe whose degrees are all 1 is agg-tp1.yaml.
Directory Old name New name
h3/sglang/{a100,h100}-bf16, h3/vllm-omni/a100-bf16 serving-client-tp2.yaml video/agg-tp2.yaml
same serving-client.yaml video/agg-tp2-ulysses2.yaml
same serving-client-tp2-ulysses4.yaml video/agg-tp2-ulysses4.yaml
h3/sglang/{b200,h200,mi355x}-bf16, h3/vllm-omni/{b200,h200,mi355x}-bf16 serving-client.yaml video/agg-ulysses.yaml
wan22/vllm-omni/{b200,b300,h100,h200}-bf16, wan22/sglang/h200-bf16 serving-client-g1.yaml video/agg-tp1.yaml
same serving-client-g2.yaml video/agg-cfg2.yaml
same, plus wan22/sglang/h100-bf16 serving-client-g4.yaml video/agg-cfg2-ulysses2.yaml
same, plus wan22/sglang/h100-bf16 serving-client.yaml video/agg-cfg2-ulysses4.yaml
  • Recipe name: each is <model-prefix>-<engine>-<file stem>, for example wan22-vllm-omni-agg-cfg2. No other line of a recipe changes.
  • Master configs: the 55 srt-recipe rows of the 15 video keys in nvidia-master.yaml and amd-master.yaml point at the new paths.
  • VideoRecipeReference in infx/matrix/validation.py: a video srt-recipe that is not video/agg-<layout>.yaml fails config validation, so a new row cannot bring back a name without its split.
  • video-generation/SUBMITTING.md states the rule in the recipe step.
  • No perf-changelog.yaml block and no sweep. The recipe path is part of the row that a point fingerprint hashes, so all 55 video fingerprints change. The rendered recipes do not change.

Testing:

Limits:

Related: Follows #5110. Also renames the Wan2.2 recipes added by #5111, #5113 and #5114 and the H3 vLLM-Omni H200 and MI355X recipes and rows from #4970 and #4971.

PR checklist and change type

Type of Change

  • Bug fix
  • New feature
  • Configuration change
  • Documentation update
  • Other (please describe)

Checklist

  • I have completed the AI model disclosure and kept it current
  • I have tested my changes locally
  • I have updated documentation if necessary
  • If python -m infx.matrix.changed --base origin/main lists affected config keys, I have appended one new entry covering them to the physical end of inferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entries
  • If this PR appends an inferencex-e2e/perf-changelog.yaml entry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs): full-sweep-fail-fast (recommended), full-sweep-enabled, or non-canary-full-sweep-enabled. Optional modifiers all-evals, evals-only, and agentx-fast require a primary label; the last two block reuse while applied.
  • Before merging via reuse, a maintainer with write access to the repository has commented /use <run_id> (or the legacy /reuse-sweep-run) on this PR. Do this only once there is a final full sweep that is all green with evals passing, since after this comment the primary sweep label will no longer automatically kick off new sweeps. Remove and re-add the primary sweep label to force a new sweep.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution!

  • Review: If this PR changes files owned by someone other than a repository admin or @SemiAnalysisAI/core, ask one eligible CODEOWNER to complete the latest PR_REVIEW_CHECKLIST.md before contacting a core maintainer on Slack. Follow the template exactly, including As a PR reviewer and CODEOWNER, I have reviewed this and have, so sign-off verification triggers.
  • PR verification: Sweeps run only when the PR appends an inferencex-e2e/perf-changelog.yaml entry and carries exactly one primary label: full-sweep-fail-fast (strongly recommended; canary plus per-matrix fail-fast), full-sweep-enabled (canary; matrix jobs continue after a failure), or non-canary-full-sweep-enabled (no canary or fail-fast). The modifiers all-evals, evals-only, and agentx-fast require a primary label. On fork PRs, a maintainer applies the label. See sweep labels and reuse.
  • After merging: PR authors must ensure all GitHub Actions jobs pass. Transient failures often pass on rerun; see how to rerun failed jobs.
中文

感谢你的贡献!

  • **审阅:**如果 PR 修改的文件归属于仓库管理员及 @SemiAnalysisAI/core 之外的 CODEOWNER,请先联系一位有资格的 CODEOWNER 填写最新的 PR_REVIEW_CHECKLIST.md,再通过 Slack 联系核心维护者。必须严格遵循模板,并保留 As a PR reviewer and CODEOWNER, I have reviewed this and have,才能触发签核验证。
  • **PR 验证:**只有当 PR 在 inferencex-e2e/perf-changelog.yaml 末尾追加了条目,并且恰好带有一个主标签时,才会运行扫描:full-sweep-fail-fast(强烈推荐;canary 加逐矩阵 fail-fast)、full-sweep-enabled(有 canary;矩阵任务在失败后继续运行)或 non-canary-full-sweep-enabled(无 canary,也无 fail-fast)。修饰标签 all-evals、evals-only 和 agentx-fast 必须与主标签一起使用。fork PR 的标签由维护者添加。参见扫描标签与复用。
  • **合并后:**PR 作者必须确保所有 GitHub Actions 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

@github-actions

Copy link
Copy Markdown
Contributor

inferencex-e2e/infx diff: +60 -21

Generally most InferenceX submissions don't need to add changes to the infx package. On the off chance they do, generally the diff is small. Please prompt your agent to clean your PR to keep your diff to only necessary & minimal changes too. We have an increased code quality bar for changes to the infx package.

中文

大多数 InferenceX 提交通常不需要修改 infx 包。即使确实需要,改动通常也很小。请让你的 agent 清理 PR,使改动只包含必要且最小的内容。infx 包的改动有更高的代码质量要求。

@edwingao28
edwingao28 force-pushed the chore/video-recipe-names branch from b41ba5a to 4d5d7b7 Compare November 19, 2026 06:18

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed this PR and didn't find any bugs. The recipes and master configs it renames have CODEOWNERS (the NVIDIA and AMD config and recipe owners, plus video-generation/), so one of them should still look it over.

What was reviewed:

  • The 36 recipe renames. Each one changes only its name line, and I compared each new file name with the recipe's --tp-size/--tensor-parallel-size, --cfg-parallel-size and --ulysses-degree/--usp values, including the {gpus_per_node} recipes named agg-ulysses.
  • The VIDEO_RECIPE regex in infx/matrix/validation.py. It accepts agg-tp1 and degrees of 2 or more in the fixed order, and the (?=-) lookahead rejects a bare video/agg.yaml. The new validator applies only to VideoGenerationSearchSpaceEntry.srt_recipe.
  • The test fixtures now use the shared VIDEO_RECIPE constant. I read the tests but did not run them.
Extended reasoning...

The change renames 36 single-node video recipes and updates their 47 rows in nvidia-master.yaml and amd-master.yaml. It also adds a stricter Pydantic validator for video srt-recipe names and updates test fixtures and SUBMITTING.md. It touches nothing security-sensitive. Each renamed recipe changes only its name field, and the new names match the parallel settings inside them. I deferred because the changed master configs, recipe directories and video-generation/ all have owners in .github/CODEOWNERS, so it should not be auto-approved.

This review covers commit b41ba5a, which is no longer the latest commit on this pull request; later commits are not covered by it.

@edwingao28
edwingao28 force-pushed the chore/video-recipe-names branch from 4d5d7b7 to 93e48fd Compare November 19, 2026 06:23
@edwingao28
edwingao28 force-pushed the chore/video-recipe-names branch from 93e48fd to 86b7b28 Compare November 19, 2026 06:26
@edwingao28
edwingao28 merged commit db3fc79 into main Nov 19, 2026
5 checks passed
@edwingao28
edwingao28 deleted the chore/video-recipe-names branch November 19, 2026 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant