Commit 9ecc56d
[LMCache] Add LMCache arm on tuned DSV4 FP4 B300 vLLM AgentX recipe / 在调优后的 DSV4 FP4 B300 vLLM AgentX 配方上新增 LMCache 分支 (#2232)
* feat(agentic): add LMCache arm to tuned DSV4 FP4 B300 vLLM AgentX recipe
Combine the tuned B300 recipe from PR #2225 (nightly image, sparse DSV4
FlashInfer attention, FULL_DECODE_ONLY CUDA graphs, AMXF4 mega-MoE) with
the LMCache 0.5.1 KV-offload backend from PR #2153, mirroring the B200
arm in PR #2231. The lmcache arm keeps the stock PyTorch caching
allocator instead of PYTORCH_ALLOC_CONF=expandable_segments:True
(expandable-segment cuMem/VMM allocations cannot be CUDA-IPC-exported to
the LMCache MP server, the same failure mode as --enable-cumem-allocator
on B200) and runs otherwise identical serving flags, so backends are
directly comparable. Adds a standalone dsv4-fp4-b300-vllm-agentic-lmcache
config section mirroring the vllm-simple DEP4/DEP8 concurrency ladders
and a perf-changelog entry triggering it.
中文:将 PR #2225 的 B300 调优配方(nightly 镜像、稀疏 DSV4 FlashInfer
注意力、FULL_DECODE_ONLY CUDA graph、AMXF4 mega-MoE)与 PR #2153 的
LMCache 0.5.1 KV 卸载后端合并,对应 B200 的 PR #2231。lmcache 分支仅以
默认 PyTorch 缓存分配器替代 PYTORCH_ALLOC_CONF=expandable_segments:True
(expandable segments 的 cuMem/VMM 分配无法通过 CUDA IPC 导出给 LMCache
MP server,与 B200 上 --enable-cumem-allocator 的失败模式相同),其余
serving 参数与其他分支保持一致,便于卸载后端间直接对比。新增独立的
dsv4-fp4-b300-vllm-agentic-lmcache 配置(测试点与 vllm-simple 的
DEP4/DEP8 阶梯对齐)及触发它的 perf-changelog 条目。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* chore: fill in perf-changelog pr-link with PR #2232
中文:将 perf-changelog 条目的 pr-link 填写为 PR #2232。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* feat(agentic): tier lmcache GPU mem util and add pure-TP lmcache arms
Bring-up sweep on PR #2232 (run 29463061871) showed the lmcache arm has
<1 GiB GPU headroom at the recipe's gpu-memory-utilization 0.96 (LMCache
MP server GPU worker + DeepGEMM/TileLang JIT driver allocations + no
expandable segments): every DEP8 point OOMed deterministically growing
the torch pool, and 2/9 DEP4 points failed at the margin (JIT module
load driver OOM at startup; cuBLAS workspace failure mid-run). Derate
DEP8 to the B200-proven 0.92 and DEP4/pure-TP to 0.94.
Also add pure-TP LMCache arms (TP8 and TP4, conc [8, 12, 16]) mirroring
the upper end of the parent's GPU-resident TP ladders and the B200
lmcache TP8 ladder, for a direct GPU-cache vs LMCache-offload
comparison.
中文:PR #2232 的调试扫描(run 29463061871)显示 lmcache 分支在配方的
gpu-memory-utilization 0.96 下 GPU 余量不足 1 GiB(LMCache MP server 的
GPU worker + DeepGEMM/TileLang JIT 驱动层分配 + 无 expandable
segments):所有 DEP8 测试点在扩展 torch 内存池时必然 OOM,DEP4 有 2/9
测试点在边缘失败(启动时 JIT 模块加载驱动 OOM;运行中 cuBLAS workspace
失败)。将 DEP8 降额至 B200 验证过的 0.92,DEP4 与纯 TP 降额至 0.94。
另新增纯 TP 的 LMCache 分支(TP8 与 TP4,并发 [8, 12, 16]),与父配置
GPU 驻留 TP 阶梯的高段及 B200 lmcache TP8 阶梯对齐,便于 GPU 缓存与
LMCache 卸载的直接对比。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(matrix): accept agentic SWE-bench eval rows in the changelog matrix schema
PR #1947 made process_changelog's eval pass select single-node agentic
(SWE-bench) eval rows via mark_eval_entries --evals-only, but
ChangelogMatrixEntry.evals still only accepted SingleNodeMatrixEntry, so
any changelog entry touching an agentic-coding config now fails
validation (missing isl/osl, extra kv-offloading/scenario-type/duration).
Accept Union[SingleNodeMatrixEntry, SingleNodeAgenticMatrixEntry] in
evals and add run-eval/eval-only (default false) to the agentic entry
model, with a regression test.
中文:PR #1947 使 process_changelog 的评估生成步骤通过 mark_eval_entries
--evals-only 选择单节点 agentic(SWE-bench)评估行,但
ChangelogMatrixEntry.evals 仍只接受 SingleNodeMatrixEntry,导致任何涉及
agentic-coding 配置的变更日志条目都无法通过校验(缺少 isl/osl,多出
kv-offloading/scenario-type/duration 字段)。将 evals 改为接受
Union[SingleNodeMatrixEntry, SingleNodeAgenticMatrixEntry],并为 agentic
条目模型添加 run-eval/eval-only(默认 false)字段,附回归测试。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Revert "fix(matrix): accept agentic SWE-bench eval rows in the changelog matrix schema"
This reverts commit bdc33bab6a72a0847c26be0dbe4e10bd8fe4a2eb to keep this
PR scoped to the B300 LMCache recipe. The PR #1947 schema regression
(agentic changelog entries fail matrix validation) needs a standalone fix
PR; until that merges, check-changelog on this PR is expected to fail.
中文:回退 bdc33ba,使本 PR 仅保留 B300 LMCache 配方相关改动。PR #1947
造成的 schema 回归(agentic 变更日志条目无法通过矩阵校验)需通过独立 PR
修复;在该修复合并前,本 PR 的 check-changelog 预期会失败。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* refactor(agentic): fold B300 lmcache arms into the official agentic config
Per review: run the LMCache sweep together with the official
dsv4-fp4-b300-vllm-agentic config instead of a separate section. The
standalone dsv4-fp4-b300-vllm-agentic-lmcache config is removed; the
parent now carries one lmcache arm per official arm at a +4 conc offset
(TP4 [32, 36, 40, 44]; DEP4 [36, 44, 52, 60, 68, 76]; DEP8
[68, 100, 116, 132, 148, 164, 180, 196, 228]), all inside the ranges
validated in the PR #2232 bring-up sweeps. The changelog entry now
triggers only the parent config.
中文:按评审意见,LMCache 与官方 dsv4-fp4-b300-vllm-agentic 配置在同一
扫描中运行,不再单列配置段。移除独立的
dsv4-fp4-b300-vllm-agentic-lmcache 配置;父配置为每个官方分支各增加一个
+4 并发偏移的 lmcache 分支(TP4 [32, 36, 40, 44];DEP4
[36, 44, 52, 60, 68, 76];DEP8 [68, 100, 116, 132, 148, 164, 180, 196,
228]),全部处于 PR #2232 调试扫描验证过的范围内。变更日志条目现仅触发
父配置。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* chore(agentic): DEP8 lmcache ladder at +16 conc offset capped at 208
Per review: offset the DEP8 lmcache arm by +16 conc from the official
GPU-resident DEP8 ladder and cap the maximum at 208, giving
[80, 112, 128, 144, 160, 176, 192, 208]. TP4/DEP4 keep the +4 offset.
中文:按评审意见,DEP8 lmcache 分支相对官方 GPU 驻留 DEP8 阶梯偏移 +16
并发,最大并发限制为 208,即 [80, 112, 128, 144, 160, 176, 192, 208]。
TP4/DEP4 保持 +4 偏移。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* chore(agentic): DEP8 lmcache ladder at +8 conc offset capped at 208
Correct the DEP8 lmcache offset from +16 to +8 (still capped at 208),
giving [72, 104, 120, 136, 152, 168, 184, 200].
中文:将 DEP8 lmcache 分支的并发偏移从 +16 更正为 +8(最大并发仍限制为
208),即 [72, 104, 120, 136, 152, 168, 184, 200]。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Update perf-changelog.yaml
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Cameron Quilici <cjquilici@gmail.com>1 parent 75d7e55 commit 9ecc56d
3 files changed
Lines changed: 135 additions & 8 deletions
File tree
- benchmarks/single_node/agentic
- configs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | | - | |
37 | | - | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
186 | 190 | | |
187 | 191 | | |
188 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
189 | 276 | | |
190 | 277 | | |
191 | 278 | | |
| |||
199 | 286 | | |
200 | 287 | | |
201 | 288 | | |
202 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
203 | 298 | | |
204 | 299 | | |
205 | 300 | | |
| |||
217 | 312 | | |
218 | 313 | | |
219 | 314 | | |
220 | | - | |
221 | | - | |
| 315 | + | |
| 316 | + | |
222 | 317 | | |
223 | 318 | | |
224 | 319 | | |
| |||
254 | 349 | | |
255 | 350 | | |
256 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
257 | 362 | | |
258 | 363 | | |
259 | 364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1753 | 1753 | | |
1754 | 1754 | | |
1755 | 1755 | | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
1756 | 1767 | | |
1757 | 1768 | | |
1758 | 1769 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4982 | 4982 | | |
4983 | 4983 | | |
4984 | 4984 | | |
| 4985 | + | |
| 4986 | + | |
| 4987 | + | |
| 4988 | + | |
| 4989 | + | |
| 4990 | + | |
| 4991 | + | |
| 4992 | + | |
| 4993 | + | |
| 4994 | + | |
| 4995 | + | |
0 commit comments