Repository navigation
Optimize DSv4 MI355X disaggregated AgentX / 优化 DSv4 MI355X 分离式 AgentX - #4186
Conversation
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 #4102。
同步 upstream main,并按官方工具解决性能变更记录的尾部冲突,保留所有历史内容。
将 DSv4 MI355X 分离式 AgentX 的镜像更新为 2026-10-16 SGLang ROCm nightly,并同步本 PR 的性能变更记录。
迁移到 upstream 仓库分支前同步 main,并保留性能变更记录的历史内容。
|
Thanks for the contribution!
中文感谢你的贡献!
|
将 DSv4 性能变更记录关联到 upstream 仓库分支的新 PR #4186。
在 nightly 镜像发布后同步 upstream,并保留性能变更记录的历史内容。
将 DSv4 MI355X AgentX 镜像切换为已发布的 v0.5.22-rocm720-mi35x-20261016,并同步性能变更记录。
|
Claude finished @Duyi-Wang's task in 33s —— View job Review
LGTM - no blocking issues found |
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)。
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 图批次及性能变更记录。
Merge upstream main 144e40f and resolve the performance-changelog conflict with the repository's merge helper. Preserve main's historical entries and append the existing PR #4186 block, including the concurrency-one capacity fix. The DSv4 bound recipes remain unchanged, including the removed comments. 合并 upstream main 144e40f,使用仓库提供的工具解决性能变更记录冲突。 完整保留 main 的历史记录,并在末尾保留 PR #4186 唯一条目及并发 1 容量修复。 DSv4 实际绑定配置保持不变,不恢复已删除的注释。
在等待 2026-10-19 nightly 镜像时同步 main,并保留性能变更记录的历史内容。
将 DSv4 MI355X AgentX 镜像更新为 2026-10-19 已发布的 ROCm 7.2.0 nightly,并同步性能变更记录。
在 nightly 镜像发布后同步 upstream,并保留性能变更记录的历史内容。
同步 main 新增的 #4286 性能记录,消除 changelog 校验中的历史删除差异;保留不经过 canary 的全量 sweep 标签。
There was a problem hiding this comment.
As a PR reviewer and CODEOWNER, I have reviewed this and have:
- Verified that as of the moment of typing this, this is the latest version of PR_REVIEW_CHECKLIST.md
- Verified that the general code quality meets the InferenceX standard and does not make the code quality any worse.
- Verified that this PR has passed PR validation. Please link to GitHub Action workflow that shows this. https://github.com/SemiAnalysisAI/InferenceX/actions/runs/39244119974
- Verified that this PR passes evals. Please link to GitHub Action workflow that shows this. https://github.com/SemiAnalysisAI/InferenceX/actions/runs/39244119974
- Verified that speculative decoding PRs uses chat templates to align the AL distribution to real world
- Verified that every draft model and draft head is served as it ships: the draft that ships with the served checkpoint, at its stored precision, through the pinned upstream image's default handling, with the shipped and effective draft precision recorded in the additional detail section. No submission-side quantization, dtype override, checkpoint substitution, or patch may lower draft precision below that default, regardless of eval results or AL. Explicitly verified that
SGLANG_NVFP4_CKPT_FP8_NEXTN_MOEis not enabled in the effective recipe, including inherited settings; enabling it is prohibited going forward, and historical runs do not grant an exception. See Draft-model precision for what counts as the default and the MLPerf comparison. - For agentic workloads: verified that speculative-decoding configs (EAGLE / MTP / draft models) run with simulated synthetic acceptance, with the acceptance-length value taken from the committed golden AL curve in infx/golden_al_distribution/ for that model, thinking mode, and draft length. A submission may choose any supported draft length, but it may not substitute a different acceptance target.
- Verified against the current MODELS.md that this PR does not submit a deprecated model, scenario, or model-scenario combination.
- Verified that the model architecture isn't changed with benchmark hacks like using --hf-overrides to skipping indexer for every x layers on models that don't natively support this. As a general rule, we won't accept optimizations that reduces the number of model architecture FLOPs. Anything that makes that same computation run faster is fair game; target/verifier FLOPs at lower precisions is fine, given that the config passes private evals, but this does not permit lowering draft-model or draft-head precision below what ships. As an general north star princple, we should only use optimizations which is used in production by customers that care about accuracy
- For affected Dynamo TRT-LLM benchmarks, verified that iteration/KV-cache metrics are collected and published under the pinned Dynamo implementation and effective engine settings. Resolve the installed Dynamo version separately from the container tag; use supported metrics controls without requiring KV events. Record the version and configuration evidence in the additional detail section. See verifier Check 17. N/A for unaffected serving paths or frameworks without these Dynamo settings.
- If an company claims that they support vLLM/SGLang as first class LLM inference engines on their hardware, I have verified that the respective vLLM submission made using upstream https://hub.docker.com/u/vllm docker repo, upstream SGLang https://hub.docker.com/u/lmsysorg docker repo. The only exceptions are for new hardware, such as MI455X UALoE72, Vera Rubin NVL72, Rubin NVL8, etc., and for new model architectures where there is an actual reason why vLLM/SGLang does not fundamentally support them yet as supported by vLLM/SGLang community maintainers
- If an company claims that they support vLLM/SGLang as first class upstream in-tree LLM inference engines on their hardware, I have have verified that the respective vLLM/SGLang submission has been made before additional frameworks (TRT-LLM, ATOM, etc.). The only exceptions are for new hardware, such as MI455X UALoE72, Vera Rubin NVL72, Rubin NVL8, etc., and for new model architectures where there is an actual reason why vLLM/SGLang does not fundamentally support them yet.
- Verified that every affected vLLM/SGLang production serving configuration in this PR, including Dynamo deployments, is documented in the official vLLM recipes and/or the SGLang cookbook, for both single-node and multi-node aggregated and disaggregated serving. The documentation covers production-useful flags, environment variables, and launch commands (including prefill, decode, and router/frontend commands for disaggregation); InferenceX-only benchmark/harness settings are excluded with reasoning in the additional detail section:
- I linked the corresponding upstream PR in the vLLM recipe repo or SGLang cookbook source repo and verified that it is MERGED before this InferenceX PR merges. An opened, draft, or closed-without-merge upstream PR does not satisfy this requirement. If the matching recipe was already published, I linked the published recipe/cookbook page in the additional detail section below.
- Verified that this PR does not patch the inference engine or serving stack — the pinned image must run as shipped. This covers .patch files / git apply / patch, inline patches embedded in benchmark scripts (e.g. a python3/sed heredoc that rewrites installed engine sources before serving), in-place edits of site-packages, monkey-patching, overwriting container files, and installing forked/rebuilt engine wheels on top of the pinned image. The only exception is a patch covered by a filled-out waiver at docs/waiver/
<PR_NUMBER>.md— named after the PR that introduces the patch and filed in that same PR, stating what is patched, why the unmodified upstream image cannot run this benchmark, the upstream PR/issue link, and the removal plan — which I have linked below in the additional detail section. - If this PR uses
append-only: true, verified that it only adds generated points or recipe variants inside a selected existing config/scenario and existing same-image visual curve: every previously generated point remains present with the same recipe, no prior point is removed or rerun, and every benchmark-affecting change in the complete diff can affect only the corresponding newly appended points (never an existing point), regardless of which file contains it. - If any of the above criteria cannot reasonably be satisfied, I have provided additional reasoning below.
- Reported measured throughput/E2EL Pareto counts and evidence per affected curve (≥5 points strongly recommended). Below 5 or unverifiable: tag a core maintainer for review; recorded admin bypass required before merge. N/A if no curves are affected. Details.
Additional detail section:
- Draft model: PR #4186 doesn't change the datatype of any draft-model layer: the DSpark draft weights, activations and KV cache all keep the dtype they had before. The PR doesn't touch any draft settings, and the local sglang code agrees.
What the PR changes that involves dtype:
┌─────────────────────────────────────────┬──────────────────────────────┬────────────────┐
│ Change │ What it affects │ Reaches the │
│ │ │ draft? │
├─────────────────────────────────────────┼──────────────────────────────┼────────────────┤
│ SGLANG_DSV4_UNIFIED_KV_FP8=1 (prefill │ The target model's KV cache: │ No, the │
│ and decode, c192 to c512) │ one bf16 pool becomes two, │ draft's pool │
│ │ nope in fp8 and rope in bf16 │ stays bf16 │
├─────────────────────────────────────────┼──────────────────────────────┼────────────────┤
│ │ The kernel for the target's │ No, the │
│ SGLANG_AMD_FLYDSL_MEGA_QUANT: a8w4 + │ MoE layers (8-bit │ draft's MoE │
│ moe-a2a-backend: megamoe (prefill only) │ activations, 4-bit weights) │ never runs on │
│ │ │ prefill │
├─────────────────────────────────────────┼──────────────────────────────┼────────────────┤
│ Image bump, c32 draft length 3 → 6, │ Not dtype changes │ — │
│ SGLANG_MLA_HCA_KV_SPLITS, timeouts │ │ │
└─────────────────────────────────────────┴──────────────────────────────┴────────────────┘
The existing kv-cache-dtype: fp8_e4m3 was already in the recipe's base settings; the PR doesn't change it.
- Cookbook: sgl-project/sglang#44454 (merged 2026-10-16) and the published DeepSeek-V4 cookbook cover the PD prefill, decode and router commands, mxscale, FP8 unified KV, power-of-two routing and c512 EPLB.
- Follow-up for this PR's later changes: FOLLOW_UP_COOKBOOK_PR. It updates c1 to 8 slots on both roles and decode graphs 1–8, replacing
--max-running-requests 2/--cuda-graph-bs-decode 1 2. It also moves the PD image fromv0.5.21-rocm724-mi35x-20261001tov0.5.22-rocm720-mi35x-20261019, because SGLang41cbe65d(the older build) has neitherSGLANG_DSV4_DENSE_MXSCALEnor the router'sSGLANG_ROUTER_P2C_LOAD_METRIC. It must merge before this PR does. - Excluded as InferenceX-only: acceptance simulation (
SGLANG_SIMULATE_ACC_*), AIPerf/harness environment, the concurrency list and cluster-specific paths.
- Follow-up for this PR's later changes: FOLLOW_UP_COOKBOOK_PR. It updates c1 to 8 slots on both roles and decode graphs 1–8, replacing
- Validation / reuse: run 39244119974 (attempt 1) on in-PR commit
63a7d33: all 8 agentic points and 7 eval jobs are green, and/reuse-sweep-run 39244119974is posted. Head6ad6674only merges main and doesn't touch this config. Dropping the fusion flag needs a new sweep and a new/use <run_id>. - Evals: GSM8K strict 0.970–0.977 / flexible 0.970–0.976 (n = 1319) at c16, c32, c48, c192, c256, c384 and c512, with real DSpark acceptance (eval servers don't set
SGLANG_SIMULATE_ACC_LEN). c1 has no eval job. - Golden AL:
dsv4-pro-0813-dspark.yaml, thinking_on: 3.77 at block size 6 (c1, c16, c32) and 3.01 at block size 3 (c48–c512), injected in all 8 throughput jobs. - Other:
lmsysorg/sglang-rocm:v0.5.22-rocm720-mi35x-20261019is public (sha256:8cb29fc4…).dsv4DSpark agentic coding is active in MODELS.md. No engine patches or architecture overrides, noappend-only, and Checks 16 and 17 are N/A (AMD, no Dynamo). Nit:SGLANG_MLA_HCA_KV_SPLITS=8at c1 is inert with FP8 unified KV. - Pareto (p90 throughput per GPU vs E2EL, one curve, the 8
bmk_agentic_*artifacts of run 39244119974, viapareto_coverage): 8 measured, 0 invalid, 7 on the frontier (c16–c512). c1 is dominated by c16 and c32. Against #3664's merged run, every shared point improves: throughput +4–11%, p90 E2EL −5–20%.
Signed: @chunfangamd
❌❌❌ REJECTED ❌❌❌@chunfangamd The merged SGLang cookbook does not yet document this PR's concurrency-1 (c1) configuration or its serving image. The follow-up cookbook PR is still the unfilled placeholder ❌ Check 3 (Upstream recipe): FAIL — The merged/published cookbook does not cover this PR's c1 configuration or its image. sgl-project/sglang#44454 is MERGED, and current
Passed and not applicable checks✅ Check 0 (CODEOWNER): PASS — ✅ Check 1 (Sweep on in-PR commit): PASS — In-PR commit ✅ Check 2 (Evals): PASS — GSM8K strict 0.970–0.977 (n=1319) at c16/c32/c48/c192/c256/c384/c512, all ✅ Check 4 (Reuse command): PASS — COLLABORATOR ✅ Check 5 (Checklist template): PASS — Every item of the current template is present and checked. ✅ Check 6 (Upstream image / ordering): PASS — ✅ Check 7 (Deprecated models): PASS — ✅ Check 8 (Architecture hacks): PASS — No ✅ Check 9 (Chat templates): PASS — AgentX replay goes through ✅ Check 10 (Engine patches): PASS — The PR and the effective recipe contain no patches, ✅ Check 11 (Golden AL): PASS — The launcher derives AL from ➖ Check 12 (Append-only): N/A — The new changelog entry has no ✅ Check 14 (Pareto coverage): PASS — One curve (dsv4 / agentic-coding / MI355X sglang-disagg / fp4 / p90 E2EL). The 8 ➖ Check 16 (NVIDIA overview): N/A — AMD MI355X only. ➖ Check 17 (Metrics publication): N/A — No Dynamo. The frontend is sglang-router on SGLang workers. Assessed commit: |
billishyahao
left a comment
There was a problem hiding this comment.
As a PR reviewer and CODEOWNER, I have reviewed this and have:
- Verified that as of the moment of typing this, this is the latest version of PR_REVIEW_CHECKLIST.md
- Verified that the general code quality meets the InferenceX standard and does not make the code quality any worse.
- Verified that this PR has passed PR validation. Please link to GitHub Action workflow that shows this. https://github.com/SemiAnalysisAI/InferenceX/actions/runs/39244119974
- Verified that this PR passes evals. Please link to GitHub Action workflow that shows this. https://github.com/SemiAnalysisAI/InferenceX/actions/runs/39244119974
- Verified that speculative decoding PRs uses chat templates to align the AL distribution to real world
- Verified that every draft model and draft head is served as it ships: the draft that ships with the served checkpoint, at its stored precision, through the pinned upstream image's default handling, with the shipped and effective draft precision recorded in the additional detail section. No submission-side quantization, dtype override, checkpoint substitution, or patch may lower draft precision below that default, regardless of eval results or AL. Explicitly verified that
SGLANG_NVFP4_CKPT_FP8_NEXTN_MOEis not enabled in the effective recipe, including inherited settings; enabling it is prohibited going forward, and historical runs do not grant an exception. See Draft-model precision for what counts as the default and the MLPerf comparison. - For agentic workloads: verified that speculative-decoding configs (EAGLE / MTP / draft models) run with simulated synthetic acceptance, with the acceptance-length value taken from the committed golden AL curve in infx/golden_al_distribution/ for that model, thinking mode, and draft length. A submission may choose any supported draft length, but it may not substitute a different acceptance target.
- Verified against the current MODELS.md that this PR does not submit a deprecated model, scenario, or model-scenario combination.
- Verified that the model architecture isn't changed with benchmark hacks like using --hf-overrides to skipping indexer for every x layers on models that don't natively support this. As a general rule, we won't accept optimizations that reduces the number of model architecture FLOPs. Anything that makes that same computation run faster is fair game; target/verifier FLOPs at lower precisions is fine, given that the config passes private evals, but this does not permit lowering draft-model or draft-head precision below what ships. As an general north star princple, we should only use optimizations which is used in production by customers that care about accuracy
- For affected Dynamo TRT-LLM benchmarks, verified that iteration/KV-cache metrics are collected and published under the pinned Dynamo implementation and effective engine settings. Resolve the installed Dynamo version separately from the container tag; use supported metrics controls without requiring KV events. Record the version and configuration evidence in the additional detail section. See verifier Check 17. N/A for unaffected serving paths or frameworks without these Dynamo settings.
- If an company claims that they support vLLM/SGLang as first class LLM inference engines on their hardware, I have verified that the respective vLLM submission made using upstream https://hub.docker.com/u/vllm docker repo, upstream SGLang https://hub.docker.com/u/lmsysorg docker repo. The only exceptions are for new hardware, such as MI455X UALoE72, Vera Rubin NVL72, Rubin NVL8, etc., and for new model architectures where there is an actual reason why vLLM/SGLang does not fundamentally support them yet as supported by vLLM/SGLang community maintainers
- If an company claims that they support vLLM/SGLang as first class upstream in-tree LLM inference engines on their hardware, I have have verified that the respective vLLM/SGLang submission has been made before additional frameworks (TRT-LLM, ATOM, etc.). The only exceptions are for new hardware, such as MI455X UALoE72, Vera Rubin NVL72, Rubin NVL8, etc., and for new model architectures where there is an actual reason why vLLM/SGLang does not fundamentally support them yet.
- Verified that every affected vLLM/SGLang production serving configuration in this PR, including Dynamo deployments, is documented in the official vLLM recipes and/or the SGLang cookbook, for both single-node and multi-node aggregated and disaggregated serving. The documentation covers production-useful flags, environment variables, and launch commands (including prefill, decode, and router/frontend commands for disaggregation); InferenceX-only benchmark/harness settings are excluded with reasoning in the additional detail section:
- I linked the corresponding upstream PR in the vLLM recipe repo or SGLang cookbook source repo and verified that it is MERGED before this InferenceX PR merges. An opened, draft, or closed-without-merge upstream PR does not satisfy this requirement. If the matching recipe was already published, I linked the published recipe/cookbook page in the additional detail section below.
- Verified that this PR does not patch the inference engine or serving stack — the pinned image must run as shipped. This covers .patch files / git apply / patch, inline patches embedded in benchmark scripts (e.g. a python3/sed heredoc that rewrites installed engine sources before serving), in-place edits of site-packages, monkey-patching, overwriting container files, and installing forked/rebuilt engine wheels on top of the pinned image. The only exception is a patch covered by a filled-out waiver at docs/waiver/
<PR_NUMBER>.md— named after the PR that introduces the patch and filed in that same PR, stating what is patched, why the unmodified upstream image cannot run this benchmark, the upstream PR/issue link, and the removal plan — which I have linked below in the additional detail section. - If this PR uses
append-only: true, verified that it only adds generated points or recipe variants inside a selected existing config/scenario and existing same-image visual curve: every previously generated point remains present with the same recipe, no prior point is removed or rerun, and every benchmark-affecting change in the complete diff can affect only the corresponding newly appended points (never an existing point), regardless of which file contains it. - If any of the above criteria cannot reasonably be satisfied, I have provided additional reasoning below.
- Reported measured throughput/E2EL Pareto counts and evidence per affected curve (≥5 points strongly recommended). Below 5 or unverifiable: tag a core maintainer for review; recorded admin bypass required before merge. N/A if no curves are affected. Details.
Additional detail section:
- Draft model: PR #4186 doesn't change the datatype of any draft-model layer: the DSpark draft weights, activations and KV cache all keep the dtype they had before. The PR doesn't touch any draft settings, and the local sglang code agrees.
What the PR changes that involves dtype:
┌─────────────────────────────────────────┬──────────────────────────────┬────────────────┐
│ Change │ What it affects │ Reaches the │
│ │ │ draft? │
├─────────────────────────────────────────┼──────────────────────────────┼────────────────┤
│ SGLANG_DSV4_UNIFIED_KV_FP8=1 (prefill │ The target model's KV cache: │ No, the │
│ and decode, c192 to c512) │ one bf16 pool becomes two, │ draft's pool │
│ │ nope in fp8 and rope in bf16 │ stays bf16 │
├─────────────────────────────────────────┼──────────────────────────────┼────────────────┤
│ │ The kernel for the target's │ No, the │
│ SGLANG_AMD_FLYDSL_MEGA_QUANT: a8w4 + │ MoE layers (8-bit │ draft's MoE │
│ moe-a2a-backend: megamoe (prefill only) │ activations, 4-bit weights) │ never runs on │
│ │ │ prefill │
├─────────────────────────────────────────┼──────────────────────────────┼────────────────┤
│ Image bump, c32 draft length 3 → 6, │ Not dtype changes │ — │
│ SGLANG_MLA_HCA_KV_SPLITS, timeouts │ │ │
└─────────────────────────────────────────┴──────────────────────────────┴────────────────┘
The existing kv-cache-dtype: fp8_e4m3 was already in the recipe's base settings; the PR doesn't change it.
- Cookbook: sgl-project/sglang#45297 and the published DeepSeek-V4 cookbook cover the PD prefill, decode and router commands, mxscale, FP8 unified KV, power-of-two routing and c512 EPLB.
- Excluded as InferenceX-only: acceptance simulation (
SGLANG_SIMULATE_ACC_*), AIPerf/harness environment, the concurrency list and cluster-specific paths.
- Excluded as InferenceX-only: acceptance simulation (
- Validation / reuse: run 39244119974 (attempt 1) on in-PR commit
63a7d33: all 8 agentic points and 7 eval jobs are green, and/reuse-sweep-run 39244119974is posted. Head6ad6674only merges main and doesn't touch this config. Dropping the fusion flag needs a new sweep and a new/use <run_id>. - Evals: GSM8K strict 0.970–0.977 / flexible 0.970–0.976 (n = 1319) at c16, c32, c48, c192, c256, c384 and c512, with real DSpark acceptance (eval servers don't set
SGLANG_SIMULATE_ACC_LEN). c1 has no eval job. - Golden AL:
dsv4-pro-0813-dspark.yaml, thinking_on: 3.77 at block size 6 (c1, c16, c32) and 3.01 at block size 3 (c48–c512), injected in all 8 throughput jobs. - Other:
lmsysorg/sglang-rocm:v0.5.22-rocm720-mi35x-20261019is public (sha256:8cb29fc4…).dsv4DSpark agentic coding is active in MODELS.md. No engine patches or architecture overrides, noappend-only, and Checks 16 and 17 are N/A (AMD, no Dynamo). Nit:SGLANG_MLA_HCA_KV_SPLITS=8at c1 is inert with FP8 unified KV. - Pareto (p90 throughput per GPU vs E2EL, one curve, the 8
bmk_agentic_*artifacts of run 39244119974, viapareto_coverage): 8 measured, 0 invalid, 7 on the frontier (c16–c512). c1 is dominated by c16 and c32. Against #3664's merged run, every shared point improves: throughput +4–11%, p90 E2EL −5–20%.
Signed: billishyahao
|
Preserve main changelog bytes and append this PR contributions after resolving the conflict. 重新运行 PR #4186 sweep 前同步 main;保留 main 性能记录的全部原始字节,将本 PR 记录追加至末尾以解决冲突。
中文:合并主线并整理性能变更记录。
中文:同步主线并保留已验证配置。
中文:将性能变更描述精简为两条。
中文:同步主线并保留两条变更描述。
…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]>
Tune the MI355X DeepSeek-V4-Pro-0813 disaggregated DSpark AgentX recipe: replace concurrency 4 with 1, enable FP8 unified KV on both roles at concurrency 1–48, 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.22-rocm720-mi35x-20261019for the serving image.Remove all
SGLANG_DSV4_DENSE_MXSCALEsettings: the opt-in changes DSpark draft activation scales from FP32 to UE8M0 relative to this image's default, contrary to #3348. The previous green sweep 39244119974 predates this removal; its reuse selection cannot validate the revised recipe, which requires a new sweep and evals.Concurrency 1 retains eight request slots on both roles and decode graph batches 1–8, while replay concurrency remains one. The equivalent configuration passed a full 3600-second internal InferenceY CI run: 11 warmup and 245 profiling requests, with zero errors. This validates the concurrency-one fix; the higher-concurrency performance regressions remain unresolved.
Corresponding SGLang cookbook updates: sgl-project/sglang#44454 and #45297. The mxscale opt-in documented there is intentionally omitted to preserve draft precision.
AI model disclosure
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,full-sweep-enabled, ornon-canary-full-sweep-enabled(selected for this PR). 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.中文
本次使用
non-canary-full-sweep-enabled,跳过 canary,直接运行完整并发矩阵。对应的 SGLang cookbook 更新:sgl-project/sglang#44454 和 #45297。为保持 draft 精度,本 PR 不启用其中的 mxscale 选项。
优化 MI355X DeepSeek-V4-Pro-0813 分离式 DSpark AgentX 配置:将并发 4 替换为 1,在并发 1–48 的 prefill/decode 两侧启用 FP8 unified KV,在并发 192–512 启用 power-of-two decode 路由,并在并发 512 启用 MegaMoE prefill EPLB。适配 upstream 当前的 recipe 绑定方式,并清理已过时的 AITER/SGLang PR 依赖注释。
Serving 镜像使用
lmsysorg/sglang-rocm:v0.5.22-rocm720-mi35x-20261019。删除全部
SGLANG_DSV4_DENSE_MXSCALE设置:该选项会将 DSpark draft activation scale 从镜像默认的 FP32 改为 UE8M0,不符合 #3348。此前通过的 sweep 39244119974 早于此次删除;原有复用选择不能验证修改后的 recipe,需要重新运行 sweep 和 eval。并发 1 的 prefill/decode 两侧保留 8 个请求槽位,decode 图批次覆盖 1–8,回放并发仍为 1。等效配置已通过完整 3600 秒的 内部 InferenceY CI:11 个 warmup 请求和 245 个 profiling 请求,均无错误。这仅验证并发 1 修复;高并发性能回退仍未解决。
改动类型为配置修改。AI 使用说明:GPT-6,无法核实精确的运行时模型/版本标识;负责移植指定 fork 提交、清理注释、更新镜像与性能变更记录、执行本地检查并准备 PR,本次并发 1 修复另使用并行 GPT-6 子 agent 分别排查、验证和移植容量修复;各子 agent 的精确运行时模型/版本标识也无法核实。本次后续修复由 GPT-6 完成(无法核实精确运行时模型/版本标识),负责核对镜像及 checkpoint、删除 mxscale 设置、验证 recipe 合成及矩阵生成并更新 PR,未委派子 agent。原始 fork 提交的模型使用信息不可得。检查清单见上方。