Repository navigation
[AMD][AgentX] DeepSeek-V4.1-Flash MI355X vLLM: TP4 concurrency 1-48 with running-request caps on the 11-17 nightly / [AMD][AgentX] DeepSeek-V4.1-Flash MI355X vLLM:在 11-17 nightly 上把 TP4 扩展到并发 1-48 并限制同时运行的请求数 - #5125
fanxingran wants to merge 4 commits into
Conversation
…ith running-request caps on the 11-17 nightly
|
Thanks for the contribution!
中文感谢你的贡献!
|
|
@Fangzhou-Ai @seungrokj could you review this MI355X DSv4.1-Flash vLLM config change, especially the caps on top of your earlier tuning (e1356ab, 7afd3b8)?
Local AgentX p90 interactivity rises 1.09-1.91x over the current official MI355X numbers (c16: 302 → 576) and reaches 0.66-0.92x of B300 vLLM TP4. The cost is higher TTFT, which is not scored. Details are in the description. It is a fork PR, so if it looks right, please apply 中文@Fangzhou-Ai @seungrokj 麻烦看一下这个 MI355X DSv4.1-Flash vLLM 配置改动,尤其是这些上限和你们之前调优(e1356ab6、7afd3b85)的衔接。
本地 AgentX 测试中,p90 交互性为当前官方 MI355X 的 1.09-1.91 倍(c16:302 → 576),达到 B300 vLLM TP4 的 0.66-0.92 倍。代价是 TTFT 升高,但 TTFT 不计分。详见 PR 描述。 这是 fork 提的 PR。如果没有问题,请打上 |
|
Dispatched trusted sweep run for approved external revision 已为获批的外部提交 |
|
can u tell ur agent to:
|
|
Thanks @functionstackx. I'm requesting write access now and will move this to an upstream branch, rebased on main with the full curve on one image. |
Summary
On the AgentX curve, MI355X DeepSeek-V4.1-Flash vLLM runs TP4 only at concurrency 1-2 and TP2 everywhere else, while B300 vLLM runs TP4 from concurrency 1 to 48. At the same concurrency TP4 gives each session twice the GPUs of TP2, so above concurrency 2 MI355X has no point at the interactivity end of the curve (p90 interactivity at c16: MI355X TP2 302, B300 TP4 629).
This PR extends the TP4 arm of
dsv41flash-fp4-mi355x-vllm-agentic-dsparkto concurrency 1-48 and moves the key to the 2026-11-17 ROCm 10.0 nightly. The TP2 arm (c1-c64) keeps the throughput end of the curve; only its c16 cap changes.nightly-4fab5a07…→vllm/vllm-openai-rocm:nightly-rocm100-8ca766326652caf4b8e50d1b9118d8a22f6adc73(digestsha256:a1af8126…), which carries the tuned TP4 mono decode paths ([ROCm][Perf][DSv4.1] Mono: tuned K1 at TP4 vllm-project/vllm#63893, #64883). Every point of the key reruns.conc-list:[1, 2]→[1, 2, 4, 8, 16, 24, 32, 48], with newoverride_tp4_c24andoverride_tp4_c48.max-num-seqs): 1 / 2 / 2 / 4 / 6 / 8 at c4 / c8 / c16 / c24 / c32 / c48; 32768-token prefill chunks at c4, 8192 elsewhere.--monokernelruns only on decode-only steps of at most 48 rows (8 requests x 6 DSpark tokens); the cap keeps every decode step on it and queues the remaining sessions.max-num-seqs4 → 2.Cap choice. Up to c16 the points are demand-bound, so a tighter cap costs almost no throughput: TP4 c16 cap 2 / 3 / 4 gives 576 / 454 / 409 p90 interactivity at 20.8k / 21.3k / 21.3k tok/s/GPU. At c24 and c48, one step tighter (3, 6) buys about 13% interactivity for 12-15% throughput, so those points keep B300's caps (4, 8). At c32, cap 6 against 8 gives +13% interactivity for -6% throughput.
Local AgentX comparison. agentx-harness 1.0.13,
semianalysis_cc_traces_weka_062126, 900 s per point, acceptance fixed at the golden length for DSpark K=5 thinking-on (3.51), one server per point on 8x MI355X, on the pinned image with the recipe's arguments. On the previous official image our harness reads about 7% below the official runs (TP2 c16 280 against 302, c32 173 against 187), so the ratios below are conservative. Repeat runs of TP4 c16 cap 2 give 564 / 576 / 580.TP2 c16 with cap 2 gives 432 p90 interactivity (cap 3: 332; cap 4: 287) at 39.0k tok/s/GPU (cap 4: 40.8k).
Risks
AI model disclosure
PR checklist and change type
Type of Change
Checklist
python -m infx.matrix.changed --base origin/mainlists affected config keys, I have appended one new entry covering them to the physical end ofinferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entriesinferencex-e2e/perf-changelog.yamlentry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs):full-sweep-fail-fast(recommended),full-sweep-enabled, ornon-canary-full-sweep-enabled. Optional modifiersall-evals,evals-only, andagentx-fastrequire a primary label; the last two block reuse while applied./use <run_id>(or the legacy/reuse-sweep-run) on this PR. Do this only once there is a final full sweep that is all green with evals passing, since after this comment the primary sweep label will no longer automatically kick off new sweeps. Remove and re-add the primary sweep label to force a new sweep.中文
MI355X DeepSeek-V4.1-Flash vLLM 的 AgentX 配置只在并发 1-2 使用 TP4,而 B300 在并发 1-48 都使用 TP4,因此 MI355X 在高交互性一端缺少测点。本 PR 将 TP4 扩展到并发 1-48,并限制同时运行的请求数(
max-num-seqs),使每个解码步都走--monokernel;同时把镜像更新为 2026-11-17 的 ROCm 10.0 nightly,并把 TP2 c16 的上限从 4 改为 2。本地 900 s 的 AgentX 基准测试中,TP4 的 p90 交互性为官方 MI355X 的 1.09-1.91 倍、B300 的 0.66-0.92 倍。限制请求数会提高 TTFT,但 TTFT 不计分。本地吞吐量低于官方 3600 s 的结果,以扫描结果为准。