Skip to content

Commit f28acb3

Browse files
committed
feat: add SGLang Wan2.2 on H100 with 1, 2, 4 and 8 GPUs
1 parent fca8236 commit f28acb3

8 files changed

Lines changed: 319 additions & 3 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: 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: 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: 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 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: 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: 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: 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+
# 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
@@ -7980,6 +7980,33 @@ wan22-bf16-b300-vllm-omni-video:
79807980
srt-recipe: serving-client.yaml
79817981
conc-list: [1]
79827982

7983+
wan22-bf16-h100-sglang-video:
7984+
image: lmsysorg/sglang:v0.5.23@sha256:f7876bef696ccf9cf75a2bf7ccb82970f5fac577f082fb8ca95c9a59d2160eb5
7985+
model: Wan-AI/Wan2.2-T2V-A14B-Diffusers
7986+
model-prefix: wan22
7987+
runner: cluster:h100-dsxe
7988+
precision: bf16
7989+
framework: sglang
7990+
multinode: false
7991+
srt-recipe-dir: wan22/sglang/h100-bf16
7992+
scenarios:
7993+
video-generation:
7994+
- spec: wan22.yaml
7995+
set: release-v1
7996+
search-space:
7997+
- gpus: 1
7998+
srt-recipe: serving-client-g1.yaml
7999+
conc-list: [1]
8000+
- gpus: 2
8001+
srt-recipe: serving-client-g2.yaml
8002+
conc-list: [1]
8003+
- gpus: 4
8004+
srt-recipe: serving-client-g4.yaml
8005+
conc-list: [1]
8006+
- gpus: 8
8007+
srt-recipe: serving-client.yaml
8008+
conc-list: [1]
8009+
79838010
glm5.3-fp4-b300-sglang-agentic-mtp:
79848011
image: lmsysorg/sglang:v0.5.20-cu130@sha256:b27fce60bc5494c118c4910702812bcfa8cee67abcdd1ff8b0902f21647552f4
79858012
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 GPUs, and vLLM-Omni the same B200 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 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 GPUs, and vLLM-Omni the same B200 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 B200 or B300 GPUs and on SGLang on 1, 2, 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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ one 80 GB GPU), and vLLM-Omni the same four B200 deployments, all using
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-
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+
B200 or B300 GPUs and SGLang on 1, 2, 4 and 8 H100 GPUs (CFG parallel 1 x
11+
Ulysses 1 on one GPU, then CFG parallel 2 x Ulysses 1, 2 and 4) using
12+
`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.

‎inferencex-e2e/perf-changelog.yaml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12952,3 +12952,11 @@
1295212952
- "TP2 concurrency 32: enable the AMD monokernel (8 running requests x 6 rows fit its 48-row launch), drop SGLANG_HIP_DSV41_INDEX_K_PAGE8 which the monokernel refuses, lower prefill-decode-interval from 32 to 8, and use the fastokens tokenizer backend (DeepSeek-V4.1 segmented prompt encoding)."
1295312953
- "Search space and every other flag are unchanged."
1295412954
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5029
12955+
12956+
- config-keys:
12957+
- wan22-bf16-h100-sglang-video
12958+
scenario-type: [video-generation]
12959+
description:
12960+
- "Add an H100 Wan2.2-T2V-A14B baseline on SGLang v0.5.23, by the digest the H3 SGLang rows use: wan22.yaml release-v1, C1 on 1, 2, 4 and 8 GPUs, conditioning cache disabled. --flow-shift 12.0 is a server flag and boundary_ratio 0.875 comes from the checkpoint; the server refuses to start when either differs from the spec."
12961+
- "Deployment per count, the vLLM-Omni rows' layout: 1 GPU runs both CFG branches with Ulysses 1; 2 GPUs CFG parallel 2 x Ulysses 1; 4 GPUs CFG parallel 2 x Ulysses 2; 8 GPUs CFG parallel 2 x Ulysses 4. TP 1, performance mode speed, no torch.compile, no DiT offload."
12962+
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXX

0 commit comments

Comments
 (0)