Skip to content

[AMD] DSv4.1-Flash MI355X vLLM DP2 AgentX c128/c256/c384 with prefill cadence / [AMD] DSv4.1-Flash MI355X vLLM DP2 AgentX c128/c256/c384 启用 prefill 节奏 - #4992

Closed
Fangzhou-Ai wants to merge 5 commits into
mainfrom
amd/dsv41flash-mi355x-vllm-dp2-cadence
Closed

Fangzhou-Ai wants to merge 5 commits into
mainfrom
amd/dsv41flash-mi355x-vllm-dp2-cadence

Conversation

@Fangzhou-Ai

@Fangzhou-Ai Fangzhou-Ai commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Adds the DeepSeek-V4.1-Flash FP4 AgentX sweep for MI355X at TP1 x DP2 (attention data parallel, experts TP-sharded, no expert parallelism), concurrency 128, 256 and 384, behind a consistent-hash vLLM router. Prefill uses vLLM's existing cadence scheduling (prefill-schedule-interval 11, 16384-token budget), so it needs no scheduler change. The cross-DP prefill delayer (vllm-project/vllm#65655) is not merged, and this point does not depend on it.

On local one-hour AgentX c256 runs (the table below; c128 and c384 are not measured yet), cadence reaches 305-311K tok/s/GPU against 317K for the delayer at the same interval, and the TTFT tail is far shorter. p90 interactivity is about half of the delayer's, so this is a throughput and tail-latency choice, not a free win.

Risks and open items

Local one-hour c256 results (tok/s/GPU; p90 intvty is the 10th percentile of per-request interactivity; TP1 x DP2, 16384-token budget)

Prefill scheduling tok/s/GPU p90 intvty TTFT p50 / p90
cadence interval 4 305,093 16.1 0.82 s / 2.68 s
cadence interval 8 309,714 16.7 1.19 s / 3.52 s
cadence interval 11 (this PR) 310,739 16.6 1.44 s / 4.02 s
cadence interval 16 306,752 15.9 1.84 s / 4.89 s
delayer, interval 11, 5 s max wait 317,021 33.5 9.0 s / 43.7 s

Cadence intervals 4 to 16 are within about 2% of each other, so 11 is chosen to match the delayer recipe, not because it is sharply better.

