Skip to content

Commit 283fb86

Browse files
authored
[VideoGenX] add SGLang Wan2.2 on H200 with 1, 2, 4 and 8 GPUs / [VideoGenX] 在 H200 上新增 SGLang Wan2.2(1、2、4、8 卡) (#5113)
* feat: add the SGLang request contract for Wan2.2 * feat: add SGLang Wan2.2 on H200 with 1, 2, 4 and 8 GPUs * fix: refuse SGLang Wan2.2 runs without a sealed launch identity * fix: request ultrafast CRF 18 clips from SGLang Wan2.2
1 parent 3f49bf3 commit 283fb86

14 files changed

Lines changed: 473 additions & 14 deletions

File tree

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
schema: 2
2+
name: wan22-sglang-serving-client-g1
3+
4+
resources:
5+
gpu_type: h200
6+
7+
services:
8+
- name: video-server
9+
type: generic
10+
nodes: 1
11+
critical: true
12+
start: before_workers
13+
command: [python3, -m, infx.bench, video, serve]
14+
args:
15+
- --model-view
16+
- snapshot
17+
- --
18+
- /opt/sglang/bin/python3
19+
- -m
20+
- evaluator.srt_selected
21+
- serve
22+
- --model-type
23+
- diffusion
24+
- --model-path
25+
- "{model_path}"
26+
- --model-id
27+
- "{model_id}"
28+
- --revision
29+
- "{model_revision}"
30+
- --num-gpus
31+
- "{gpus_per_node}"
32+
# Deployment only: one GPU runs both CFG branches with no sequence parallelism.
33+
- --cfg-parallel-size
34+
- "1"
35+
- --ulysses-degree
36+
- "1"
37+
- --tp-size
38+
- "1"
39+
- --encoder-parallel
40+
- auto
41+
# SGLang takes the UniPC shift from this flag and ignores the request field.
42+
- --flow-shift
43+
- "12.0"
44+
- --warmup-resolutions
45+
- 832x480
46+
# The release set reuses each prompt across five seeds; cached text embeddings would skip work.
47+
- --disable-conditioning-cache
48+
- --performance-mode
49+
- speed
50+
- --host
51+
- 0.0.0.0
52+
- --port
53+
- "30283"
54+
- --enable-torch-compile
55+
- "false"
56+
- --dit-cpu-offload
57+
- "false"
58+
env:
59+
PYTHONPATH: /video-package:/infmax-workspace
60+
PYTHONUNBUFFERED: "1"
61+
VIDEO_SERVER_PORT: "30283"
62+
VIDEO_RUNTIME_REVISION: 297e54fd105e974cdf401e5b4d20253a22c16f90
63+
HF_HUB_OFFLINE: "1"
64+
TRANSFORMERS_OFFLINE: "1"
65+
readiness:
66+
http:
67+
port: 30283
68+
path: /health
69+
timeout_seconds: 3600
70+
interval_seconds: 5
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
schema: 2
2+
name: wan22-sglang-serving-client-g2
3+
4+
resources:
5+
gpu_type: h200
6+
7+
services:
8+
- name: video-server
9+
type: generic
10+
nodes: 1
11+
critical: true
12+
start: before_workers
13+
command: [python3, -m, infx.bench, video, serve]
14+
args:
15+
- --model-view
16+
- snapshot
17+
- --
18+
- /opt/sglang/bin/python3
19+
- -m
20+
- evaluator.srt_selected
21+
- serve
22+
- --model-type
23+
- diffusion
24+
- --model-path
25+
- "{model_path}"
26+
- --model-id
27+
- "{model_id}"
28+
- --revision
29+
- "{model_revision}"
30+
- --num-gpus
31+
- "{gpus_per_node}"
32+
# Deployment only: CFG branches on two GPUs, no sequence parallelism.
33+
- --cfg-parallel-size
34+
- "2"
35+
- --ulysses-degree
36+
- "1"
37+
- --tp-size
38+
- "1"
39+
- --encoder-parallel
40+
- auto
41+
# SGLang takes the UniPC shift from this flag and ignores the request field.
42+
- --flow-shift
43+
- "12.0"
44+
- --warmup-resolutions
45+
- 832x480
46+
# The release set reuses each prompt across five seeds; cached text embeddings would skip work.
47+
- --disable-conditioning-cache
48+
- --performance-mode
49+
- speed
50+
- --host
51+
- 0.0.0.0
52+
- --port
53+
- "30283"
54+
- --enable-torch-compile
55+
- "false"
56+
- --dit-cpu-offload
57+
- "false"
58+
env:
59+
PYTHONPATH: /video-package:/infmax-workspace
60+
PYTHONUNBUFFERED: "1"
61+
VIDEO_SERVER_PORT: "30283"
62+
VIDEO_RUNTIME_REVISION: 297e54fd105e974cdf401e5b4d20253a22c16f90
63+
HF_HUB_OFFLINE: "1"
64+
TRANSFORMERS_OFFLINE: "1"
65+
readiness:
66+
http:
67+
port: 30283
68+
path: /health
69+
timeout_seconds: 3600
70+
interval_seconds: 5
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
schema: 2
2+
name: wan22-sglang-serving-client-g4
3+
4+
resources:
5+
gpu_type: h200
6+
7+
services:
8+
- name: video-server
9+
type: generic
10+
nodes: 1
11+
critical: true
12+
start: before_workers
13+
command: [python3, -m, infx.bench, video, serve]
14+
args:
15+
- --model-view
16+
- snapshot
17+
- --
18+
- /opt/sglang/bin/python3
19+
- -m
20+
- evaluator.srt_selected
21+
- serve
22+
- --model-type
23+
- diffusion
24+
- --model-path
25+
- "{model_path}"
26+
- --model-id
27+
- "{model_id}"
28+
- --revision
29+
- "{model_revision}"
30+
- --num-gpus
31+
- "{gpus_per_node}"
32+
# Deployment only: CFG branches on two GPU groups, Ulysses sequence parallelism within each.
33+
- --cfg-parallel-size
34+
- "2"
35+
- --ulysses-degree
36+
- "2"
37+
- --tp-size
38+
- "1"
39+
- --encoder-parallel
40+
- auto
41+
# SGLang takes the UniPC shift from this flag and ignores the request field.
42+
- --flow-shift
43+
- "12.0"
44+
- --warmup-resolutions
45+
- 832x480
46+
# The release set reuses each prompt across five seeds; cached text embeddings would skip work.
47+
- --disable-conditioning-cache
48+
- --performance-mode
49+
- speed
50+
- --host
51+
- 0.0.0.0
52+
- --port
53+
- "30283"
54+
- --enable-torch-compile
55+
- "false"
56+
- --dit-cpu-offload
57+
- "false"
58+
env:
59+
PYTHONPATH: /video-package:/infmax-workspace
60+
PYTHONUNBUFFERED: "1"
61+
VIDEO_SERVER_PORT: "30283"
62+
VIDEO_RUNTIME_REVISION: 297e54fd105e974cdf401e5b4d20253a22c16f90
63+
HF_HUB_OFFLINE: "1"
64+
TRANSFORMERS_OFFLINE: "1"
65+
readiness:
66+
http:
67+
port: 30283
68+
path: /health
69+
timeout_seconds: 3600
70+
interval_seconds: 5
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
schema: 2
2+
name: wan22-sglang-serving-client
3+
4+
resources:
5+
gpu_type: h200
6+
7+
services:
8+
- name: video-server
9+
type: generic
10+
nodes: 1
11+
critical: true
12+
start: before_workers
13+
command: [python3, -m, infx.bench, video, serve]
14+
args:
15+
- --model-view
16+
- snapshot
17+
- --
18+
- /opt/sglang/bin/python3
19+
- -m
20+
- evaluator.srt_selected
21+
- serve
22+
- --model-type
23+
- diffusion
24+
- --model-path
25+
- "{model_path}"
26+
- --model-id
27+
- "{model_id}"
28+
- --revision
29+
- "{model_revision}"
30+
- --num-gpus
31+
- "{gpus_per_node}"
32+
# Deployment only: CFG branches on two GPU groups, Ulysses sequence parallelism within each.
33+
- --cfg-parallel-size
34+
- "2"
35+
- --ulysses-degree
36+
- "4"
37+
- --tp-size
38+
- "1"
39+
- --encoder-parallel
40+
- auto
41+
# SGLang takes the UniPC shift from this flag and ignores the request field.
42+
- --flow-shift
43+
- "12.0"
44+
- --warmup-resolutions
45+
- 832x480
46+
# The release set reuses each prompt across five seeds; cached text embeddings would skip work.
47+
- --disable-conditioning-cache
48+
- --performance-mode
49+
- speed
50+
- --host
51+
- 0.0.0.0
52+
- --port
53+
- "30283"
54+
- --enable-torch-compile
55+
- "false"
56+
- --dit-cpu-offload
57+
- "false"
58+
env:
59+
PYTHONPATH: /video-package:/infmax-workspace
60+
PYTHONUNBUFFERED: "1"
61+
VIDEO_SERVER_PORT: "30283"
62+
VIDEO_RUNTIME_REVISION: 297e54fd105e974cdf401e5b4d20253a22c16f90
63+
HF_HUB_OFFLINE: "1"
64+
TRANSFORMERS_OFFLINE: "1"
65+
readiness:
66+
http:
67+
port: 30283
68+
path: /health
69+
timeout_seconds: 3600
70+
interval_seconds: 5

‎inferencex-e2e/configs/nvidia-master.yaml‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8252,6 +8252,33 @@ wan22-bf16-h100-vllm-omni-video:
82528252
srt-recipe: serving-client.yaml
82538253
conc-list: [1]
82548254

8255+
wan22-bf16-h200-sglang-video:
8256+
image: lmsysorg/sglang:v0.5.23@sha256:f7876bef696ccf9cf75a2bf7ccb82970f5fac577f082fb8ca95c9a59d2160eb5
8257+
model: Wan-AI/Wan2.2-T2V-A14B-Diffusers
8258+
model-prefix: wan22
8259+
runner: cluster:h200-dgxc
8260+
precision: bf16
8261+
framework: sglang
8262+
multinode: false
8263+
srt-recipe-dir: wan22/sglang/h200-bf16
8264+
scenarios:
8265+
video-generation:
8266+
- spec: wan22.yaml
8267+
set: release-v1
8268+
search-space:
8269+
- gpus: 1
8270+
srt-recipe: serving-client-g1.yaml
8271+
conc-list: [1]
8272+
- gpus: 2
8273+
srt-recipe: serving-client-g2.yaml
8274+
conc-list: [1]
8275+
- gpus: 4
8276+
srt-recipe: serving-client-g4.yaml
8277+
conc-list: [1]
8278+
- gpus: 8
8279+
srt-recipe: serving-client.yaml
8280+
conc-list: [1]
8281+
82558282
glm5.3-fp4-b300-sglang-agentic-mtp:
82568283
image: lmsysorg/sglang:v0.5.20-cu130@sha256:b27fce60bc5494c118c4910702812bcfa8cee67abcdd1ff8b0902f21647552f4
82578284
model: nvidia/GLM-5.3-NVFP4

‎inferencex-e2e/docs/MODELS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ For non-grandfathered models, `ROCM_QUICK_REDUCE_QUANTIZATION`, `VLLM_ROCM_QUICK
4646
|---|---|---|
4747
| Agentic coding | Long Context, Multi Turn Realistic traffic trace replay with sub agents | Active. This is the trace-replay agentic-coding benchmark (see the srt-slurm recipes under [`benchmarks/single_node/srt-slurm-recipes/`](../benchmarks/single_node/srt-slurm-recipes) and the shared client [`benchmarks/srt_agentic.sh`](../benchmarks/srt_agentic.sh)). Going forward, new models will likely be onboarded with agentic coding only. Speculative decoding may be enabled or disabled to produce the best Pareto points; a separate non-spec-decode A/B baseline is not required (see [Deprecation policy](#deprecation-policy)). |
4848
| Single-turn 8k1k | 8192 / 1024 | Active. This is the primary fixed-sequence-length scenario. |
49-
| Video generation | H3: 124 frames at 24 fps, 1344x768, C1 | MiniMax-H3 uses native srt-slurm: SGLang selects 20-clip `h3-v2.yaml` C1 points on 1, 2, 4 and 8 B200, H200 or MI355X GPUs and 2, 4 and 8 H100 or A100 GPUs, and vLLM-Omni the same B200 and A100 points. Wan2.2-T2V-A14B (`wan22.yaml`: 81 frames at 16 fps, 832x480, 20 clips) runs on vLLM-Omni on 1, 2, 4 and 8 H100, H200, B200 or B300 GPUs. The client and server live in [`video-generation`](../../video-generation); energy is reported per valid clip. Config presence does not qualify execution, power, or quality. See [video delivery](video-generation.md). |
49+
| Video generation | H3: 124 frames at 24 fps, 1344x768, C1 | MiniMax-H3 uses native srt-slurm: SGLang selects 20-clip `h3-v2.yaml` C1 points on 1, 2, 4 and 8 B200, H200 or MI355X GPUs and 2, 4 and 8 H100 or A100 GPUs, and vLLM-Omni the same B200 and A100 points. Wan2.2-T2V-A14B (`wan22.yaml`: 81 frames at 16 fps, 832x480, 20 clips) runs on vLLM-Omni on 1, 2, 4 and 8 H100, H200, B200 or B300 GPUs and on SGLang on 1, 2, 4 and 8 H200 GPUs. The client and server live in [`video-generation`](../../video-generation); energy is reported per valid clip. Config presence does not qualify execution, power, or quality. See [video delivery](video-generation.md). |
5050
| Single-turn 1k1k | 1024 / 1024 | Deprecated since 2026-07-17 ([#2263](https://github.com/SemiAnalysisAI/InferenceX/pull/2263)), to save GPU cluster time for higher-priority real-world agentic-coding benchmarks and new frontier models. Archived configs lived in `configs/deprecated/` until it was deleted (#3463); see git history. The GLM-5.1 B200 TileRT point added later in [#2533](https://github.com/SemiAnalysisAI/InferenceX/pull/2533) was the last 1k1k config; it was retired on 2026-10-01 ([#3638](https://github.com/SemiAnalysisAI/InferenceX/pull/3638)). |
5151
| Single-turn 1k8k | 1024 / 8192 | **Deprecated for all models** since 2026-03-27 ([#911](https://github.com/SemiAnalysisAI/InferenceX/pull/911)), to save GPU cluster time for higher-priority real-world agentic-coding benchmarks and new frontier models. Configs were removed, not archived. |
5252

‎inferencex-e2e/docs/video-generation.md‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ not fit one 80 GB GPU), and vLLM-Omni the same B200 and A100 deployments, all us
77
`h3-v2.yaml`: 20 distinct measured prompts, a separate warmup, 49 denoising
88
updates, and 124 frames at 24 fps and 1344×768. A five-second request produces
99
124/24 seconds of video. Wan2.2-T2V-A14B runs vLLM-Omni on 1, 2, 4 and 8
10-
H100, H200, B200 or B300 GPUs (CFG parallel 1 x Ulysses 1 on one GPU, then CFG parallel 2 x
11-
Ulysses 1, 2 and 4) using `wan22.yaml` `release-v1`: four
10+
H100, H200, B200 or B300 GPUs and SGLang on 1, 2, 4 and 8 H200 GPUs (CFG
11+
parallel 1 x Ulysses 1 on one GPU, then CFG parallel 2 x Ulysses 1, 2 and 4)
12+
using `wan22.yaml` `release-v1`: four
1213
prompts by five seeds, one warmup, 40 UniPC steps, and 81 silent frames at 16 fps
1314
and 832×480; its `smoke` set sends the same request controls for one case.
1415
Config presence is not GPU or quality qualification.
@@ -51,7 +52,11 @@ includes the declared settings.
5152

5253
The Python entrypoint validates the workload and GPU identity, prepares an
5354
explicitly selected model view, records the final command, then starts it.
54-
It adds no engine flags or performance environment defaults. The SGLang child
55+
It adds no engine flags or performance environment defaults. For Wan2.2 on
56+
SGLang it also requires `--flow-shift` and the checkpoint's `boundary_ratio` to
57+
equal the plan, because SGLang reads neither from a request. SGLang's Wan2.2
58+
requests set `x264_preset: ultrafast` and `output_compression: 63` (CRF 18),
59+
the libx264 encoding vLLM-Omni v0.32.0 delivers by default. The SGLang child
5560
checks the assigned UUID order before importing its engine. The previous B200
5661
`frozen-c124` four-clip JSON and YAML artifacts remain readable as historical evidence.
5762
The App shows their four-sample cells in History, below its ten-valid-sample chart

‎inferencex-e2e/perf-changelog.yaml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13081,3 +13081,10 @@
1308113081
description:
1308213082
- "Add a vLLM-Omni v0.32.0 Wan2.2-T2V-A14B baseline on 1, 2, 4 and 8 H100 GPUs, on the B200 row's workload (wan22.yaml release-v1, C1) and image digest."
1308313083
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5111
13084+
13085+
- config-keys:
13086+
- wan22-bf16-h200-sglang-video
13087+
scenario-type: [video-generation]
13088+
description:
13089+
- "Add an SGLang v0.5.23 Wan2.2-T2V-A14B baseline on 1, 2, 4 and 8 H200 GPUs, on the vLLM-Omni Wan2.2 rows' workload (wan22.yaml release-v1, C1) and parallel layout and the H3 SGLang rows' image digest."
13090+
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5113

0 commit comments

Comments
 (0)