Repository navigation
[VideoGenX] add vLLM-Omni Wan2.2 on H100 with 1, 2, 4 and 8 GPUs / [VideoGenX] 在 H100 上新增 vLLM-Omni Wan2.2(1、2、4、8 卡) #5111
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
Show all changes
5 commits
Select commit
Hold shift + click to select a range
9e2868e
feat: add vLLM-Omni Wan2.2 H100 row with 1, 2, 4 and 8 GPUs
edwingao28 0f415ef
chore: merge main and resolve changelog conflict [skip-sweep]
edwingao28 2f88081
chore: merge main and resolve changelog conflict [skip-sweep]
edwingao28 12df0f6
chore: merge main and resolve changelog conflict [skip-sweep]
edwingao28 7ad9f6a
chore: shorten the changelog description to one sentence [skip-sweep]
edwingao28 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
61 changes: 61 additions & 0 deletions
61
...benchmarks/single_node/srt-slurm-recipes/wan22/vllm-omni/h100-bf16/serving-client-g1.yaml
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,61 @@ | ||
| schema: 2 | ||
| name: wan22-vllm-omni-serving-client-g1 | ||
|
|
||
| resources: | ||
| gpu_type: h100 | ||
|
|
||
| services: | ||
| - name: video-server | ||
| type: generic | ||
| nodes: 1 | ||
| critical: true | ||
| start: before_workers | ||
| command: [python3, -m, infx.bench, video, serve] | ||
| args: | ||
| - --model-view | ||
| - snapshot | ||
| - -- | ||
| - vllm | ||
| - serve | ||
| - "{model_path}" | ||
| - --served-model-name | ||
| - "{model_id}" | ||
| - --omni | ||
| - --host | ||
| - 0.0.0.0 | ||
| - --port | ||
| - "30283" | ||
| - --num-gpus | ||
| - "{gpus_per_node}" | ||
| # Deployment only: one GPU runs both CFG branches with no sequence parallelism. | ||
| - --tensor-parallel-size | ||
| - "1" | ||
| - --cfg-parallel-size | ||
| - "1" | ||
| - --usp | ||
| - "1" | ||
| - --ring | ||
| - "1" | ||
| - --vae-use-tiling | ||
| - --init-timeout | ||
| - "3600" | ||
| - --stage-init-timeout | ||
| - "3600" | ||
| env: | ||
| PYTHONPATH: /video-package:/infmax-workspace | ||
| PYTHONUNBUFFERED: "1" | ||
| VIDEO_SERVER_PORT: "30283" | ||
| VIDEO_RUNTIME_REVISION: 5917730a4b02aedb44d374173cdc1b10484ccd52 | ||
| HF_HUB_OFFLINE: "1" | ||
| TRANSFORMERS_OFFLINE: "1" | ||
| VLLM_WORKER_MULTIPROC_METHOD: spawn | ||
| # The release set reuses each prompt across five seeds; cached text embeddings would skip work. | ||
| OMNI_DIFFUSION_PROMPT_EMBED_CACHE: "0" | ||
| VLLM_OMNI_VIDEO_SYNC_TIMEOUT: "14400" | ||
| VLLM_OMNI_SERVER_STORAGE__PATH: /logs/video/server/storage | ||
| readiness: | ||
| http: | ||
| port: 30283 | ||
| path: /health | ||
| timeout_seconds: 3600 | ||
| interval_seconds: 5 |
63 changes: 63 additions & 0 deletions
63
...benchmarks/single_node/srt-slurm-recipes/wan22/vllm-omni/h100-bf16/serving-client-g2.yaml
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,63 @@ | ||
| schema: 2 | ||
| name: wan22-vllm-omni-serving-client-g2 | ||
|
|
||
| resources: | ||
| gpu_type: h100 | ||
|
|
||
| services: | ||
| - name: video-server | ||
| type: generic | ||
| nodes: 1 | ||
| critical: true | ||
| start: before_workers | ||
| command: [python3, -m, infx.bench, video, serve] | ||
| args: | ||
| - --model-view | ||
| - snapshot | ||
| - -- | ||
| - vllm | ||
| - serve | ||
| - "{model_path}" | ||
| - --served-model-name | ||
| - "{model_id}" | ||
| - --omni | ||
| - --host | ||
| - 0.0.0.0 | ||
| - --port | ||
| - "30283" | ||
| - --num-gpus | ||
| - "{gpus_per_node}" | ||
| # Deployment only: CFG branches on two GPUs, no sequence parallelism. | ||
| - --tensor-parallel-size | ||
| - "1" | ||
| - --cfg-parallel-size | ||
| - "2" | ||
| - --usp | ||
| - "1" | ||
| - --ring | ||
| - "1" | ||
| - --vae-patch-parallel-size | ||
| - "{gpus_per_node}" | ||
| - --vae-use-tiling | ||
| - --init-timeout | ||
| - "3600" | ||
| - --stage-init-timeout | ||
| - "3600" | ||
| env: | ||
| PYTHONPATH: /video-package:/infmax-workspace | ||
| PYTHONUNBUFFERED: "1" | ||
| VIDEO_SERVER_PORT: "30283" | ||
| VIDEO_RUNTIME_REVISION: 5917730a4b02aedb44d374173cdc1b10484ccd52 | ||
| HF_HUB_OFFLINE: "1" | ||
| TRANSFORMERS_OFFLINE: "1" | ||
| VLLM_WORKER_MULTIPROC_METHOD: spawn | ||
| # The release set reuses each prompt across five seeds; cached text embeddings would skip work. | ||
| OMNI_DIFFUSION_PROMPT_EMBED_CACHE: "0" | ||
| VLLM_OMNI_VIDEO_SYNC_TIMEOUT: "14400" | ||
| VLLM_OMNI_SERVER_STORAGE__PATH: /logs/video/server/storage | ||
| readiness: | ||
| http: | ||
| port: 30283 | ||
| path: /health | ||
| timeout_seconds: 3600 | ||
| interval_seconds: 5 |
63 changes: 63 additions & 0 deletions
63
...benchmarks/single_node/srt-slurm-recipes/wan22/vllm-omni/h100-bf16/serving-client-g4.yaml
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,63 @@ | ||
| schema: 2 | ||
| name: wan22-vllm-omni-serving-client-g4 | ||
|
|
||
| resources: | ||
| gpu_type: h100 | ||
|
|
||
| services: | ||
| - name: video-server | ||
| type: generic | ||
| nodes: 1 | ||
| critical: true | ||
| start: before_workers | ||
| command: [python3, -m, infx.bench, video, serve] | ||
| args: | ||
| - --model-view | ||
| - snapshot | ||
| - -- | ||
| - vllm | ||
| - serve | ||
| - "{model_path}" | ||
| - --served-model-name | ||
| - "{model_id}" | ||
| - --omni | ||
| - --host | ||
| - 0.0.0.0 | ||
| - --port | ||
| - "30283" | ||
| - --num-gpus | ||
| - "{gpus_per_node}" | ||
| # Deployment only: CFG branches on two GPU groups, Ulysses sequence parallelism within each. | ||
| - --tensor-parallel-size | ||
| - "1" | ||
| - --cfg-parallel-size | ||
| - "2" | ||
| - --usp | ||
| - "2" | ||
| - --ring | ||
| - "1" | ||
| - --vae-patch-parallel-size | ||
| - "{gpus_per_node}" | ||
| - --vae-use-tiling | ||
| - --init-timeout | ||
| - "3600" | ||
| - --stage-init-timeout | ||
| - "3600" | ||
| env: | ||
| PYTHONPATH: /video-package:/infmax-workspace | ||
| PYTHONUNBUFFERED: "1" | ||
| VIDEO_SERVER_PORT: "30283" | ||
| VIDEO_RUNTIME_REVISION: 5917730a4b02aedb44d374173cdc1b10484ccd52 | ||
| HF_HUB_OFFLINE: "1" | ||
| TRANSFORMERS_OFFLINE: "1" | ||
| VLLM_WORKER_MULTIPROC_METHOD: spawn | ||
| # The release set reuses each prompt across five seeds; cached text embeddings would skip work. | ||
| OMNI_DIFFUSION_PROMPT_EMBED_CACHE: "0" | ||
| VLLM_OMNI_VIDEO_SYNC_TIMEOUT: "14400" | ||
| VLLM_OMNI_SERVER_STORAGE__PATH: /logs/video/server/storage | ||
| readiness: | ||
| http: | ||
| port: 30283 | ||
| path: /health | ||
| timeout_seconds: 3600 | ||
| interval_seconds: 5 |
63 changes: 63 additions & 0 deletions
63
...2e/benchmarks/single_node/srt-slurm-recipes/wan22/vllm-omni/h100-bf16/serving-client.yaml
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,63 @@ | ||
| schema: 2 | ||
| name: wan22-vllm-omni-serving-client | ||
|
|
||
| resources: | ||
| gpu_type: h100 | ||
|
|
||
| services: | ||
| - name: video-server | ||
| type: generic | ||
| nodes: 1 | ||
| critical: true | ||
| start: before_workers | ||
| command: [python3, -m, infx.bench, video, serve] | ||
| args: | ||
| - --model-view | ||
| - snapshot | ||
| - -- | ||
| - vllm | ||
| - serve | ||
| - "{model_path}" | ||
| - --served-model-name | ||
| - "{model_id}" | ||
| - --omni | ||
| - --host | ||
| - 0.0.0.0 | ||
| - --port | ||
| - "30283" | ||
| - --num-gpus | ||
| - "{gpus_per_node}" | ||
| # Deployment only: CFG branches on two GPU groups, Ulysses sequence parallelism within each. | ||
| - --tensor-parallel-size | ||
| - "1" | ||
| - --cfg-parallel-size | ||
| - "2" | ||
| - --usp | ||
| - "4" | ||
| - --ring | ||
| - "1" | ||
| - --vae-patch-parallel-size | ||
| - "{gpus_per_node}" | ||
| - --vae-use-tiling | ||
| - --init-timeout | ||
| - "3600" | ||
| - --stage-init-timeout | ||
| - "3600" | ||
| env: | ||
| PYTHONPATH: /video-package:/infmax-workspace | ||
| PYTHONUNBUFFERED: "1" | ||
| VIDEO_SERVER_PORT: "30283" | ||
| VIDEO_RUNTIME_REVISION: 5917730a4b02aedb44d374173cdc1b10484ccd52 | ||
| HF_HUB_OFFLINE: "1" | ||
| TRANSFORMERS_OFFLINE: "1" | ||
| VLLM_WORKER_MULTIPROC_METHOD: spawn | ||
| # The release set reuses each prompt across five seeds; cached text embeddings would skip work. | ||
| OMNI_DIFFUSION_PROMPT_EMBED_CACHE: "0" | ||
| VLLM_OMNI_VIDEO_SYNC_TIMEOUT: "14400" | ||
| VLLM_OMNI_SERVER_STORAGE__PATH: /logs/video/server/storage | ||
| readiness: | ||
| http: | ||
| port: 30283 | ||
| path: /health | ||
| timeout_seconds: 3600 | ||
| interval_seconds: 5 | ||
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
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
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
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
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
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.
🔴 The H100 Wan2.2 servers may never become ready, because the shared HF cache on h100-dsxe is not prefetched. All four sweep points could then time out at readiness. The B300 recipes set
VIDEO_PREFETCH_MODEL: "1". That fix exists because b300-dsxe serves Wan from a runner-home network-filesystem HF cache, where the shard loader read at ~10 MB/s and missed the 3600 s window. h100-dsxe mounts its cache from the same/data/home/sa-gha-runnertree. Fix: make the H100 recipes match the B300 ones by addingVIDEO_PREFETCH_MODEL: "1"to all four, unless the h100-dsxe cache is shown to be fast enough.Why this was flagged
This depends on a condition that cannot be checked from this checkout: whether
/data/home/sa-gha-runner/gharunners/hf-hub-cache(h100-dsxehf-hub-cachevolume, configs/runners.yaml:374) is on the same kind of network filesystem as b300-dsxe's runner-home cache. The B300 recipe comment (b300-bf16/serving-client.yaml:54-57) says the engine's multi-thread mmap shard loader reads that cache at ~10 MB/s. At that rate it missed the one-hour readiness window. The H100 recipes are the B300 recipes byte for byte exceptgpu_type, with theVIDEO_PREFETCH_MODELblock removed (h100-bf16/serving-client.yaml:47-57).readiness.timeout_seconds: 3600and--init-timeout 3600stay unchanged. If h100-dsxe's /data/home behaves like b300-dsxe's, each of the 1, 2, 4 and 8 GPU points loads a Wan2.2 A14B snapshot of over 100 GB at ~10 MB/s. Every point then fails readiness and the full-sweep-fail-fast run aborts.Verification: Trigger: h100-dsxe's runner-home cache at /data/home/sa-gha-runner/gharunners/hf-hub-cache is on the same kind of slow network filesystem that b300-dsxe uses. All four new H100 recipes leave out
VIDEO_PREFETCH_MODEL. B300 setsVIDEO_PREFETCH_MODEL: "1"in all four recipes (b300-bf16/serving-client.yaml:57, g1:55, g2:57, g4:57).