Skip to content

Optimize DSv4 MI355X disaggregated AgentX / 优化 DSv4 MI355X 分离式 AgentX - #4102

Closed
Duyi-Wang wants to merge 4 commits into
SemiAnalysisAI:mainfrom
Duyi-Wang:feat/dsv4-mi355x-agentx-opt-20261015
Closed

Duyi-Wang wants to merge 4 commits into
SemiAnalysisAI:mainfrom
Duyi-Wang:feat/dsv4-mi355x-agentx-opt-20261015

Conversation

@Duyi-Wang

@Duyi-Wang Duyi-Wang commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Superseded by #4186, which uses a branch in the upstream repository.

Tune the MI355X DeepSeek-V4-Pro-0813 disaggregated DSpark AgentX recipe: replace concurrency 4 with 1, enable FP8 unified KV and mxscale dense GEMM on both roles at concurrency 1–48, use mxscale decode GEMM throughout, enable power-of-two decode routing at concurrency 192–512, and enable MegaMoE prefill EPLB at concurrency 512. Keep the current upstream recipe binding and remove obsolete AITER/SGLang PR-dependency comments.

Use lmsysorg/sglang-rocm:v0.5.21-rocm724-mi35x-20261016 for the serving image.

Corresponding SGLang cookbook update: sgl-project/sglang#44454.