Change details
  • agentic.yaml: new override_dp2_c128, override_dp2_c256 and override_dp2_c384 (TP1, DP2, no expert parallelism, Engram cpu_offload, 16384-token budget, monokernel: null, prefill-schedule-interval: 11, kv-cache-dtype: fp8_e4m3, consistent-hash vllm-router).
  • amd-master.yaml: new key dsv41flash-fp4-mi355x-vllm-agentic-dspark-dp2, conc-list: [128, 256, 384], image vllm/vllm-openai-rocm:nightly-be47189f37f6162991366ff6b91539f6e9d1f432 pinned by digest (published 2026-11-12; carries the per-tensor-scale FP8 KV cache, [ROCm][DSv4/4.1] Enable Tensor scale FP8 KV Cache for Sparse MLA vllm-project/vllm#66036).
  • perf-changelog.yaml: one appended entry.
中文

为 MI355X 增加 DeepSeek-V4.1-Flash FP4 AgentX 的 TP1 x DP2 扫描(注意力数据并行,专家按 TP 切分,不启用专家并行),并发 128、256 和 384,前端使用一致性哈希的 vLLM router。Prefill 使用 vLLM 现有的 cadence 调度(prefill-schedule-interval 11,16384 token 预算),无需修改调度器。跨 DP 的 prefill delayer(vllm-project/vllm#65655)尚未合入,本点不依赖它。

本地一小时 AgentX c256 测试中(见下表;c128 和 c384 尚未测量),cadence 达到 305-311K tok/s/GPU,相同 interval 下 delayer 为 317K,但 TTFT 尾部明显更短。p90 交互性约为 delayer 的一半,因此这是吞吐与尾延迟之间的取舍,并非无代价的提升。

风险与待办

AI model disclosure

Claude Sonnet 5.5 (claude-sonnet-5-5[1m]), run through Claude Code, prepared the config and recipe changes, ran the local benchmarks, analyzed the results, and wrote this description. No delegated agents.

…cadence

Add a TP1 x DP2 point (attention data parallel, experts TP-sharded, no expert
parallelism) behind a consistent-hash vLLM router at concurrency 256, using the
engine's cadence prefill scheduling (prefill-schedule-interval 11, 16384-token
budget) on nightly-083fbac02. The cross-DP delayer (vllm-project/vllm#65655) is
not used.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution!

  • Review: If this PR changes files owned by someone other than a repository admin or @SemiAnalysisAI/core, ask one eligible CODEOWNER to complete the latest PR_REVIEW_CHECKLIST.md before contacting a core maintainer on Slack. Follow the template exactly, including As a PR reviewer and CODEOWNER, I have reviewed this and have, so sign-off verification triggers.
  • PR verification: Sweeps run only when the PR appends an inferencex-e2e/perf-changelog.yaml entry and carries exactly one primary label: full-sweep-fail-fast (strongly recommended; canary plus per-matrix fail-fast), full-sweep-enabled (canary; matrix jobs continue after a failure), or non-canary-full-sweep-enabled (no canary or fail-fast). The modifiers all-evals, evals-only, and agentx-fast require a primary label. On fork PRs, a maintainer applies the label. See sweep labels and reuse.
  • After merging: PR authors must ensure all GitHub Actions jobs pass. Transient failures often pass on rerun; see how to rerun failed jobs.
中文

感谢你的贡献!

  • **审阅:**如果 PR 修改的文件归属于仓库管理员及 @SemiAnalysisAI/core 之外的 CODEOWNER,请先联系一位有资格的 CODEOWNER 填写最新的 PR_REVIEW_CHECKLIST.md,再通过 Slack 联系核心维护者。必须严格遵循模板,并保留 As a PR reviewer and CODEOWNER, I have reviewed this and have,才能触发签核验证。
  • **PR 验证:**只有当 PR 在 inferencex-e2e/perf-changelog.yaml 末尾追加了条目,并且恰好带有一个主标签时,才会运行扫描:full-sweep-fail-fast(强烈推荐;canary 加逐矩阵 fail-fast)、full-sweep-enabled(有 canary;矩阵任务在失败后继续运行)或 non-canary-full-sweep-enabled(无 canary,也无 fail-fast)。修饰标签 all-evals、evals-only 和 agentx-fast 必须与主标签一起使用。fork PR 的标签由维护者添加。参见扫描标签与复用。
  • **合并后:**PR 作者必须确保所有 GitHub Actions 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

…28, c256 and c384

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Fangzhou-Ai Fangzhou-Ai changed the title [AMD] DSv4.1-Flash MI355X vLLM DP2 AgentX c256 with prefill cadence / [AMD] DSv4.1-Flash MI355X vLLM DP2 AgentX c256 启用 prefill 节奏 [AMD] DSv4.1-Flash MI355X vLLM DP2 AgentX c128/c256/c384 with prefill cadence / [AMD] DSv4.1-Flash MI355X vLLM DP2 AgentX c128/c256/c384 启用 prefill 节奏 Nov 11, 2026
@Fangzhou-Ai
Fangzhou-Ai marked this pull request as ready for review November 11, 2026 00:54
@Fangzhou-Ai
Fangzhou-Ai requested a review from a team November 11, 2026 00:54
@Fangzhou-Ai Fangzhou-Ai added the full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures label Nov 11, 2026
@claude

claude Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @Fangzhou-Ai's task in 43s —— View job


Review: no blocking issues found

I checked how the new tp: 2, dp-attn: true row picks its recipe in infx/srt_slurm/single_node.py. vLLM points are matched on TP x DP and on whether DP attention is on. So override_dp2_c{128,256,384} match only the new row, and the existing override_tp2_* variants still match only the TP2 row, which has DP attention off. None of the new points enables expert parallelism, and the PR has no EP size above 1. The router setup follows the existing DEP pattern in the dsv41flash B300 recipe. Stream interval is unset, so vLLM's default of 1 applies, which is under the AgentX limit of 20. The image is public on Docker Hub and pinned by digest. The changelog entry is added at the end of the file.

I couldn't run infx.matrix.changed locally because the tool permissions don't allow uv run. The CI sweep will exercise the matrix.

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

tensor-parallel-size: 1
data-parallel-size: 2
engram-config: '{"cpu_offload":true}'
max-cudagraph-capture-size: 1024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 (optional) The new c384 point will likely run most decode steps without CUDA graphs, so its published throughput comes from a slower path that the author never measured. Each DP rank serves about 384/2 = 192 sequences. With five DSpark drafts, each sequence adds 6 tokens per step, so a decode step is about 1152 tokens. That is above max-cudagraph-capture-size: 1024, and the recipe comment says larger steps run eagerly. Fix: for every DP2 point, make the capture size at least the peak per-rank running sequences x 6 (e.g. 1536 or 2048 for c384), or set max-num-seqs at or below 170 per rank.

Why this was flagged

The trigger is the c384 point of the new key dsv41flash-fp4-mi355x-vllm-agentic-dspark-dp2 (amd-master.yaml:920). It binds to override_dp2_c384 (agentic.yaml:340-364), which runs data-parallel-size 2 with no max-num-seqs cap. The base speculative-config at agentic.yaml:46 drafts num_speculative_tokens 5, so each decoding sequence verifies 6 tokens per step. The recipe's own comment at agentic.yaml:75-78 states this: capture is max-num-seqs x (1 + 5 drafts), and larger steps run eagerly. Consistent hashing puts about 192 of the 384 sessions on each rank, which gives about 1152 decode tokens per step. That is above the 1024 set at agentic.yaml:357, so steady-state decode leaves the graph path on most steps. vLLM pads DP ranks to a common token count, so one heavy rank probably pulls both ranks off graphs. The c256 blocks (about 128 per rank, 768 tokens) only cross 1024 under hash imbalance. The PR description says c384 was not measured. The NVIDIA DEP recipes avoid this by capping max-num-seqs at 128 and capturing up to 8190.

Verification: The trigger is the c384 point running more than about 170 decoding sequences on a DP rank. agentic.yaml:46 uses "num_speculative_tokens":5, so each decoding sequence verifies 6 tokens per step. override_dp2_c384 sets max-cudagraph-capture-size: 1024 with no max-num-seqs. At about 192 per rank a decode step is 1152 tokens, and agentic.yaml:75-78 says larger steps run eagerly.

engram-config: '{"cpu_offload":true}'
max-cudagraph-capture-size: 1024
max-num-batched-tokens: 16384
# The DP2 points were tuned without mono decode.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 nit (optional): "The DP2 points were tuned without mono decode." is a past-results comment, which AGENTS.md:57 forbids, and it appears three times. Fix: drop it, or give the technical reason. The base comment at lines 48-51 limits mono decode to steps of up to 48 rows, and the DP2 points always run larger steps. The same comment is at lines 307, 333 and 359.

Why this was flagged

AGENTS.md:57 bans comments about past results and how code came about, and AGENTS.md:58 allows only a technical reason for a value. The comment at agentic.yaml:307, 333 and 359 records how the points were tuned, not why monokernel: null is correct. A maintainer reading it cannot tell whether mono decode would help or hurt at c128-c384. The base branch has no such comment.

Verification: The new recipe adds # The DP2 points were tuned without mono decode. above monokernel: null at agentic.yaml:307, 333 and 359, and the base file has no such comment. AGENTS.md:57 forbids "past results" in comments. The new comment gives no technical reason for monokernel: null. Nothing breaks at runtime.

shen-shanshan added a commit to shen-shanshan/InferenceX that referenced this pull request Nov 11, 2026
…ysisAI#4992

Match the engine and router settings of the no-offload DP2 points in
SemiAnalysisAI#4992, so they serve as the baseline for UMBP:

- Prefill cadence (prefill-schedule-interval 11).
- Drop the monokernel key instead of setting it false.
- Expose the vllm-router Prometheus endpoint on 127.0.0.1:18000.
- Declare the router per search-space row and drop the default ep.

Keep the newer image, which carries vllm-project/vllm#64715. Rename the
overrides to override_dp2_umbp_c* and select each one explicitly:
SemiAnalysisAI#4992 adds override_dp2_c* to the same recipe without KV_OFFLOADING, so
shared names would overwrite each other and automatic variant matching
would select both sets for a UMBP point.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

shen-shanshan added a commit to shen-shanshan/InferenceX that referenced this pull request Nov 11, 2026
…ysisAI#4992

Match the engine and router settings of the no-offload DP2 points in
SemiAnalysisAI#4992, so they serve as the baseline for UMBP:

- Prefill cadence (prefill-schedule-interval 11).
- Drop the monokernel key instead of setting it false.
- Expose the vllm-router Prometheus endpoint on 127.0.0.1:18000.
- Declare the router per search-space row and drop the default ep.

Keep the newer image, which carries vllm-project/vllm#64715. Rename the
overrides to override_dp2_umbp_c* and select each one explicitly:
SemiAnalysisAI#4992 adds override_dp2_c* to the same recipe without KV_OFFLOADING, so
shared names would overwrite each other and automatic variant matching
would select both sets for a UMBP point.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit to shen-shanshan/InferenceX that referenced this pull request Nov 11, 2026
Local agentx-fast runs against the SemiAnalysisAI#4992 DP2 configuration showed no
UMBP gain at concurrency 128, where the GPU KV cache already serves 90%
of prompt tokens: throughput fell 4.7% with 0.46% of prompt tokens
restored. Concurrency 256 (+10%) and 384 (+103%) stay. The c256
override now holds the shared anchors; both remaining points render
unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit to shen-shanshan/InferenceX that referenced this pull request Nov 12, 2026
…ysisAI#4992

Match the engine and router settings of the no-offload DP2 points in
SemiAnalysisAI#4992, so they serve as the baseline for UMBP:

- Prefill cadence (prefill-schedule-interval 11).
- Drop the monokernel key instead of setting it false.
- Expose the vllm-router Prometheus endpoint on 127.0.0.1:18000.
- Declare the router per search-space row and drop the default ep.

Keep the newer image, which carries vllm-project/vllm#64715. Rename the
overrides to override_dp2_umbp_c* and select each one explicitly:
SemiAnalysisAI#4992 adds override_dp2_c* to the same recipe without KV_OFFLOADING, so
shared names would overwrite each other and automatic variant matching
would select both sets for a UMBP point.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit to shen-shanshan/InferenceX that referenced this pull request Nov 12, 2026
Local agentx-fast runs against the SemiAnalysisAI#4992 DP2 configuration showed no
UMBP gain at concurrency 128, where the GPU KV cache already serves 90%
of prompt tokens: throughput fell 4.7% with 0.46% of prompt tokens
restored. Concurrency 256 (+10%) and 384 (+103%) stay. The c256
override now holds the shared anchors; both remaining points render
unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit to shen-shanshan/InferenceX that referenced this pull request Nov 12, 2026
…ysisAI#4992

Match the engine and router settings of the no-offload DP2 points in
SemiAnalysisAI#4992, so they serve as the baseline for UMBP:

- Prefill cadence (prefill-schedule-interval 11).
- Drop the monokernel key instead of setting it false.
- Expose the vllm-router Prometheus endpoint on 127.0.0.1:18000.
- Declare the router per search-space row and drop the default ep.

Keep the newer image, which carries vllm-project/vllm#64715. Rename the
overrides to override_dp2_umbp_c* and select each one explicitly:
SemiAnalysisAI#4992 adds override_dp2_c* to the same recipe without KV_OFFLOADING, so
shared names would overwrite each other and automatic variant matching
would select both sets for a UMBP point.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit to shen-shanshan/InferenceX that referenced this pull request Nov 12, 2026
Local agentx-fast runs against the SemiAnalysisAI#4992 DP2 configuration showed no
UMBP gain at concurrency 128, where the GPU KV cache already serves 90%
of prompt tokens: throughput fell 4.7% with 0.46% of prompt tokens
restored. Concurrency 256 (+10%) and 384 (+103%) stay. The c256
override now holds the shared anchors; both remaining points render
unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit that referenced this pull request Nov 12, 2026
Match the engine and router settings of the no-offload DP2 points in
#4992, so they serve as the baseline for UMBP:

- Prefill cadence (prefill-schedule-interval 11).
- Drop the monokernel key instead of setting it false.
- Expose the vllm-router Prometheus endpoint on 127.0.0.1:18000.
- Declare the router per search-space row and drop the default ep.

Keep the newer image, which carries vllm-project/vllm#64715. Rename the
overrides to override_dp2_umbp_c* and select each one explicitly:
#4992 adds override_dp2_c* to the same recipe without KV_OFFLOADING, so
shared names would overwrite each other and automatic variant matching
would select both sets for a UMBP point.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit that referenced this pull request Nov 12, 2026
Local agentx-fast runs against the #4992 DP2 configuration showed no
UMBP gain at concurrency 128, where the GPU KV cache already serves 90%
of prompt tokens: throughput fell 4.7% with 0.46% of prompt tokens
restored. Concurrency 256 (+10%) and 384 (+103%) stay. The c256
override now holds the shared anchors; both remaining points render
unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Fangzhou-Ai and others added 2 commits November 13, 2026 01:11
…9f with the per-tensor-scale FP8 KV cache

Pin the vLLM ROCm nightly by digest and set --kv-cache-dtype fp8_e4m3 on the DP2
points (vllm-project/vllm#66036).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Fangzhou-Ai Fangzhou-Ai added non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) and removed full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures labels Nov 13, 2026
@Fangzhou-Ai

Copy link
Copy Markdown
Collaborator Author

replaced by #5036

shen-shanshan added a commit that referenced this pull request Nov 13, 2026
Match the engine and router settings of the no-offload DP2 points in
#4992, so they serve as the baseline for UMBP:

- Prefill cadence (prefill-schedule-interval 11).
- Drop the monokernel key instead of setting it false.
- Expose the vllm-router Prometheus endpoint on 127.0.0.1:18000.
- Declare the router per search-space row and drop the default ep.

Keep the newer image, which carries vllm-project/vllm#64715. Rename the
overrides to override_dp2_umbp_c* and select each one explicitly:
#4992 adds override_dp2_c* to the same recipe without KV_OFFLOADING, so
shared names would overwrite each other and automatic variant matching
would select both sets for a UMBP point.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit that referenced this pull request Nov 13, 2026
Local agentx-fast runs against the #4992 DP2 configuration showed no
UMBP gain at concurrency 128, where the GPU KV cache already serves 90%
of prompt tokens: throughput fell 4.7% with 0.46% of prompt tokens
restored. Concurrency 256 (+10%) and 384 (+103%) stay. The c256
override now holds the shared anchors; both remaining points render
unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit that referenced this pull request Nov 13, 2026
Match the engine and router settings of the no-offload DP2 points in
#4992, so they serve as the baseline for UMBP:

- Prefill cadence (prefill-schedule-interval 11).
- Drop the monokernel key instead of setting it false.
- Expose the vllm-router Prometheus endpoint on 127.0.0.1:18000.
- Declare the router per search-space row and drop the default ep.

Keep the newer image, which carries vllm-project/vllm#64715. Rename the
overrides to override_dp2_umbp_c* and select each one explicitly:
#4992 adds override_dp2_c* to the same recipe without KV_OFFLOADING, so
shared names would overwrite each other and automatic variant matching
would select both sets for a UMBP point.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit that referenced this pull request Nov 13, 2026
Local agentx-fast runs against the #4992 DP2 configuration showed no
UMBP gain at concurrency 128, where the GPU KV cache already serves 90%
of prompt tokens: throughput fell 4.7% with 0.46% of prompt tokens
restored. Concurrency 256 (+10%) and 384 (+103%) stay. The c256
override now holds the shared anchors; both remaining points render
unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit that referenced this pull request Nov 13, 2026
…oading

Carry over concurrency 128 from the closed #4992 into the UMBP key: the
same DP2 engine and router settings, prefill cadence 11 and fp8_e4m3 KV
cache on the same nightly, with no KV offloading. Local runs showed UMBP
does not help at 128, where the GPU KV cache holds the working set, so
the point runs without it while 256 and 384 keep UMBP.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit that referenced this pull request Nov 14, 2026
Match the engine and router settings of the no-offload DP2 points in
#4992, so they serve as the baseline for UMBP:

- Prefill cadence (prefill-schedule-interval 11).
- Drop the monokernel key instead of setting it false.
- Expose the vllm-router Prometheus endpoint on 127.0.0.1:18000.
- Declare the router per search-space row and drop the default ep.

Keep the newer image, which carries vllm-project/vllm#64715. Rename the
overrides to override_dp2_umbp_c* and select each one explicitly:
#4992 adds override_dp2_c* to the same recipe without KV_OFFLOADING, so
shared names would overwrite each other and automatic variant matching
would select both sets for a UMBP point.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit that referenced this pull request Nov 14, 2026
Local agentx-fast runs against the #4992 DP2 configuration showed no
UMBP gain at concurrency 128, where the GPU KV cache already serves 90%
of prompt tokens: throughput fell 4.7% with 0.46% of prompt tokens
restored. Concurrency 256 (+10%) and 384 (+103%) stay. The c256
override now holds the shared anchors; both remaining points render
unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shen-shanshan added a commit that referenced this pull request Nov 14, 2026
…oading

Carry over concurrency 128 from the closed #4992 into the UMBP key: the
same DP2 engine and router settings, prefill cadence 11 and fp8_e4m3 KV
cache on the same nightly, with no KV offloading. Local runs showed UMBP
does not help at 128, where the GPU KV cache holds the working set, so
the point runs without it while 256 and 384 keep UMBP.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
functionstackx added a commit that referenced this pull request Nov 18, 2026
…8-384, with UMBP KV offloading at 256 and 384 / [AMD][AgentX] DeepSeek-V4.1-Flash MI355X vLLM:新增 DP2 并发 128–384 点,256、384 启用 UMBP KV offloading (#5036)

* feat(agentx): add DSv4.1-Flash MI355X vLLM DP2 c128-384 with UMBP offload

Add the dsv41flash-fp4-mi355x-vllm-agentic-dspark-umbp key on the first
ROCm nightly carrying vllm-project/vllm#64715 (UMBP standalone mode for
DeepSeek-V4.1-Flash):

- Concurrency 128, 256 and 384 on two GPUs with attention DP2 and the
  MoE tensor-parallel across both ranks, fronted by vllm-router with
  consistent_hash. Mono decode is off because it rejects DP.
- KV offloading through UMBPStoreConnector in standalone mode: the
  recipe starts umbp_standalone_server as a critical service before the
  workers, owning one 449 GB host-DRAM pool shared by both DP ranks.

The existing TP4/TP2 and TP8 c1 keys are unchanged and not rerun.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat(agentx): align DSv4.1-Flash MI355X UMBP DP2 points with #4992

Match the engine and router settings of the no-offload DP2 points in
#4992, so they serve as the baseline for UMBP:

- Prefill cadence (prefill-schedule-interval 11).
- Drop the monokernel key instead of setting it false.
- Expose the vllm-router Prometheus endpoint on 127.0.0.1:18000.
- Declare the router per search-space row and drop the default ep.

Keep the newer image, which carries vllm-project/vllm#64715. Rename the
overrides to override_dp2_umbp_c* and select each one explicitly:
#4992 adds override_dp2_c* to the same recipe without KV_OFFLOADING, so
shared names would overwrite each other and automatic variant matching
would select both sets for a UMBP point.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat(agentx): drop the DSv4.1-Flash MI355X UMBP c128 point

Local agentx-fast runs against the #4992 DP2 configuration showed no
UMBP gain at concurrency 128, where the GPU KV cache already serves 90%
of prompt tokens: throughput fell 4.7% with 0.46% of prompt tokens
restored. Concurrency 256 (+10%) and 384 (+103%) stay. The c256
override now holds the shared anchors; both remaining points render
unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(agentx): share the UMBP sockets through a host directory

srtctl runs every step of a job in its own mount namespace, so the
umbp-server service and the engine workers each saw a private /tmp. The
workers failed at startup with "cannot attach to the UMBP standalone
server at unix:///tmp/umbp/standalone.grpc.sock" (run 43151259956, all
three jobs).

Mount the node-local /dev/shm into every step at /umbp-host and put the
gRPC and fd sockets there. The server rebinds over stale socket files
left by an earlier job.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat(agentx): move the DSv4.1-Flash MI355X UMBP points to nightly-be47189 with fp8 KV

Move the UMBP key to vllm/vllm-openai-rocm:nightly-be47189f37 (2026-11-12),
which adds vllm-project/vllm#66036 on top of #64715, and serve both DP2
points with kv-cache-dtype fp8_e4m3: per-tensor fp8 KV rows for the AITER
sparse MLA instead of the block-scaled fp8_ds_mla record. The DSpark
draft layers share the target's cache dtype; draft weights are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat(agentx): add the DSv4.1-Flash MI355X DP2 c128 point without offloading

Carry over concurrency 128 from the closed #4992 into the UMBP key: the
same DP2 engine and router settings, prefill cadence 11 and fp8_e4m3 KV
cache on the same nightly, with no KV offloading. Local runs showed UMBP
does not help at 128, where the GPU KV cache holds the working set, so
the point runs without it while 256 and 384 keep UMBP.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* feat(agentx): move the DSv4.1-Flash MI355X UMBP points to nightly-9bc16ae

The 2026-11-15 ROCm nightly includes vllm-project/vllm#67377 (AITER FlyDSL
dense MXFP8 GEMMs for DeepSeek-V4.1-Flash) on top of #64715 and #66036.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(amd): keep MI355X allocations off mia1-p01-g11

The c256 UMBP point landed on that node twice. Slurm exclude keeps the rerun off it.

Co-authored-by: Cursor <cursoragent@cursor.com>

* feat(agentx): move the DSv4.1-Flash MI355X UMBP points to nightly-60bd6dd

The 2026-11-16 ROCm nightly is 50 commits ahead of nightly-9bc16ae and still
carries vllm-project/vllm#64715, #66036, and #67377.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(amd): keep MI355X allocations off mia1-p01-g09

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Fangzhou Ai <fangzhou.ai@amd.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Chun Fang <chun.fang@amd.com>
Co-authored-by: functionstackx <47992694+functionstackx@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant