Skip to content

Commit df62322

Browse files
authored
[VideoGenX] add SGLang Wan2.2 on H100 with 4 and 8 GPUs / [VideoGenX] 在 H100 上新增 SGLang Wan2.2(4、8 卡) (#5114)
* feat: add the SGLang request contract for Wan2.2 * feat: add SGLang Wan2.2 on H100 with 1, 2, 4 and 8 GPUs * fix: drop the 1-GPU H100 SGLang Wan2.2 point that runs out of memory * fix: drop the 2-GPU H100 SGLang Wan2.2 point that runs out of memory * fix: refuse SGLang Wan2.2 runs without a sealed launch identity * fix: request ultrafast CRF 18 clips from SGLang Wan2.2 * fix: warm up the 8-GPU H100 SGLang Wan2.2 server with 21 frames The default 17-frame warmup skips sharded VAE decode on 8 ranks. NCCL then allocates the decode group's buffers mid-request on nearly full 80 GB cards and fails.
1 parent 283fb86 commit df62322

6 files changed

Lines changed: 176 additions & 4 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-g4
3+
4+
resources:
5+
gpu_type: h100
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: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
schema: 2
2+
name: wan22-sglang-serving-client
3+
4+
resources:
5+
gpu_type: h100
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+
# On 8 decode ranks the default 17-frame warmup stays below Wan's sharded-decode threshold, so
47+
# the decode group's NCCL buffers are first allocated mid-request on full 80 GB cards and fail.
48+
- --warmup-num-frames
49+
- "21"
50+
# The release set reuses each prompt across five seeds; cached text embeddings would skip work.
51+
- --disable-conditioning-cache
52+
- --performance-mode
53+
- speed
54+
- --host
55+
- 0.0.0.0
56+
- --port
57+
- "30283"
58+
- --enable-torch-compile
59+
- "false"
60+
- --dit-cpu-offload
61+
- "false"
62+
env:
63+
PYTHONPATH: /video-package:/infmax-workspace
64+
PYTHONUNBUFFERED: "1"
65+
VIDEO_SERVER_PORT: "30283"
66+
VIDEO_RUNTIME_REVISION: 297e54fd105e974cdf401e5b4d20253a22c16f90
67+
HF_HUB_OFFLINE: "1"
68+
TRANSFORMERS_OFFLINE: "1"
69+
readiness:
70+
http:
71+
port: 30283
72+
path: /health
73+
timeout_seconds: 3600
74+
interval_seconds: 5

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8279,6 +8279,27 @@ wan22-bf16-h200-sglang-video:
82798279
srt-recipe: serving-client.yaml
82808280
conc-list: [1]
82818281

8282+
wan22-bf16-h100-sglang-video:
8283+
image: lmsysorg/sglang:v0.5.23@sha256:f7876bef696ccf9cf75a2bf7ccb82970f5fac577f082fb8ca95c9a59d2160eb5
8284+
model: Wan-AI/Wan2.2-T2V-A14B-Diffusers
8285+
model-prefix: wan22
8286+
runner: cluster:h100-dsxe
8287+
precision: bf16
8288+
framework: sglang
8289+
multinode: false
8290+
srt-recipe-dir: wan22/sglang/h100-bf16
8291+
scenarios:
8292+
video-generation:
8293+
- spec: wan22.yaml
8294+
set: release-v1
8295+
search-space:
8296+
- gpus: 4
8297+
srt-recipe: serving-client-g4.yaml
8298+
conc-list: [1]
8299+
- gpus: 8
8300+
srt-recipe: serving-client.yaml
8301+
conc-list: [1]
8302+
82828303
glm5.3-fp4-b300-sglang-agentic-mtp:
82838304
image: lmsysorg/sglang:v0.5.20-cu130@sha256:b27fce60bc5494c118c4910702812bcfa8cee67abcdd1ff8b0902f21647552f4
82848305
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 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). |
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 and 4 and 8 H100 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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +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 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
10+
H100, H200, B200 or B300 GPUs and SGLang on 1, 2, 4 and 8 H200 GPUs and 4 and
11+
8 H100 GPUs (CFG parallel 1 x Ulysses 1 on one GPU, then CFG parallel 2 x
12+
Ulysses 1, 2 and 4) using `wan22.yaml` `release-v1`: four
1313
prompts by five seeds, one warmup, 40 UniPC steps, and 81 silent frames at 16 fps
1414
and 832×480; its `smoke` set sends the same request controls for one case.
1515
Config presence is not GPU or quality qualification.

‎inferencex-e2e/perf-changelog.yaml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13088,3 +13088,10 @@
1308813088
description:
1308913089
- "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."
1309013090
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5113
13091+
13092+
- config-keys:
13093+
- wan22-bf16-h100-sglang-video
13094+
scenario-type: [video-generation]
13095+
description:
13096+
- "Add an SGLang v0.5.23 Wan2.2-T2V-A14B baseline on 4 and 8 H100 GPUs, on the H200 SGLang row's workload (wan22.yaml release-v1, C1) and image digest, with a 21-frame server warmup on 8 GPUs."
13097+
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5114

0 commit comments

Comments
 (0)