Skip to content

[AMD] DSv4.1-Flash MI355X vLLM DP2 AgentX c64/c128/c256 with the prefill delayer / [AMD] DSv4.1-Flash MI355X vLLM DP2 AgentX c64/c128/c256 启用 prefill delayer - #4873

Draft
Fangzhou-Ai wants to merge 4 commits into
mainfrom
amd/dsv41flash-mi355x-vllm-dp2-delayer
Draft

Fangzhou-Ai wants to merge 4 commits into
mainfrom
amd/dsv41flash-mi355x-vllm-dp2-delayer

Conversation

@Fangzhou-Ai

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

Copy link
Copy Markdown
Collaborator

Adds TP1 x DP2 points for DeepSeek-V4.1-Flash FP4 AgentX on MI355X (vLLM) at c64, c128 and c256, with the cross-DP prefill delayer enabled. They live under a new config key, dsv41flash-fp4-mi355x-vllm-agentic-dspark-dp2, so the existing TP2/TP4 grid does not rerun.

Draft: the delayer flags are not in the pinned image yet. The image is nightly-be47189f37f6162991366ff6b91539f6e9d1f432 (digest-pinned), which carries the per-tensor-scale FP8 KV cache (vllm-project/vllm#66036). The delayer flags (--prefill-schedule-policy delayer, --prefill-max-wait-ms) come from vllm-project/vllm#65655, which is still open and not in this image, so these points will not start until a build carries it, plus the max-wait-over-protected-steps patch proposed in this review comment. No sweep has run for these points yet.

Why these settings. In lockstep data parallelism one rank's prefill stalls every rank's decode. The delayer batches prefills across ranks. In local DP2 runs on 8 x MI355X (not InferenceX runs) it improved p90 interactivity at c64 and c128, and it must not collapse TTFT at c256, which is why every point uses the same flags: interval 11, 5 s max wait, 16K token budget. Details and numbers are in the vLLM comment above.

What changes

  • agentic.yaml: override_dp2_c64, override_dp2_c128, override_dp2_c256. TP1 x DP2, consistent-hash vLLM router (so multi-turn sessions keep their prefix-cache hits), the delayer flags, --kv-cache-dtype fp8_e4m3 (per-tensor-scale FP8 KV cache for sparse MLA), monokernel deleted.
  • amd-master.yaml: the new key with the nightly image and one search-space row, conc-list: [64, 128, 256].
  • perf-changelog.yaml: one entry for the new key.

Open before merge

AI model disclosure

Claude Sonnet 5.5 (claude-sonnet-5-5) drafted the config change and this description, working from benchmark runs the submitter ran locally and reviewed.

中文

为 MI355X 上的 DeepSeek-V4.1-Flash FP4 AgentX(vLLM)新增 TP1 x DP2 点位(c64、c128、c256),并启用跨 DP 的 prefill delayer。点位放在新的配置键 dsv41flash-fp4-mi355x-vllm-agentic-dspark-dp2 下,不会重跑现有 TP2/TP4 网格。

草稿:固定镜像尚未包含 delayer 参数。 镜像为 nightly-be47189f37f6162991366ff6b91539f6e9d1f432(按 digest 固定),已包含 per-tensor scale FP8 KV cache(vllm-project/vllm#66036)。delayer 参数(--prefill-schedule-policy delayer、--prefill-max-wait-ms)来自仍未合入的 vllm-project/vllm#65655,当前镜像不含,需要新镜像后才能启动,另外还需要该评论中提出的补丁。这些点位尚未运行 sweep。

变更

  • agentic.yaml:新增 override_dp2_c64、override_dp2_c128、override_dp2_c256。
  • amd-master.yaml:新增配置键及一行 search-space(conc-list: [64, 128, 256])。
  • perf-changelog.yaml:新增一条记录。

合入前待办:待包含 delayer 的镜像出现后更新镜像;在 MI355X runner 上验证 vLLM router;运行完整 sweep 和评测。

🤖 Generated with Claude Code

…elayer on MI355X

Add TP1 x DP2 points at c64, c128 and c256 behind a consistent-hash router with
the cross-DP prefill delayer (interval 11, max wait 5 s, 16K token budget).
The image is TBD until a build carries vllm-project/vllm#65655.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 6, 2026

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 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

Fangzhou-Ai and others added 2 commits November 13, 2026 01:09
…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). The delayer flags still need #65655.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant