Repository navigation
[AMD][DSv4.1] Add prefill cadence to MI355X vLLM TP2 c8/c16 and bump the nightly image / [AMD][DSv4.1] 为 MI355X vLLM TP2 c8/c16 添加 prefill 节奏并更新 nightly 镜像 - #4956
Closed
Fangzhou-Ai wants to merge 1 commit into
Conversation
Contributor
|
Thanks for the contribution!
中文感谢你的贡献!
|
Hold prefill until 96 steps after the last prefill-carrying step on the TP2 c8 and c16 points so decode runs in longer uninterrupted stretches, and move the TP4/TP2 grid to the latest vLLM ROCm nightly. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Fangzhou-Ai
force-pushed
the
amd/dsv41flash-mi355x-vllm-prefill-cadence
branch
from
November 9, 2026 21:06
f4f0134 to
0645f10
Compare
Fangzhou-Ai
marked this pull request as ready for review
November 9, 2026 21:07
Fangzhou-Ai
requested review from
1am9trash,
billishyahao,
chunfangamd,
seungrokj and
zijiecode
as code owners
November 9, 2026 21:07
Contributor
|
Claude finished @Fangzhou-Ai's task in 26s —— View job ReviewLGTM: I found no blocking issues.
|
Contributor
|
View unofficial run (performance): https://inferencex.semianalysis.com/inference?unofficialRun=42707639547 View unofficial run (accuracy): https://inferencex.semianalysis.com/evaluation?unofficialRun=42707639547 |
functionstackx
requested changes
Nov 9, 2026
| max-cudagraph-capture-size: 16 | ||
| max-num-batched-tokens: 8192 | ||
| max-num-seqs: 2 | ||
| # Holds prefill until 96 steps after the last prefill-carrying step while a request decodes. |
Collaborator
There was a problem hiding this comment.
does it improve throughput vs end to end performance (i.e. e2el) vs it unset?
Collaborator
Author
There was a problem hiding this comment.
I am mirroring the B200 settings and to check if it helps.
Collaborator
There was a problem hiding this comment.
thanks. iirc in the b200 setup i checked that it helps both e2el and interactivity before merging
Collaborator
Author
|
interval is not helping for low conc (<=64) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MI355X DeepSeek-V4.1-Flash vLLM AgentX points at TP2 c8 and c16 currently let prefill chunks interleave with decode on every step (
prefill-schedule-interval1), so each prefill chunk interrupts the decode of the other running sequence. This PR setsprefill-schedule-interval: 96on those two points: prefill is held until 96 steps after the last prefill-carrying step while a request is decoding, so decode runs in longer uninterrupted stretches. It also moves the TP4/TP2 grid to the latest vLLM ROCm nightly (nightly-083fbac02, 155 commits after the previous pin).Only points where the cadence can take effect change:
dsv41flash-fp4-mi355x-vllm-agentic-dsparkreruns on the new image (9 points). The TP8 c1 key keeps its current image.Risks: this trades TTFT for fewer decode interruptions at c8 and c16, and it has not been measured on MI355X. The sweep on this PR is the first measurement, so judge it on E2E normalized interactivity (which includes TTFT), not on decode interactivity alone. The image bump also moves every point of the grid.
AI model disclosure
claude-opus-5-5[1m]). Role: analyzed CI artifacts and ran the local experiments that led to this change, earlier in the same working session.claude-sonnet-5-5[1m]). Role: prepared the recipe, master-config and changelog edits, and this PR description.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.OWNER/MEMBER/COLLABORATOR) has commented/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 点位在 TP2 c8 和 c16 目前每一步都允许 prefill 分块与 decode 交错(
prefill-schedule-interval为 1),因此每个 prefill 分块都会打断另一个正在运行的序列的 decode。本 PR 在这两个点位设置prefill-schedule-interval: 96:当有请求正在 decode 时,prefill 被推迟到距上一次携带 prefill 的步骤 96 步之后,使 decode 能连续运行更长时间。同时将 TP4/TP2 网格更新到最新的 vLLM ROCm nightly(nightly-083fbac02,比之前的版本新 155 个提交)。只修改节奏参数能够生效的点位:
dsv41flash-fp4-mi355x-vllm-agentic-dspark整个 TP4/TP2 网格(9 个点)将在新镜像上重跑。TP8 c1 保持原镜像。风险:这是用 TTFT 换取更少的 decode 被打断,在 c8 和 c16 上,且尚未在 MI355X 上测量。本 PR 的扫描是首次测量,应以包含 TTFT 的 E2E 归一化交互性来判断,而不只看 decode 交互性。镜像更新同样会改变网格中的每个点。
AI 模型使用说明:
claude-opus-5-5[1m]):在同一工作会话的早些时候,分析了 CI 产物,并运行了促成本次修改的本地实验。claude-sonnet-5-5[1m]):编写了配方、主配置、变更日志的修改以及本 PR 描述。