Skip to content

[VideoGenX] add SGLang Wan2.2 on H100 with 4 and 8 GPUs / [VideoGenX] 在 H100 上新增 SGLang Wan2.2(4、8 卡) - #5114

Merged
edwingao28 merged 12 commits into
mainfrom
feat/wan22-h100-sglang-video
Nov 18, 2026
Merged

edwingao28 merged 12 commits into
mainfrom
feat/wan22-h100-sglang-video

Conversation

@edwingao28

@edwingao28 edwingao28 commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Wan2.2-T2V-A14B has no SGLang curve on H100, so the H100 vLLM-Omni curve has no SGLang baseline beside it. This PR adds the H100 SGLang row on 4 and 8 GPUs.

Changes:

  • Row wan22-bf16-h100-sglang-video on cluster:h100-dsxe runs wan22.yaml release-v1 at C1 on 4 and 8 GPUs.
  • Recipes under wan22/sglang/h100-bf16/ are the H200 SGLang recipes of [VideoGenX] add SGLang Wan2.2 on H200 with 1, 2, 4 and 8 GPUs / [VideoGenX] 在 H200 上新增 SGLang Wan2.2(1、2、4、8 卡) #5113 with gpu_type: h100: CFG parallel 2 x Ulysses 2 on 4 GPUs and CFG parallel 2 x Ulysses 4 on 8 GPUs.
  • --warmup-num-frames 21 on 8 GPUs. Without it the first 81-frame decode runs out of GPU memory.
    • SGLang shards the VAE decode only at 4096 or more latent elements per rank (base.py#L118).
    • The default 17-frame warmup (warmup_request_builder.py#L56) gives 3900 per rank on 8 decode ranks, so it never connects the decode group's NCCL channels.
    • 21 frames give 4680 per rank, so NCCL allocates before the server reports ready.
  • No 1-GPU or 2-GPU point. 80 GB H100s run out of memory on the deployments that the H200 1-GPU and 2-GPU points use.
  • MODELS.md, docs/video-generation.md and one perf-changelog.yaml block add the row. video-generation/ is unchanged.

Results: cluster:h100-dsxe, SGLang v0.5.23, wan22.yaml release-v1 at C1, 1 warmup and 20 measured clips per point.

Run GPUs Valid clips p50 s per clip Clips per hour kJ per clip Outcome
44198185716 8 20 / 20 28.27 127.14 155.8 passed
44198185716 4 20 / 20 52.37 68.66 145.8 passed
44087759927 8, default warmup 0 / 20 none none none failed: out of memory in the first 81-frame decode
44043897837 2 0 / 20 none none none failed: out of memory in the first denoising step
44037536088 1 0 / 20 none none none failed: out of memory while loading
  • Run 44198185716 qualifies. validate-video-results passes, with valid power at both points.
  • The VideoGenX preview draws both points.
  • H200 SGLang measured a p50 of 28.3 s on 8 GPUs and 53.3 s on 4 GPUs with the same layouts (run 44067008117).
  • A direct 8-GPU job outside Actions sampled GPU memory, so it has no run link. The 21-frame warmup left at least 6.83 GiB free on every GPU. The default left 0.47 GiB on the fullest GPU.

Testing:

  • python -m infx.matrix.changed --base origin/main lists only wan22-bf16-h100-sglang-video, with 2 added points. Their fingerprints, 03e996b141a5 and 3061acbb60c7, are the two points of run 44198185716.

Limits:

  • There is no 1-GPU or 2-GPU H100 SGLang number. Those counts need a different deployment, such as tensor parallelism or text-encoder offload.
  • The shard threshold and the 17-frame default are read from SGLang source at 297e54fd. Another SGLang version needs the frame count rechecked.

Related: Follows #5113 (H200 SGLang) and #5111 (H100 vLLM-Omni).

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 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

@edwingao28
edwingao28 force-pushed the feat/wan22-h100-sglang-video branch from f28acb3 to 88f5855 Compare November 17, 2026 07:17
@edwingao28 edwingao28 added the full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) label Nov 17, 2026

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

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

Comment thread video-generation/evaluator/runner.py Resolved
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

@edwingao28 edwingao28 changed the title [VideoGenX] add SGLang Wan2.2 on H100 with 1, 2, 4 and 8 GPUs / [VideoGenX] 在 H100 上新增 SGLang Wan2.2(1、2、4、8 卡) [VideoGenX] add SGLang Wan2.2 on H100 with 2, 4 and 8 GPUs / [VideoGenX] 在 H100 上新增 SGLang Wan2.2(2、4、8 卡) Nov 17, 2026
@edwingao28 edwingao28 added non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) and removed full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) labels Nov 17, 2026
@edwingao28 edwingao28 changed the title [VideoGenX] add SGLang Wan2.2 on H100 with 2, 4 and 8 GPUs / [VideoGenX] 在 H100 上新增 SGLang Wan2.2(2、4、8 卡) [VideoGenX] add SGLang Wan2.2 on H100 with 4 and 8 GPUs / [VideoGenX] 在 H100 上新增 SGLang Wan2.2(4、8 卡) Nov 17, 2026
@edwingao28

Copy link
Copy Markdown
Collaborator Author

/use 44198185716

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

@edwingao28 staged run 44198185716.

This run has no staged performance curves.

This run remains available across future /stage-results requests. Staging the same run ID again updates its staged data. Staging workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant