Commit 2003066
Add GLM-5.2 NVFP4 B300 SGLang single-node agentic benchmarks (#2268)
* feat: add GLM-5.2 NVFP4 B300 SGLang single-node agentic benchmarks
Add glm5.2-fp4-b300-sglang-agentic from the SGLang cookbook B300 NVFP4
single-node recipes (STP only, no spec decoding):
- Low-latency arm: TP8 with fp8 KV cache and cutedsl bf16 GEMM backend,
conc [1, 2, 4, 8, 16, 32]
- High-throughput arm: TP8/DP8 attention-DP behind sglang-router
consistent hashing for session affinity, conc [48-512]
- Image: lmsysorg/sglang:v0.5.15.post1-cu130 (ships sglang-router 0.3.2)
- benchmark_lib.sh: glm5.2* added to the unfiltered agentic corpus
branch (GLM-5.2 is a 1M-context model)
Both arms validated on b300-nv: LL conc16 8k1k 10,043 total tok/s
(TPOT 12.1 ms); HT conc256 34,429 total tok/s (TPOT 48.9 ms). Weights
pre-staged at /data/models/GLM-5.2-NVFP4.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* chore: fill perf-changelog pr-link for glm5.2 b300 agentic entry
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix: outlast AIPerf per-session keep-alive in glm5.2 b300 agentic recipe
One warmup request hit ECONNRESET (uvicorn closes idle connections after
SGLANG_TIMEOUT_KEEP_ALIVE=5s while AIPerf reuses one pooled connection per
session with a 300s client keep-alive across inter-turn gaps of up to 10s),
and any terminal warmup failure aborts the AIPerf run by design. Set
SGLANG_TIMEOUT_KEEP_ALIVE=900 so the server outlasts the client pool.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix: widen DP-attention chunked prefill for agentic corpus in glm5.2 b300 recipe
The cookbook HT cell's --chunked-prefill-size 8192 is a whole-engine budget:
under dp8 each rank prefills 1,024 tokens/step, which starves prefill on the
1M-context agentic corpus. A conc-256 warmup timed out after AIPerf's 1800s
drain grace period with 15 giant sessions still prefilling while KV usage sat
at ~0.01 (prefill-rate-bound, not memory-bound). Use the cookbook's own dp8
lever from the B200 cells: 32768 total = ~4096 tokens/rank/step. The TP arm
keeps 8192 (full budget per step, passed warmup fine).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix: enable glm47 tool-call and glm45 reasoning parsers for SWE-bench evals
The agentic SWE-bench eval drives mini-swe-agent through native tool
calling. Without --tool-call-parser, GLM-5.2's tool-call tokens stay as
raw text in message.content, every instance dies with RepeatedFormatError
("No tool calls found in the response"), 287/300 patches come back empty,
and swebench_lite scores 0.0000 against the 0.50 default threshold.
Per the GLM-5.2 cookbook: the model emits the GLM-4.7-style
<tool_call>/<arg_key>/<arg_value> format, so it needs the glm47 parser
(glm45 does not parse it); the glm45 reasoning parser separates hybrid
thinking into reasoning_content. Neither flag affects trace-replay
throughput (pre-canned replay discards live responses).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix: overridable agentic warmup grace; 3600s for glm5.2 b300 DPA arm
The DPA conc-512 warmup drain converges healthily (~0.45 req/s, zero
errors) but needs ~2500s end to end - the shared 1800s grace cuts it off
with ~300 requests in flight. Make the grace period overridable via
AGENTIC_WARMUP_GRACE_PERIOD (default unchanged at 1800) and set 3600 for
the glm5.2 DP-attention arm. Grace is a maximum wait, not a fixed sleep,
so lower-conc points are unaffected.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix: double SWE-bench step budget for glm5.2 b300 agentic evals
With the glm47 parser fix in, the agentic SWE-bench eval produces real
work: 10/11 submitted trajectories resolved (0.91 precision), but 12/23
exited LimitsExceeded before submitting - GLM-5.2's chat template
defaults to reasoning_effort=Max when the client passes no
chat_template_kwargs, and the heavy thinking exhausts the default
75-step budget. Score landed at 0.4348 vs the 0.50 floor. Export
SWEBENCH_AGENT_STEP_LIMIT=150 in the recipe's eval path only; the
shared default stays 75.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 69f9114 commit 2003066
4 files changed
Lines changed: 223 additions & 2 deletions
File tree
- benchmarks
- single_node/agentic
- configs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1660 | 1660 | | |
1661 | 1661 | | |
1662 | 1662 | | |
1663 | | - | |
| 1663 | + | |
1664 | 1664 | | |
1665 | 1665 | | |
1666 | 1666 | | |
| |||
1780 | 1780 | | |
1781 | 1781 | | |
1782 | 1782 | | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
1783 | 1786 | | |
1784 | | - | |
| 1787 | + | |
1785 | 1788 | | |
1786 | 1789 | | |
1787 | 1790 | | |
| |||
Lines changed: 186 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7853 | 7853 | | |
7854 | 7854 | | |
7855 | 7855 | | |
| 7856 | + | |
| 7857 | + | |
| 7858 | + | |
| 7859 | + | |
| 7860 | + | |
| 7861 | + | |
| 7862 | + | |
| 7863 | + | |
| 7864 | + | |
| 7865 | + | |
| 7866 | + | |
| 7867 | + | |
| 7868 | + | |
| 7869 | + | |
| 7870 | + | |
| 7871 | + | |
| 7872 | + | |
| 7873 | + | |
| 7874 | + | |
| 7875 | + | |
| 7876 | + | |
| 7877 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4934 | 4934 | | |
4935 | 4935 | | |
4936 | 4936 | | |
| 4937 | + | |
| 4938 | + | |
| 4939 | + | |
| 4940 | + | |
| 4941 | + | |
| 4942 | + | |
| 4943 | + | |
| 4944 | + | |
| 4945 | + | |
| 4946 | + | |
4937 | 4947 | | |
4938 | 4948 | | |
4939 | 4949 | | |
| |||
0 commit comments