Skip to content

[AMD][AgentX] DeepSeek-V4.1-Flash MI355X vLLM: rerun the whole curve on the 11-19 nightly / [AMD][AgentX] DeepSeek-V4.1-Flash MI355X vLLM:在 11-19 nightly 上重跑整条曲线 - #5151

Merged
functionstackx merged 5 commits into
mainfrom
amd-agentx-dsv41-flash-nightly-9c1d45c
Nov 21, 2026
Merged

functionstackx merged 5 commits into
mainfrom
amd-agentx-dsv41-flash-nightly-9c1d45c

Conversation

@chunfangamd

Copy link
Copy Markdown
Collaborator

Summary

#5036 put its new DP2/UMBP key (c128–c384) on nightly-60bd6dd but left the TP4/TP2 key (c1–c64) and the TP8 c1 key on nightly-4fab5a07. A regular sweep replaces the whole AgentX curve, so since #5036 merged, the dashboard's DeepSeek-V4.1-Flash MI355X vLLM curve shows only c128, c256 and c384; the ten c1–c64 points are no longer in the latest view. A maintainer asked for the whole curve to be rerun on one image (comment).

This PR moves all three keys of the curve to vllm/vllm-openai-rocm:nightly-9c1d45c21836370104d4eb51d3b46eda20719c47 (2026-11-19, digest sha256:694108707f333787b1041caa0e948dd18b86f2450365a94e38819f026275ee32) and reruns all 13 points in one regular sweep:

Key Points Previous image
dsv41flash-fp4-mi355x-vllm-agentic-dspark TP4 c1–c2, TP2 c1–c64 nightly-4fab5a07
dsv41flash-fp4-mi355x-vllm-agentic-dspark-tp8-c1 TP8 c1 nightly-4fab5a07
dsv41flash-fp4-mi355x-vllm-agentic-dspark-umbp DP2 c128 without offloading, DP2 c256/c384 with UMBP nightly-60bd6dd

Recipes, topology, concurrencies, speculative decoding, KV offloading and the stream interval (vLLM default 1) are unchanged. The planner runs evals at TP2 c64 and DP2 UMBP c384.

Below vLLM, the new image is byte-identical to nightly-60bd6dd: the same ROCm 10.0, PyTorch 2.13.0, Triton, AITER v0.1.29 and MORI v1.2.3.post1 layers, so the recorded UMBP backend version stays 1.2.3.post1. vLLM moves from 60bd6dd to 9c1d45c2, 326 commits later on main, with no reverts and no change to the UMBP connector.

Risks

  • The TP4/TP2/TP8 points (mono decode) last ran on nightly-4fab5a07, 1,033 vLLM commits earlier. vllm#67315 now also sets decode_backend=latency_specialized whenever --monokernel is on; the DeepSeek-V4.1 ROCm code does not read that field, but this sweep is the first run of these points on the new image.
  • Other open PRs change this curve on other images: #5125 (moves the same TP4/TP2 key to the 11-17 nightly and extends TP4), #5098 (DEP2), #5056 (DEP8) and draft #4873. Each regular merge replaces the whole curve, so whichever lands after this PR needs to move to the same image and rerun the curve, or add points with append-only: true.
Image verification
  • Registry configs of the amd64 manifests (nightly-60bd6dd: sha256:480c1353…, nightly-9c1d45c2: sha256:dcc099d8…): layers 0–26 are identical; layers 27–33 (vLLM requirements, the vLLM wheel, benchmarks and examples) differ. Both carry TORCH_VERSION=2.13.0+rocm10.0.0, TRITON_BRANCH=669b31ac, AITER_BRANCH=v0.1.29 and MORI_BRANCH=v1.2.3.post1, and their environment variables are identical. The image version label moves from 0.34.0rc1.dev571+g60bd6dd2e to 0.34.0rc1.dev897+g9c1d45c21.
  • 60bd6dd and 4fab5a07 are both ancestors of 9c1d45c2, so [ROCm][Perf][DSv4.1] Enable decoder SWA bounded replay vllm-project/vllm#59039, #61082, #62131, #64101, #64715, #66036 and #67377 are all in the image.
  • vLLM changes in 60bd6dd..9c1d45c2 that touch this recipe: #67879 honors prefill_schedule_interval for prefix replay (DP2 points); #65595 can share DP Engram host tables through HIP VMM, opt-in with VLLM_ROCM_ENGRAM_HIP_VMM, which the recipe does not set; #67679 removes --log-config-file and indexer_tp_shard_min_rows, which InferenceX does not use; #63843 makes the Rust frontend return 400 when an auto tool parser resolves nothing, while this recipe names deepseek_v41.
  • At 9c1d45c2, every recipe flag and environment variable still exists, UMBPStoreConnector is registered, and stream_interval defaults to 1.