AI model disclosure
  • Model/version: GPT-6; the exact runtime model/version identifier could not be verified.
  • Role: port the requested fork commit to current upstream, clean comments, update the image and performance changelog, run local checks, and prepare this PR. No delegated agents were used.
  • Model attribution for the original fork commit was not available.
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, an authorized maintainer (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.
中文

本 PR 已由 #4186 替代,新 PR 使用 upstream 仓库内的分支。

对应的 SGLang cookbook 更新:sgl-project/sglang#44454。

优化 MI355X DeepSeek-V4-Pro-0813 分离式 DSpark AgentX 配置:将并发 4 替换为 1,在并发 1–48 的 prefill/decode 两侧启用 FP8 unified KV 和 mxscale dense GEMM,所有并发点的 decode 侧启用 mxscale dense GEMM,在并发 192–512 启用 power-of-two decode 路由,并在并发 512 启用 MegaMoE prefill EPLB。适配 upstream 当前的 recipe 绑定方式,并清理已过时的 AITER/SGLang PR 依赖注释。

Serving 镜像使用 lmsysorg/sglang-rocm:v0.5.21-rocm724-mi35x-20261016。

改动类型为配置修改。AI 使用说明:GPT-6,无法核实精确的运行时模型/版本标识;负责移植指定 fork 提交、清理注释、更新镜像与性能变更记录、执行本地检查并准备 PR,未使用子 agent。原始 fork 提交的模型使用信息不可得。检查清单见上方。

Port the runtime tuning from fork commit a2f2c889e44a976e82d4a62104640d5f425de73d to the current upstream recipe binder. Use the pending 2026-10-15 SGLang ROCm nightly image and remove obsolete PR-dependency comments.

将 fork 提交 a2f2c889 的 DSv4 MI355X 分离式 AgentX 优化适配到 upstream 当前的 recipe 绑定方式,使用待发布的 2026-10-15 SGLang ROCm nightly 镜像,并清理已过时的 PR 依赖注释。
将 DSv4 优化的性能变更记录关联到 upstream PR SemiAnalysisAI#4102。
同步 upstream main,并按官方工具解决性能变更记录的尾部冲突,保留所有历史内容。
将 DSv4 MI355X 分离式 AgentX 的镜像更新为 2026-10-16 SGLang ROCm nightly,并同步本 PR 的性能变更记录。
@Duyi-Wang Duyi-Wang closed this Oct 16, 2026
edwingao28 added a commit that referenced this pull request Oct 21, 2026
…#4186)

* perf(amd): optimize DSv4 disaggregated AgentX on MI355X

Port the runtime tuning from fork commit a2f2c889e44a976e82d4a62104640d5f425de73d to the current upstream recipe binder. Use the pending 2026-10-15 SGLang ROCm nightly image and remove obsolete PR-dependency comments.

将 fork 提交 a2f2c889 的 DSv4 MI355X 分离式 AgentX 优化适配到 upstream 当前的 recipe 绑定方式,使用待发布的 2026-10-15 SGLang ROCm nightly 镜像,并清理已过时的 PR 依赖注释。

* docs: link DSv4 tuning changelog to upstream PR

将 DSv4 优化的性能变更记录关联到 upstream PR #4102。

* perf(amd): use October 16 SGLang ROCm nightly for DSv4

将 DSv4 MI355X 分离式 AgentX 的镜像更新为 2026-10-16 SGLang ROCm nightly,并同步本 PR 的性能变更记录。

* docs: link DSv4 changelog to upstream branch PR 4186

将 DSv4 性能变更记录关联到 upstream 仓库分支的新 PR #4186。

* perf(amd): use published ROCm 7.2.0 nightly for DSv4

将 DSv4 MI355X AgentX 镜像切换为已发布的 v0.5.22-rocm720-mi35x-20261016,并同步性能变更记录。

* fix(amd): retain DSv4 concurrency-one admission capacity

Keep replay concurrency at one while allowing eight request slots on both
roles and decode graph batches 1-8. This leaves headroom for the current PD
admission budget during long-output requests. Update the existing PR #4186
performance entry without changing other concurrency points.

保留并发 1 回放,将 prefill/decode 两侧的请求槽位设为 8,并覆盖 decode
图批次 1-8,为当前 PD admission 对长输出请求计算的预算保留余量。
仅更新 PR #4186 现有性能变更记录,不改变其他并发点。

Equivalent c1 settings passed a full 3600-second InferenceY CI run with
245 profiling requests, 11 warmup requests, and zero errors (run 39008024147).
等效的并发 1 配置已通过完整 3600 秒 InferenceY CI:245 个 profiling 请求、
11 个 warmup 请求,均无错误(运行 39008024147)。

* chore(amd): remove redundant concurrency-one comments

Remove only the two comments added with the concurrency-one capacity fix.
Keep the request limits, decode graph sizes, and performance changelog entry.

仅删除并发 1 容量修复新增的两处注释,保留请求容量、decode 图批次及性能变更记录。

* perf(amd): use October 19 ROCm 7.2.0 nightly for DSv4

将 DSv4 MI355X AgentX 镜像更新为 2026-10-19 已发布的 ROCm 7.2.0 nightly,并同步性能变更记录。

* fix

* fix: preserve default DSpark draft activation scaling

Remove SGLANG_DSV4_DENSE_MXSCALE from all recipe settings to retain the pinned image default activation scales, following PR #3348.

删除 recipe 中全部 SGLANG_DSV4_DENSE_MXSCALE 设置,保持锁定镜像默认的 DSpark draft activation scale,遵循 PR #3348,并追加性能变更记录。

* docs: shorten PR 4186 changelog [skip-sweep]

中文:将性能变更描述精简为两条。

---------

Co-authored-by: Chun Fang <[email protected]>
Co-authored-by: billishyahao <[email protected]>
Co-authored-by: Wenyao Gao <[email protected]>
adibarra added a commit that referenced this pull request Oct 21, 2026
…355X AgentX 结果入库 (#4386)

* perf(amd): optimize DSv4 disaggregated AgentX on MI355X

Port the runtime tuning from fork commit a2f2c889e44a976e82d4a62104640d5f425de73d to the current upstream recipe binder. Use the pending 2026-10-15 SGLang ROCm nightly image and remove obsolete PR-dependency comments.

将 fork 提交 a2f2c889 的 DSv4 MI355X 分离式 AgentX 优化适配到 upstream 当前的 recipe 绑定方式,使用待发布的 2026-10-15 SGLang ROCm nightly 镜像,并清理已过时的 PR 依赖注释。

* docs: link DSv4 tuning changelog to upstream PR

将 DSv4 优化的性能变更记录关联到 upstream PR #4102。

* perf(amd): use October 16 SGLang ROCm nightly for DSv4

将 DSv4 MI355X 分离式 AgentX 的镜像更新为 2026-10-16 SGLang ROCm nightly,并同步本 PR 的性能变更记录。

* docs: link DSv4 changelog to upstream branch PR 4186

将 DSv4 性能变更记录关联到 upstream 仓库分支的新 PR #4186。

* perf(amd): use published ROCm 7.2.0 nightly for DSv4

将 DSv4 MI355X AgentX 镜像切换为已发布的 v0.5.22-rocm720-mi35x-20261016,并同步性能变更记录。

* fix(amd): retain DSv4 concurrency-one admission capacity

Keep replay concurrency at one while allowing eight request slots on both
roles and decode graph batches 1-8. This leaves headroom for the current PD
admission budget during long-output requests. Update the existing PR #4186
performance entry without changing other concurrency points.

保留并发 1 回放,将 prefill/decode 两侧的请求槽位设为 8,并覆盖 decode
图批次 1-8,为当前 PD admission 对长输出请求计算的预算保留余量。
仅更新 PR #4186 现有性能变更记录,不改变其他并发点。

Equivalent c1 settings passed a full 3600-second InferenceY CI run with
245 profiling requests, 11 warmup requests, and zero errors (run 39008024147).
等效的并发 1 配置已通过完整 3600 秒 InferenceY CI:245 个 profiling 请求、
11 个 warmup 请求,均无错误(运行 39008024147)。

* chore(amd): remove redundant concurrency-one comments

Remove only the two comments added with the concurrency-one capacity fix.
Keep the request limits, decode graph sizes, and performance changelog entry.

仅删除并发 1 容量修复新增的两处注释,保留请求容量、decode 图批次及性能变更记录。

* perf(amd): use October 19 ROCm 7.2.0 nightly for DSv4

将 DSv4 MI355X AgentX 镜像更新为 2026-10-19 已发布的 ROCm 7.2.0 nightly,并同步性能变更记录。

* fix

* fix: preserve default DSpark draft activation scaling

Remove SGLANG_DSV4_DENSE_MXSCALE from all recipe settings to retain the pinned image default activation scales, following PR #3348.

删除 recipe 中全部 SGLANG_DSV4_DENSE_MXSCALE 设置,保持锁定镜像默认的 DSpark draft activation scale,遵循 PR #3348,并追加性能变更记录。

* chore: bootstrap ingest recovery for PR 4186

中文:为 PR 4186 的结果入库恢复创建初始提交。

* chore: re-append PR 4186 changelog entry for ingest recovery

Reuses run-sweep 39588593657 (head c54a727) via /use.

中文:为恢复结果入库重新追加 PR 4186 的 changelog 条目,通过 /use 复用 run-sweep 39588593657(head c54a727)。

---------

Co-authored-by: Duyi-Wang <[email protected]>
Co-authored-by: Chun Fang <[email protected]>
Co-authored-by: billishyahao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant