Skip to content

Commit 2e7fddc

Browse files
Add GLM-5.3-Flash FP8 and NVFP4 B200 SGLang AgentX / 新增 GLM-5.3-Flash FP8 与 NVFP4 B200 SGLang AgentX (#4713)
* feat(speedbench): collect GLM-5.3-Flash natural MTP acceptance * fix(speedbench): use vLLM B300 for GLM-5.3-Flash collection * fix(speedbench): preserve multi-turn rows and drain GPU workers * feat(golden-al): commit measured GLM-5.3-Flash MTP curve * feat: add GLM-5.3-Flash FP8 B200 AgentX recipe * docs: record GLM-5.3-Flash B200 FP8 sweep PR * fix(ci): allow authorized sweeps on stacked pull requests * fix(bench): preserve golden acceptance precision in native overrides * feat(bench): add GLM-5.3-Flash FP8 and NVFP4 B200 SGLang AgentX Cookbook B200 Low Latency recipe (TP8, FP8 KV + TRT-LLM DSA, flashinfer_trtllm MoE, EAGLE MTP 5/1/6, auto parsers) at concurrency 1-32 without offload and 40/48 with the cookbook HiCache host tier. * fix(bench): record GLM-5.3-Flash B200 HiCache DRAM at the cgroup-bound budget SGLang's auto-size budget is 0.8 x (cgroup cap 1954.7 GiB - 10 GiB reserve), about 1670 GB, of which the host pools fill about 95% (about 1590 GB). dram-utilization 0.75 records 1610 GB for both precisions. * fix(bench): record GLM-5.3-Flash B200 HiCache DRAM at the measured allocation The auto-sized host pools allocate 184.96 GB/rank (FP8) and 186.56 GB/rank (NVFP4) in Run Sweep 42051031914, 1479.7 and 1492.5 GB per node. dram-utilization 0.690 and 0.696 record 1481 and 1494 GB. * chore: refresh PR #4713 for sweep reuse [skip-sweep] --------- Co-authored-by: Oseltamivir <58582368+Oseltamivir@users.noreply.github.com>
1 parent e63beee commit 2e7fddc

5 files changed

Lines changed: 241 additions & 0 deletions

File tree

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
base:
2+
schema: 2
3+
name: glm5.3flash-fp4-b200-sglang-agentic
4+
identity:
5+
model:
6+
revision: 1d00738646cbb0c6d0a9eb403dac5f366f1473a7
7+
resources:
8+
gpu_type: b200
9+
gpus_per_node: 8
10+
frontend:
11+
type: sglang
12+
enable_multiple_frontends: false
13+
observability:
14+
enabled: false
15+
tachometer:
16+
enabled: false
17+
engine: sglang
18+
roles:
19+
agg:
20+
nodes: 1
21+
workers: 1
22+
gpus: 8
23+
args:
24+
served-model-name: nvidia/GLM-5.3-Flash-NVFP4
25+
tensor-parallel-size: 8
26+
quantization: modelopt_fp4
27+
dsa-prefill-backend: trtllm
28+
dsa-decode-backend: trtllm
29+
kv-cache-dtype: fp8_e4m3
30+
moe-runner-backend: flashinfer_trtllm
31+
speculative-algorithm: EAGLE
32+
speculative-num-steps: 5
33+
speculative-eagle-topk: 1
34+
speculative-num-draft-tokens: 6
35+
reasoning-parser: auto
36+
tool-call-parser: auto
37+
watchdog-timeout: 1800
38+
enable-metrics: true
39+
env:
40+
PYTHONNOUSERSITE: '1'
41+
# Outlast AIPerf's 300 s client connection pool.
42+
SGLANG_TIMEOUT_KEEP_ALIVE: '1800'
43+
benchmark:
44+
env:
45+
AIPERF_HTTP_TCP_USER_TIMEOUT: '900000'
46+
AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'sglang:'
47+
KV_OFFLOADING: none
48+
49+
override_c1:
50+
benchmark:
51+
env:
52+
CONC: '1'
53+
54+
override_c4:
55+
benchmark:
56+
env:
57+
CONC: '4'
58+
59+
override_c8:
60+
benchmark:
61+
env:
62+
CONC: '8'
63+
64+
override_c16:
65+
benchmark:
66+
env:
67+
CONC: '16'
68+
69+
override_c24:
70+
benchmark:
71+
env:
72+
CONC: '24'
73+
74+
override_c32:
75+
benchmark:
76+
env:
77+
CONC: '32'
78+
79+
override_hicache_c40:
80+
roles:
81+
agg:
82+
args:
83+
# Auto-sized host tier (default fraction 0.8): a 32 GB/rank tier is smaller than the
84+
# device KV pool, which SGLang warns reduces L2 effectiveness.
85+
enable-hierarchical-cache: true
86+
benchmark:
87+
env:
88+
CONC: '40'
89+
KV_OFFLOADING: dram
90+
91+
override_hicache_c48:
92+
roles:
93+
agg:
94+
args:
95+
enable-hierarchical-cache: true
96+
benchmark:
97+
env:
98+
CONC: '48'
99+
KV_OFFLOADING: dram
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
base:
2+
schema: 2
3+
name: glm5.3flash-fp8-b200-sglang-agentic
4+
resources:
5+
gpu_type: b200
6+
gpus_per_node: 8
7+
frontend:
8+
type: sglang
9+
enable_multiple_frontends: false
10+
observability:
11+
enabled: false
12+
tachometer:
13+
enabled: false
14+
engine: sglang
15+
roles:
16+
agg:
17+
nodes: 1
18+
workers: 1
19+
gpus: 8
20+
args:
21+
served-model-name: zai-org/GLM-5.3-Flash
22+
tensor-parallel-size: 8
23+
dsa-prefill-backend: trtllm
24+
dsa-decode-backend: trtllm
25+
kv-cache-dtype: fp8_e4m3
26+
moe-runner-backend: flashinfer_trtllm
27+
speculative-algorithm: EAGLE
28+
speculative-num-steps: 5
29+
speculative-eagle-topk: 1
30+
speculative-num-draft-tokens: 6
31+
reasoning-parser: auto
32+
tool-call-parser: auto
33+
watchdog-timeout: 1800
34+
enable-metrics: true
35+
env:
36+
PYTHONNOUSERSITE: '1'
37+
# Outlast AIPerf's 300 s client connection pool.
38+
SGLANG_TIMEOUT_KEEP_ALIVE: '1800'
39+
benchmark:
40+
env:
41+
AIPERF_HTTP_TCP_USER_TIMEOUT: '900000'
42+
AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'sglang:'
43+
KV_OFFLOADING: none
44+
45+
override_c1:
46+
benchmark:
47+
env:
48+
CONC: '1'
49+
50+
override_c4:
51+
benchmark:
52+
env:
53+
CONC: '4'
54+
55+
override_c8:
56+
benchmark:
57+
env:
58+
CONC: '8'
59+
60+
override_c16:
61+
benchmark:
62+
env:
63+
CONC: '16'
64+
65+
override_c24:
66+
benchmark:
67+
env:
68+
CONC: '24'
69+
70+
override_c32:
71+
benchmark:
72+
env:
73+
CONC: '32'
74+
75+
override_hicache_c40:
76+
roles:
77+
agg:
78+
args:
79+
# Auto-sized host tier (default fraction 0.8): a 32 GB/rank tier is smaller than the
80+
# device KV pool, which SGLang warns reduces L2 effectiveness.
81+
enable-hierarchical-cache: true
82+
benchmark:
83+
env:
84+
CONC: '40'
85+
KV_OFFLOADING: dram
86+
87+
override_hicache_c48:
88+
roles:
89+
agg:
90+
args:
91+
enable-hierarchical-cache: true
92+
benchmark:
93+
env:
94+
CONC: '48'
95+
KV_OFFLOADING: dram

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7324,6 +7324,42 @@ musespark-fp4-h100-sglang-agentic-dflash:
73247324
search-space:
73257325
- { tp: 8, ep: 8, kv-offloading: dram, kv-offload-backend: { name: hicache }, spec-decoding: draft_model, conc-list: [1, 2, 4, 8], srt-recipe: agentic.yaml }
73267326

7327+
glm5.3flash-fp8-b200-sglang-agentic-mtp:
7328+
image: lmsysorg/sglang:v0.5.22-cu130@sha256:e3a4f06001a29542fc4a8638536d9ffc5eb9c9942b08603c09b19a56eae4a1ae
7329+
model: zai-org/GLM-5.3-Flash
7330+
model-prefix: glm5.3flash
7331+
runner: cluster:b200-nscale
7332+
precision: fp8
7333+
framework: sglang
7334+
multinode: false
7335+
srt-recipe-dir: glm5.3flash/sglang/b200-fp8-mtp
7336+
scenarios:
7337+
agentic-coding:
7338+
- search-space:
7339+
- { tp: 8, spec-decoding: mtp, kv-offloading: none, conc-list: [1, 4, 8, 16, 24, 32], srt-recipe: agentic.yaml }
7340+
# Covers the auto-sized HiCache host pools: 8 ranks x 184.96 GB.
7341+
- dram-utilization: 0.690
7342+
search-space:
7343+
- { tp: 8, spec-decoding: mtp, kv-offloading: dram, kv-offload-backend: { name: hicache }, conc-list: [40, 48], srt-recipe: agentic.yaml }
7344+
7345+
glm5.3flash-fp4-b200-sglang-agentic-mtp:
7346+
image: lmsysorg/sglang:v0.5.22-cu130@sha256:e3a4f06001a29542fc4a8638536d9ffc5eb9c9942b08603c09b19a56eae4a1ae
7347+
model: nvidia/GLM-5.3-Flash-NVFP4
7348+
model-prefix: glm5.3flash
7349+
runner: cluster:b200-nscale
7350+
precision: fp4
7351+
framework: sglang
7352+
multinode: false
7353+
srt-recipe-dir: glm5.3flash/sglang/b200-fp4-mtp
7354+
scenarios:
7355+
agentic-coding:
7356+
- search-space:
7357+
- { tp: 8, spec-decoding: mtp, kv-offloading: none, conc-list: [1, 4, 8, 16, 24, 32], srt-recipe: agentic.yaml }
7358+
# Covers the auto-sized HiCache host pools: 8 ranks x 186.56 GB.
7359+
- dram-utilization: 0.696
7360+
search-space:
7361+
- { tp: 8, spec-decoding: mtp, kv-offloading: dram, kv-offload-backend: { name: hicache }, conc-list: [40, 48], srt-recipe: agentic.yaml }
7362+
73277363
glm5.3flash-fp8-gb200-sglang-agentic-mtp:
73287364
image: lmsysorg/sglang:v0.5.22-cu130@sha256:e3a4f06001a29542fc4a8638536d9ffc5eb9c9942b08603c09b19a56eae4a1ae
73297365
model: zai-org/GLM-5.3-Flash

‎inferencex-e2e/configs/runners.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,8 @@ clusters:
457457
deepseek-r1-fp4: {root: scratch, dir: DeepSeek-R1-0528-NVFP4-v2}
458458
GLM-5.2-FP8: {root: scratch, dir: GLM-5.2-FP8}
459459
GLM-5.2-NVFP4: {root: scratch, dir: GLM-5.2-NVFP4}
460+
GLM-5.3-Flash: {root: data-models, dir: GLM-5.3-Flash}
461+
GLM-5.3-Flash-NVFP4: {root: data-models, dir: GLM-5.3-Flash-NVFP4}
460462
Kimi-K3.1-Pro: {root: scratch, dir: Kimi-K3.1-Pro}
461463
MiniMax-M3.1-Flash: {root: data-models, dir: MiniMax-M3.1-Flash}
462464
Muse-Spark-Open-816B-A42B-NVFP4: {root: data-models, dir: Muse-Spark-Open-816B-A42B-NVFP4}

‎inferencex-e2e/perf-changelog.yaml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12205,3 +12205,12 @@
1220512205
- "Retune the Muse Spark Open GB200 curve and set SGLANG_FLASHINFER_NVFP4_PER_TOKEN_ACTIVATION=0 at every concurrency; run TP4/EP4 at concurrency 1 without KV offload and at concurrency 4, 7, 10, 14, 16, 28, 36, 40 with HiCache, dropping concurrency 2, 6, 8, 20, 24 and 32."
1220612206
- "Use prefill-decode interval 64-256 and stream interval 20 at every HiCache point, shortest-prefill-first except at concurrency 7, request admission 2-6 at concurrency 4-16, 16K chunked prefill at concurrency 28-40, and at concurrency 40 mem-fraction-static 0.93, a 160 GB HiCache pool and CUDA graphs up to 48."
1220712207
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXX
12208+
12209+
- config-keys:
12210+
- glm5.3flash-fp8-b200-sglang-agentic-mtp
12211+
- glm5.3flash-fp4-b200-sglang-agentic-mtp
12212+
scenario-type: [agentic-coding]
12213+
description:
12214+
- "Add GLM-5.3-Flash FP8 and NVFP4 (nvidia/GLM-5.3-Flash-NVFP4) SGLang AgentX on one 8x B200 node with the pinned lmsysorg/sglang:v0.5.22-cu130 image and the SGLang cookbook B200 Low Latency recipe: TP8, FP8 KV with TRT-LLM DSA, flashinfer_trtllm MoE, EAGLE MTP 5/1/6 and auto parsers."
12215+
- "Each precision runs concurrency 1, 4, 8, 16, 24 and 32 without KV offload and 40 and 48 with an auto-sized HiCache host tier (default host-memory fraction 0.8, about 1.5 TB per node) instead of the cookbook 32 GB/rank tier, which is smaller than the device KV pool; acceptance comes from the glm-5.3-flash golden AL curve."
12216+
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4713

0 commit comments

Comments
 (0)