AI model disclosure
  • Model/version: Claude Opus 5.5, via Cursor. The runtime names the model but exposes no finer version identifier.
  • Role: picked the 2026-11-19 nightly; compared its image layers and vLLM commit range with the previous images; edited the three master-config images and the TP8 key's comment; appended the changelog entry; ran the changelog validator, the sweep planner, recipe binding and infx.matrix.changed; drafted this description. No delegated agents. The PR author asked for the whole curve to be rerun on the day's nightly.
PR checklist and change type

Type of Change

  • Bug fix
  • New feature
  • Configuration change
  • Documentation update
  • Other (please describe)

Checklist

  • I have completed the AI model disclosure and kept it current
  • I have tested my changes locally
  • I have updated documentation if necessary
  • If python -m infx.matrix.changed --base origin/main lists affected config keys, I have appended one new entry covering them to the physical end of inferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entries
  • If this PR appends an inferencex-e2e/perf-changelog.yaml entry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs): full-sweep-fail-fast (recommended), full-sweep-enabled, or non-canary-full-sweep-enabled. Optional modifiers all-evals, evals-only, and agentx-fast require a primary label; the last two block reuse while applied.
  • Before merging via reuse, a maintainer with write access to the repository 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.
中文

#5036 把新增的 DP2/UMBP 键(c128–c384)放在 nightly-60bd6dd 上,但 TP4/TP2 键(c1–c64)和 TP8 c1 键仍在 nightly-4fab5a07 上。普通 sweep 会整体替换 AgentX 曲线,所以 #5036 合入后,dashboard 上 DeepSeek-V4.1-Flash MI355X vLLM 曲线只剩 c128、c256、c384 三个点,c1–c64 的十个点从最新视图中消失了。维护者要求在同一个镜像上重跑整条曲线(评论)。

本 PR 把这条曲线的三个键都换到 vllm/vllm-openai-rocm:nightly-9c1d45c21836370104d4eb51d3b46eda20719c47(2026-11-19,digest sha256:694108707f333787b1041caa0e948dd18b86f2450365a94e38819f026275ee32),在一次普通 sweep 中重跑全部 13 个点(各键的点和原镜像见上表)。recipe、拓扑、并发、投机解码、KV offloading 和 stream interval(vLLM 默认值 1)都不变。planner 在 TP2 c64 和 DP2 UMBP c384 上跑 eval。

新镜像在 vLLM 以下的各层与 nightly-60bd6dd 逐字节相同:ROCm 10.0、PyTorch 2.13.0、Triton、AITER v0.1.29 和 MORI v1.2.3.post1 都一样,因此记录的 UMBP 后端版本仍为 1.2.3.post1。vLLM 从 60bd6dd 前进到 9c1d45c2(main 上晚 326 个提交),其间没有 revert,UMBP connector 也没有改动。

风险

  • TP4/TP2/TP8 这些点(mono decode)上次是在 nightly-4fab5a07 上跑的,比新镜像早 1,033 个 vLLM 提交。vllm#67315 让 --monokernel 同时设置 decode_backend=latency_specialized;DeepSeek-V4.1 的 ROCm 代码不读这个字段,但这些点在新镜像上的第一次运行就是这次 sweep。
  • 还有几个 open PR 在用其他镜像改这条曲线:#5125(把同一个 TP4/TP2 键换到 11-17 nightly 并扩展 TP4)、#5098(DEP2)、#5056(DEP8)和 draft #4873。每次普通合入都会整体替换曲线,所以在本 PR 之后合入的 PR 需要换到同一个镜像并重跑整条曲线,或者用 append-only: true 追加点。

镜像核对的细节见上方 “Image verification”。

AI 模型使用说明:Claude Opus 5.5,通过 Cursor(运行环境只提供模型名,没有更细的版本标识)。工作内容:选定 2026-11-19 nightly;对比新旧镜像的层和 vLLM 提交区间;修改三个 master config 键的镜像和 TP8 键的注释;追加 changelog 记录;运行 changelog 校验、sweep planner、recipe 绑定和 infx.matrix.changed;起草本描述。没有委派给其他 agent。由 PR 作者提出在当天的 nightly 上重跑整条曲线。

改动类型:配置变更。

