Skip to content

Run DSv4 ATOM 1P1D c128/c256/c512 on EP8 Mega + LMCache MP / DSv4 ATOM 1P1D c128/c256/c512 改用 EP8 Mega + LMCache MP - #3831

Closed
yhl-amd wants to merge 4 commits into
mainfrom
codex/dsv4-atom-pd-c256-ep8-mega-mp-sticky
Closed

yhl-amd wants to merge 4 commits into
mainfrom
codex/dsv4-atom-pd-c256-ep8-mega-mp-sticky

Conversation

@yhl-amd

@yhl-amd yhl-amd commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Moves the DeepSeek-V4-Pro-0813 MI355X ATOM 1P1D AgentX points at concurrency 128 and 256 to the EP8 Mega + LMCache MP configuration from ROCm/ATOM recipes/DeepSeek-V4-Agentic-PD-Max.md on codex/v4-pd-ep8-mega-mp-sticky-recipe-20261008, and adds concurrency 512. The three points run on a new key, dsv4-fp4-mi355x-atom-disagg-agentic-mega-mp-dspark, on rocm/atom-dev:nightly_202610080328. dsv4-fp4-mi355x-atom-disagg-agentic-lmcache-dspark drops its TBO c128 and in-process lmcache_offload c256 points and keeps concurrency 1, 16 and 64 unchanged.

  • Prefill: DP attention with EP8, the Mega MoE backend (high-throughput all2all) and EPLB (window 100, interval 200, ATOM_EPLB_MAX_REBALANCES=4). TBO is off.
  • KV offload: a node-wide LMCache MP server (lmcache_mp connector, tp_rank_collapse) replaces the in-process lmcache_offload tier. srtctl's lmcache-server service runs it on the prefill node only, with a 1000 GB lazy L1, a 900 s read TTL and LRU eviction.
  • Decode: DP attention without offload.
  • Per point: as in the earlier DSv4 ATOM PD points, both roles admit 2x CONC and decode captures every per-rank batch from 1 to CONC/4 (32 / 64 / 128). AToMesh routes dp_sticky on both sides; c128 previously used cache_aware.

The c256 point alone completed benchmark and eval on the first revision of this PR: run 37792732881 (results). c128 and c512 have not run yet.

中文

把 DeepSeek-V4-Pro-0813 MI355X ATOM 1P1D AgentX 的并发 128 和 256 两个点,换成 ROCm/ATOM recipes/DeepSeek-V4-Agentic-PD-Max.md(分支 codex/v4-pd-ep8-mega-mp-sticky-recipe-20261008)里的 EP8 Mega + LMCache MP 配置,并新增并发 512。三个点都放在新 key dsv4-fp4-mi355x-atom-disagg-agentic-mega-mp-dspark 下,镜像为 rocm/atom-dev:nightly_202610080328。dsv4-fp4-mi355x-atom-disagg-agentic-lmcache-dspark 去掉原来的 TBO c128 点和进程内 lmcache_offload c256 点,c1、c16、c64 保持不变。

  • Prefill:DP attention + EP8 + Mega MoE(high-throughput all2all)+ EPLB,关闭 TBO。
  • KV offload:从进程内的 lmcache_offload 改成节点级 LMCache MP server(lmcache_mp connector)。server 由 srtctl 的 lmcache-server service 只在 prefill 节点上启动,L1 为 1000 GB lazy。
  • Decode:DP attention,不做 offload。
  • 各点参数:沿用之前 DSv4 ATOM PD 的规则,两边 max-num-seqs 取 2×CONC,decode 每个 rank 的 graph capture 从 1 到 CONC/4(32 / 64 / 128)。两边都用 dp_sticky 路由;c128 之前用的是 cache_aware。

本 PR 的第一版只有 c256 一个点,benchmark 和 eval 都已跑通:run 37792732881。c128 和 c512 还没跑过。

AI model disclosure
  • Claude Opus 5.5 (claude-opus-5-5): wrote the recipe variants, master-config entries and changelog entry, and prepared this PR.

🤖 Generated with Claude Code

…Cache MP

Single concurrency-256 PD point following ROCm/ATOM
recipes/DeepSeek-V4-Agentic-PD-Max.md on
codex/v4-pd-ep8-mega-mp-sticky-recipe-20261008: prefill runs DP attention
with EP8, the Mega MoE backend and EPLB (no TBO) and offloads KV to a
node-wide LMCache MP server; decode and dp_sticky routing are unchanged.
New config key dsv4-fp4-mi355x-atom-disagg-agentic-mega-mp-dspark on
rocm/atom-dev:nightly_202610080328.

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

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

@yhl-amd yhl-amd added the full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures label Oct 8, 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.

I reviewed this PR and didn't find any bugs. Because inferencex-e2e/configs/amd-master.yaml is CODEOWNERS-protected (specific AMD maintainers), a human look from one of those owners would still be worthwhile.

What was reviewed:

  • Recipe/master-config pairing: model.container in the new override_ep8_c256_mega_mp block matches image in the new amd-master.yaml entry (both rocm/atom-dev:nightly_202610080328), satisfying the required invariant.
  • perf-changelog.yaml: confirmed the new entry is a pure append at the tail (no existing bytes touched), English-only, and reuses the same pull/XXX placeholder pattern already present in an earlier entry.
  • New lmcache-server service block: has no readiness probe, unlike the repo's other lmcache-server block which sets one with an explanatory comment — already examined as a ruled-out candidate, not a new finding.
Extended reasoning...

Three pure config/data files (recipe YAML, amd-master.yaml, perf-changelog.yaml) add one new AMD ATOM DSv4 benchmark point with a node-wide LMCache MP server replacing in-process offload; no code or scripts changed, and no injection/auth/data-exposure surface is touched. The non-negotiable invariants (model.container == image, paired recipe+master-config update, append-only English-only changelog entry) all check out from the diff. The deciding factor for defer rather than approve is that configs/amd-master.yaml carries explicit named CODEOWNERS (not just the repo-wide default), so a human owner should still look even though no bug was found.

This review covers commit 135b743, which is no longer the latest commit on this pull request; later commits are not covered by it.

@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

yhl-amd and others added 2 commits October 10, 2026 15:00
Move concurrency 128 and 256 off the TBO and in-process lmcache_offload
points of dsv4-fp4-mi355x-atom-disagg-agentic-lmcache-dspark onto the EP8
Mega prefill + LMCache MP configuration, and add concurrency 512. Both
roles admit 2x CONC, decode captures 1..CONC/4 per rank, dp_sticky routing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	inferencex-e2e/perf-changelog.yaml
@yhl-amd yhl-amd changed the title Add DSv4 ATOM 1P1D c256 EP8 Mega + LMCache MP point / 新增 DSv4 ATOM 1P1D c256 EP8 Mega + LMCache MP 测试点 Run DSv4 ATOM 1P1D c128/c256/c512 on EP8 Mega + LMCache MP / DSv4 ATOM 1P1D c128/c256/c512 改用 EP8 Mega + LMCache MP Oct 10, 2026
@yhl-amd yhl-amd closed this Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant