Repository navigation
[AMD] Move MI355X vLLM DSV4.1-Flash to one image; DEP8 for c256-c1024 / [AMD] MI355X vLLM DSV4.1-Flash 统一镜像;c256-c1024 使用 DEP8 - #5185
Conversation
Add dsv41flash-fp4-mi355x-vllm-agentic-dspark-dep8 (TP1 x DP8 + EP8 behind vllm-router) at concurrency 256, 512 and 1024 with the prefill delayer, amd_kernels kernel-config and a router listen-backlog shim at c1024. The image reference is TBD. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Fangzhou Ai <fangzhou.ai@amd.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Fangzhou Ai <fangzhou.ai@amd.com>
|
Thanks for the contribution!
中文感谢你的贡献!
|
The AgentX warm-up burst also aborted a c512 run (intermittent), so the shim is set on the router at every DEP8 concurrency. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Fangzhou Ai <fangzhou.ai@amd.com>
…D image Only the image changes for the TP4/TP2, TP8 c1 and UMBP entries; search spaces, concurrencies and recipe settings are untouched. Comments above them now state what the new image must carry. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Fangzhou Ai <fangzhou.ai@amd.com>
…m:deepseek-v41-flash-8a13616 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Dispatched trusted sweep run for approved external revision 已为获批的外部提交 |
…5X vLLM point except DEP8 The new image enables the bridge routes by default; the TP2 c4 and c64 jobs of run 45107517310 crashed in kernel warmup with it. Points below c256 keep their stock path. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Dispatched trusted sweep run for approved external revision 已为获批的外部提交 |
|
Superseded by #5195: same changes, but the head branch now lives in SemiAnalysisAI/InferenceX so the sweep runs from it instead of from a fork. |
Draft: every entry now points at
vllm/vllm-openai-rocm:deepseek-v41-flash-8a13616; that image tag has to exist on Docker Hub before CI can run this.What and why
Puts all MI355X vLLM DeepSeek-V4.1-Flash AgentX points on one image (
vllm/vllm-openai-rocm:deepseek-v41-flash-8a13616) and addsdsv41flash-fp4-mi355x-vllm-agentic-dspark-dep8(TP1 x DP8 + EP8 behind vllm-router 0.1.14) for DeepSeek-V4.1-Flash FP4 AgentX on MI355X at c256, c512 and c1024, with the AMD kernel stack and prefill delayer enabled.Concurrency policy:
vllm/vllm-openai-rocm:deepseek-v41-flash-8a13616.dsv41flash-fp4-mi355x-vllm-agentic-dspark(TP4 c1-2, TP2 c1-64),-tp8-c1and-umbpkeep their search spaces, concurrencies and recipe overrides, and get nokernel-config(the amd_kernels routes stay at the image default, on; they decline cleanly where a shape does not match). These recipes were run only on the previous image (nightly-9c1d45c2), never on the new one. The new image's vLLM base (main 647a76866) is 236 commits ahead of and contains9c1d45c2(GitHub compare: ahead, behind_by 0), so the old image's vLLM changes are in it. The comments above those entries now state what the new image must carry.This is a standalone, drop-in alternative to #5056: same config key and override names (
override_dep8_c256/c512/c1024). Whichever merges first, the other rebases; for c256+ these settings supersede #5056's.Differences from #5056
vllm/vllm-openai-rocm:nightly-9bc16ae6...vllm/vllm-openai-rocm:deepseek-v41-flash-8a13616(built asbenenzhu/benenzhu-amd:dsv41f-amd-kernels: vLLM ROCm nightly main 647a76866 + amd_kernels bridge + two opt-in prefill schedulers)prefill-schedule-policy: delayer,prefill-max-wait-ms: 5000(prefill-schedule-interval: 96kept)kernel-config: {"amd_kernels":{"enabled":true,"expert_perm":"expert_plan_S49.npz"}}: every amd_kernels route on; static expert placement with 49 slots/rank, plan ships in the imageLD_PRELOAD=/opt/dsv41f/lib/listen_backlog_shim.so,LISTEN_BACKLOG_MIN=4096infrontend.envat c256, c512 and c1024All other serving flags are identical to #5056 (fp8_e4m3 KV,
aiter_mega_moe, mori, engram-config, 32768 batched tokens, long-prefill threshold 8192, cudagraph 1024,monokernel: null, max-num-seqs 128 / 160 at c1024).Router backlog: vllm-router 0.1.14 hard-codes a listen backlog of 128, which resets connections during the AgentX warm-up burst. It is reproducible at c1024 (the same failure aborted the CI c1024 run of #5056) and intermittent at c512 (a c512 run aborted with 44 errored requests within 60 ms of warm-up phase 2, ~2,200 spawned requests, server healthy), so the shim is set at every DEP8 concurrency (harmless at c256). The setup script only pip-installs the router, so the env is set through the recipe's
frontend.env, which is the router's process environment; the top-levelsetup_scriptenvironment (pip) is unaffected. I could not run srt-slurm here, so thatfrontend.envreaches the router process is expected but not verified. The shim path exists only in the new image.What the image must contain
expert_plan_S49.npz./opt/dsv41f/lib/listen_backlog_shim.so.-umbpentry). Open: the image's MoRI v1.2.3.post1 is not verified to be built with UMBP; the image owner must confirm.Dependencies
vllm/vllm-openai-rocm:deepseek-v41-flash-8a13616must be published (the same build is atbenenzhu/benenzhu-amd:dsv41f-amd-kernels).--prefill-hold-ttft-target).Results (current configuration, 8x MI355X, 3600 s AgentX)
Same flags as this recipe except as listed above.
Reference, InferenceX CI baseline of #5056 (run 43778210028, cadence scheduler, no delayer): c256 total 185,582, output 1,299, p90 interactivity 107.4; c512 total 258,693, output 2,005, p90 interactivity 37.3; no c1024 data because its warm-up aborted on the router backlog. For c256 only, a CI + delayer reference: 183,986 / 1,291.0 / 143.7 / 169.3 / 1.91 / 4.30 (source run not known).
GSM8K (lm-eval 0.4.9.2, 5-shot chat, 1319 questions), two runs: strict 0.9447 / 0.9500, flexible 0.9629 / 0.9697; passes >= 0.90.
Caveat: these were measured locally on a vLLM dev1133 build, not the CI nightly; CI cannot reproduce them until the image reference is set.
AI model disclosure
Claude Sonnet 5.5 (
claude-sonnet-5-5, via Claude Code) wrote this change and the description. AI assistance (Claude Code) was used to write this change; Fangzhou Ai is the human owner and reviewed/defends it.中文
草稿 PR:镜像已指向
vllm/vllm-openai-rocm:deepseek-v41-flash-8a13616,该标签需先发布后 CI 才能运行。将 MI355X 上所有 vLLM DeepSeek-V4.1-Flash AgentX 点位统一切换到同一镜像(
vllm/vllm-openai-rocm:deepseek-v41-flash-8a13616),并为 MI355X 上的 DeepSeek-V4.1-Flash FP4 AgentX 新增dsv41flash-fp4-mi355x-vllm-agentic-dspark-dep8(TP1 x DP8 + EP8,前置 vllm-router 0.1.14),覆盖 c256、c512、c1024。c256 以下保持原有设置不变,仅将镜像改为 新镜像(这些配方此前只在旧镜像上运行过)。本 PR 与 #5056 使用相同的 config key 和 override 名称,可作为独立替代方案;先合并者优先,另一方 rebase,c256 及以上以本 PR 的设置为准。与 #5056 的差异:镜像为
vllm/vllm-openai-rocm:deepseek-v41-flash-8a13616;启用 prefill delayer(prefill-schedule-policy: delayer、prefill-max-wait-ms: 5000);启用 amd_kernels(kernel-config,静态专家布局 expert_plan_S49.npz);c256/c512/c1024 均通过frontend.env为 router 注入 listen backlog 垫片(LD_PRELOAD,LISTEN_BACKLOG_MIN=4096)。其余服务参数与 #5056 相同。结果见上表。🤖 Generated with Claude Code