Rerun every point of the DeepSeek-V4.1-Flash MI355X vLLM AgentX curve on
vllm/vllm-openai-rocm:nightly-9c1d45c2 (2026-11-19), so the TP4/TP2,
TP8 c1 and DP2/UMBP keys share one image. The TP4/TP2 and TP8 keys were
on nightly-4fab5a07 and the DP2/UMBP key on nightly-60bd6dd; a regular
sweep replaces the whole AgentX curve, so the three keys run together.

Recipes, topology, concurrencies, speculative decoding and KV offloading
are unchanged.

Co-authored-by: Cursor <cursoragent@cursor.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 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

Co-authored-by: Cursor <cursoragent@cursor.com>
@chunfangamd chunfangamd added the full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) label Nov 20, 2026

@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.

Comment thread inferencex-e2e/configs/amd-master.yaml Outdated
Comment on lines +941 to +944
# Single-point TP8 c1 scan of DeepSeek-V4.1-Flash on MI355X with mono decode
# (--monokernel) on the latest vLLM ROCm 10.0 nightly (2026-10-30), which carries
# vllm-project/vllm#64101 (mono decode at TP8; earlier builds refuse --monokernel
# outside TP2/TP4). Kept as its own key so the TP4/TP2 grid above does not rerun.
# (--monokernel), which needs vllm-project/vllm#64101 (mono decode at TP8; earlier
# builds refuse --monokernel outside TP2/TP4). Kept as its own key so the TP4/TP2
# grid above does not rerun.

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 TP8 comment this PR rewrote still says the key exists "so the TP4/TP2 grid above does not rerun". This PR reruns that grid together with it, so the reason no longer holds. The first line, "Single-point TP8 c1 scan of ...", is also a header comment that describes the config, which AGENTS.md forbids. Fix: cut the comment down to the one technical fact the image needs, for example # --monokernel at TP8 needs vllm-project/vllm#64101; earlier builds refuse it outside TP2/TP4.

Why this was flagged

The diff edits the comment at amd-master.yaml:941-944 and keeps the sentence "Kept as its own key so the TP4/TP2 grid above does not rerun." The same PR moves both dsv41flash-fp4-mi355x-vllm-agentic-dspark and dsv41flash-fp4-mi355x-vllm-agentic-dspark-tp8-c1 to the same image, and the new perf-changelog block lists both keys, so the TP4/TP2 grid reruns in the same sweep. The sentence is now wrong and only records why the key was split off in the past. AGENTS.md "Comments (mandatory, every file)" bans history comments and header comments that describe a config, and the line "Single-point TP8 c1 scan of DeepSeek-V4.1-Flash on MI355X ..." is a header comment of that kind. After the merge, maintainers reading the config get a misleading reason for the split. Nothing breaks at runtime.

Verification: The diff rewrites the comment at inferencex-e2e/configs/amd-master.yaml:941-944. The new text keeps "Kept as its own key so the TP4/TP2 grid above does not rerun." The PR description says all 13 points rerun in one regular sweep. So the reason the comment gives for keeping a separate key does not hold for this change. Nothing breaks at runtime.

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

@chunfangamd

Copy link
Copy Markdown
Collaborator Author

/use 44689368479

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

@chunfangamd staged run 44689368479.

This run remains available across future /stage-results requests. Staging the same run ID again updates its staged data. Staging workflow

# Conflicts:
#	inferencex-e2e/perf-changelog.yaml
@functionstackx

Copy link
Copy Markdown
Collaborator

/use 44689368479

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

@functionstackx staged run 44689368479.

This run remains available across future /stage-results requests. Staging the same run ID again updates its staged data. Staging workflow

@functionstackx
functionstackx merged commit bd334b4 into main Nov 21, 2026
29 checks passed
@functionstackx
functionstackx deleted the amd-agentx-dsv41-flash-nightly-9c1d45c branch November 21, 2026 04:12
@github-actions

Copy link
Copy Markdown
Contributor

Ingest report — ✅ Results ingested into the production database.

Ingest workflow · Merge Ingest run · Benchmark source run

Category new duplicate skipped unmapped failed
benchmark 13 0 13 0 0
eval 2 2 2 0 0
trace 13 0 0 0 0
power 13 0 0 0 0

benchmarkFiles 14, rawBenchmarkRows 26, coveredByPerJobFiles 13, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 2638, gpuMetricSamplesNew 169918, powerPublicationPoints 13, changelogEntriesWritten 1

Counts cover only this run. Rows: benchmark_results, eval_results, agentic rows linked to a trace, gpu_metrics series. This comment updates if the ingest is rerun.

中文

Ingest 报告 — ✅ 结果已写入 production 数据库。

上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。

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

Labels

full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants