Skip to content

Commit 29be6fb

Browse files
Tune GLM-5.2 FP8 B300 SGLang AgentX recipes
1 parent 57063af commit 29be6fb

3 files changed

Lines changed: 27 additions & 24 deletions

File tree

‎inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/glm5.2/sglang/b300-fp8-mtp/agentic.yaml‎

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ base:
77
name: glm5.2-fp8-b300-sglang-agentic
88
model:
99
path: hf:zai-org/GLM-5.2-FP8
10-
container: lmsysorg/sglang:nightly-dev-cu13-20260908-20ca564b
10+
container: lmsysorg/sglang@sha256:2d53500cb72184020c59fe16aab3512d53b1aa8ee6195bfb2aaf5855d58099df
1111
precision: fp8
1212
resources:
1313
gpu_type: b300
@@ -70,14 +70,15 @@ base:
7070
KV_OFFLOADING: dram
7171
TOTAL_CPU_DRAM_GB: '2399'
7272

73-
# One variant per point: admission is 2x CONC and the graph batch matches it,
74-
# capped at 64.
73+
# Tune admission and MTP depth per point; keep graph maxima at 2x CONC.
7574
override_c1:
7675
roles:
7776
agg:
7877
args:
7978
max-running-requests: 2
8079
cuda-graph-max-bs: 2
80+
speculative-num-steps: 6
81+
speculative-num-draft-tokens: 7
8182
benchmark:
8283
env:
8384
CONC: '1'
@@ -86,8 +87,10 @@ override_c4:
8687
roles:
8788
agg:
8889
args:
89-
max-running-requests: 8
90+
max-running-requests: 3
9091
cuda-graph-max-bs: 8
92+
speculative-num-steps: 4
93+
speculative-num-draft-tokens: 5
9194
benchmark:
9295
env:
9396
CONC: '4'
@@ -106,8 +109,10 @@ override_c12:
106109
roles:
107110
agg:
108111
args:
109-
max-running-requests: 24
112+
max-running-requests: 5
110113
cuda-graph-max-bs: 24
114+
speculative-num-steps: 5
115+
speculative-num-draft-tokens: 6
111116
benchmark:
112117
env:
113118
CONC: '12'
@@ -116,8 +121,12 @@ override_c16:
116121
roles:
117122
agg:
118123
args:
119-
max-running-requests: 32
124+
max-running-requests: 7
120125
cuda-graph-max-bs: 32
126+
speculative-num-steps: 4
127+
speculative-num-draft-tokens: 5
128+
prefill-decode-interval: 8
129+
hicache-write-policy: write_through
121130
benchmark:
122131
env:
123132
CONC: '16'

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

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7368,25 +7368,10 @@ glm5.2-fp4-b300-sglang-agentic-mtp:
73687368
search-space:
73697369
- { tp: 8, spec-decoding: mtp, kv-offloading: dram, kv-offload-backend: { name: hicache }, conc-list: [1, 4, 8, 12, 16, 20, 24, 28, 32, 40, 48], srt-recipe: benchmarks/single_node/srt-slurm-recipes/glm5.2/sglang/b300-fp4-mtp/agentic.yaml }
73707370

7371-
# First GLM-5.2 FP8 AgentX recipe on B300, the FP8 precision sibling of
7372-
# glm5.2-fp4-b300-sglang-agentic-mtp and the B300 counterpart of
7373-
# glm5.2-fp8-b200-sglang-agentic-mtp (#2863). Same spec-decode-only shape per
7374-
# the AgentX policy (docs/MODELS.md): SGLang EAGLE off GLM-5.2's built-in nextn head
7375-
# (num-steps 3, eagle-topk 1, 4 draft tokens = 3 speculative tokens) with
7376-
# acceptance pinned to the golden AL 2.99 (infx/golden_al_distribution/glm5.2_mtp.yaml,
7377-
# thinking_on, K=3), which was measured on glm-5.2-fp8, i.e. on this checkpoint.
7378-
# Pinned to the 2026-09-08 cu13 dev nightly (the first that carries sgl-project/sglang#38318, the guard for the EAGLE DSA fp8 read-door crash seen on the 2026-09-07 build), the same tag the B200/B300 GLM-5.2
7379-
# and Qwen3.5 SGLang AgentX recipes moved to that day. Runs on cluster:b300-dsxe
7380-
# (cluster:b300-nv was retired in #2826).
7381-
#
7382-
# Same single arm and concurrency grid as the NVFP4 B300 sibling: cookbook
7383-
# low-latency TP8 with a 270 GB/rank HiCache host-DRAM target pool, conc
7384-
# [1, 4, 8, 12, 16] (steps of at least 2, hard stop at 16). TP8-only for
7385-
# memory as well as comparability -- the ~756 GB block-FP8 checkpoint needs
7386-
# ~94.5 GB/GPU across 8 B300s; the fp8 KV pool that remains inside
7387-
# --mem-fraction-static 0.85 is ~150 GB/GPU against ~187 GB/GPU on NVFP4.
7371+
# GLM-5.2 FP8 AgentX on B300: TP8, 270 GB/rank HiCache.
7372+
# MTP depth and admission caps are set per concurrency.
73887373
glm5.2-fp8-b300-sglang-agentic-mtp:
7389-
image: lmsysorg/sglang:nightly-dev-cu13-20260908-20ca564b
7374+
image: lmsysorg/sglang@sha256:2d53500cb72184020c59fe16aab3512d53b1aa8ee6195bfb2aaf5855d58099df
73907375
model: zai-org/GLM-5.2-FP8
73917376
model-prefix: glm5.2
73927377
runner: cluster:b300-dsxe

‎inferencex-e2e/perf-changelog.yaml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9410,3 +9410,12 @@
94109410
- "TP4 concurrency 32 sets ATOM_PREFILL_DECODE_INTERVAL=16: after each prefill, ATOM runs at least 16 decode passes and batches the prefills that arrive in the meantime (ATOM's PrefillDelayer, off by default). Prefill no longer interrupts decode as often, so P90 interactivity rises while TTFT rises. Local 3600 s replay: 108.2 -> 150.9 tok/s/user, ITL p90 9.24 -> 6.63 ms, TTFT p50 0.51 -> 1.14 s, throughput unchanged."
94119411
- "TP2 concurrency 64 sets ATOM_PREFILL_DECODE_INTERVAL=4. At this load each batched prefill forward serves several requests, so throughput rises as well as interactivity. Local 3600 s replay: 30.3 -> 38.8 tok/s/user, 105.4k -> 115.2k tok/s/GPU, 6487 -> 6941 requests, TTFT p90 2.3 -> 6.4 s. All other points are unchanged."
94129412
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/3603
9413+
9414+
- config-keys:
9415+
- glm5.2-fp8-b300-sglang-agentic-mtp
9416+
scenario-type:
9417+
- agentic-coding
9418+
description:
9419+
- "Tune GLM-5.2 FP8 B300 SGLang MTP depth, admission caps, and HiCache scheduling per concurrency."
9420+
- "Pin the SGLang image by digest."
9421+
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/0

0 commit comments

Comments
 (0)