Skip to content

musespark mi355x: append TP4/EP4 concurrency 58 / musespark mi355x:追加 TP4/EP4 并发 58 - #5193

Merged
dorado269 merged 8 commits into
mainfrom
yihou/musespark-mi355x-c58
Nov 26, 2026
Merged

dorado269 merged 8 commits into
mainfrom
yihou/musespark-mi355x-c58

Conversation

@dorado269

@dorado269 dorado269 commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Appends one point to musespark-fp4-mi355x-sglang-agentic-dflash: TP4/EP4 at concurrency 58, on the same pinned lmsysorg/sglang-rocm:muse-spark-open-mi355-1106 image. The existing six points and their recipes are unchanged (append-only: true; python -m infx.matrix.changed --base origin/main: 6 -> 7 points, 1 added, 0 removed).

Why this point. The published MI355X curve (run 42879019953, #4983) ends at TP4 concurrency 40, its highest throughput: 48,418 tok/s/GPU. Concurrency 40 is not where MI355X saturates; it is where the SWA KV pool saturates. With out-of-window SWA slots freed, the same TP4 instance keeps scaling to concurrency 58.

Expected gain. In our pre-submission runs (below) concurrency 58 reached 55,610 and 56,793 tok/s/GPU, mean 56,201: +17.8% over the same harness's concurrency 40 runs of the current recipe (mean 47,726), and +16.1% over the published concurrency 40 point (48,418). The official number is whatever the sweep on this PR measures.

The new override_tp4_c58 is the override_tp4_c40 recipe (stream interval 20) plus two environment variables:

  • SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS=1 frees SWA KV slots that have left the sliding window. Without it the SWA pool saturates above concurrency 40 and prefix matches get truncated, so raising concurrency does not pay off. This is an existing SGLang option in the pinned image; no engine patch.
  • HSA_ENABLE_SCRATCH_ASYNC_RECLAIM=0: we hit HSA_STATUS_ERROR_OUT_OF_RESOURCES on TP4 ranks under async scratch reclaim; we measured no throughput effect from it.

No engine patch, file overlay, or model change.

The SGLang Cookbook update for this point was merged on November 25, 2026 (UTC) in sgl-project/sglang#51760.

Validation details

Pre-submission runs with our own AgentX closed-loop harness on MI355X (crusoe), 1106 image, 3600 s scored window, a single 4-GPU instance, total tokens/s per GPU. These are not InferenceX workflow runs.

Config tok/s/GPU
Published: TP4 c40, run 42879019953 48,418
Ours: TP4 c40, override_tp4_c40 as on main (2 runs) 47,442 / 48,011
Ours: TP4 c40 + out-of-window free 50,634
Ours: TP4 c58, this recipe (2 nodes) 55,610 / 56,793

Both c58 runs completed without errors (about 6.1k requests each, TTFT p50 2.2 s / p95 11.8 s, ITL 15.6 ms).

AI model disclosure
  • Model/version: Claude-Opus-5.5[1m] (Claude Code)
  • Role: prepared the recipe, changelog entry and PR text from the author's benchmark runs; the runs were driven by the same model under the author's supervision.
  • Follow-up: Codex (exact model identifier could not be verified) resolved the changelog conflict and updated the Cookbook merge status in this description.
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.
中文

为 musespark-fp4-mi355x-sglang-agentic-dflash 追加一个点:TP4/EP4 并发 58,镜像不变(lmsysorg/sglang-rocm:muse-spark-open-mi355-1106)。原有 6 个点及其配方不变(append-only: true;infx.matrix.changed:6 -> 7 个点,新增 1,删除 0)。

为什么加这个点。 当前公开的 MI355X 曲线(run 42879019953,#4983)止于 TP4 并发 40,这也是它的最高吞吐:48,418 tok/s/GPU。并发 40 并不是 MI355X 的上限,而是 SWA KV 池饱和的位置;释放滑出窗口的 SWA 槽位后,同一个 TP4 实例可以继续扩展到并发 58。

预期收益。 提交前实测并发 58 为 55,610 / 56,793 tok/s/GPU,均值 56,201:比同一压测工具下当前配方的并发 40(均值 47,726)高 +17.8%,比公开的并发 40 点(48,418)高 +16.1%。正式数字以本 PR 的 sweep 为准。

override_tp4_c58 = override_tp4_c40 配方(stream interval 20)加两个环境变量:

  • SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS=1:释放已滑出窗口的 SWA KV 槽位。不开时并发超过 40 后 SWA 池饱和、前缀匹配被截断,加并发没有收益。这是固定镜像中已有的 SGLang 选项,不修改引擎。
  • HSA_ENABLE_SCRATCH_ASYNC_RECLAIM=0:TP4 rank 在异步 scratch 回收下出现过 HSA_STATUS_ERROR_OUT_OF_RESOURCES;实测对吞吐无影响。

无引擎补丁、无文件覆盖、不改模型。对应的 SGLang Cookbook 更新已于 2026 年 11 月 25 日(UTC)通过 sgl-project/sglang#51760 合入。提交前数据来自我们自己的 AgentX 闭环压测(MI355X,1106 镜像,3600 s 计分窗口,单个 4 卡实例),不是 InferenceX workflow 的结果,见上方 Validation details。

AI 使用说明:Claude-Opus-5.5[1m](Claude Code)编写配方、changelog 和 PR 文本;压测也由该模型在作者监督下执行。后续由 Codex 处理 changelog 冲突并更新本描述中的 Cookbook 合入状态,具体模型标识无法核实。

🤖 Generated with Claude Code

…w free / musespark mi355x:追加 TP4/EP4 并发 58(SWA 窗口外槽位释放)

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

@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. The AMD recipe tree and amd-master.yaml have code owners, so one of them should still sign off on the new point.

What was reviewed:

  • override_tp4_c58 against override_tp4_c40: the args and the three shared env vars are identical. The only additions are the two commented env vars, and CONC is 58 with dram offload, which matches the TP4/EP4 conc-list row now set to [28, 36, 40, 58].
  • perf-changelog.yaml: one block appended at the tail, with no edits to earlier entries. append-only: true fits because the image and the existing c28/c36/c40 blocks are unchanged. pr-link still uses the pull/XXX placeholder.
  • Ruled out: a cap of 80 max-running-requests at concurrency 58. It is the same cap as c40 and is above the concurrency.
  • Not done: no sweep or matrix run was part of this review. The c58 throughput and stability claims rest on the author's pre-submission runs.
Extended reasoning...

The change adds one recipe override block to an AMD MI355X srt-slurm recipe, one conc value to amd-master.yaml, and one append-only perf-changelog entry. It touches no security-sensitive surface. It follows the sibling c40 block exactly, apart from two documented env vars. I did not approve because .github/CODEOWNERS gives both the mi355x recipe directory and amd-master.yaml to the AMD owners.

@dorado269 dorado269 added the full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) label Nov 24, 2026
…w entry only / perf-changelog:恢复历史条目的 XXX pr-link,仅新条目指向 #5193

Signed-off-by: yihou <yihou@amd.com>
@dorado269 dorado269 added full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) and removed full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) labels Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

@zijiecode

zijiecode commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Out-dated
/use 45324251770

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

@zijiecode staged run 45324251770.

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

@zijiecode zijiecode left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a PR reviewer and CODEOWNER, I have reviewed this and have:

Checklist items
  • 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. https://github.com/SemiAnalysisAI/InferenceX/actions/runs/45324251770
  • Verified that this PR passes evals. https://github.com/SemiAnalysisAI/InferenceX/actions/runs/42879019953
  • 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; the only exception is a draft KV-cache dtype allowed by the draft KV-cache rule in Draft-model precision. Explicitly verified that SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is 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
  • Verified that new models disable integer all-reduce, with SGLang ROCm explicitly setting ROCM_QUICK_REDUCE_QUANTIZATION=NONE. Existing models are grandfathered per MODELS.md.
  • 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
  • For official InferenceX (non-preview), verified that established models use official upstream engine images built from main or master (or the equivalent default development branch), or meet the community-engine branch exception: the upstream maintainers (Inferact for vLLM, RadixArk for SGLang, and LightSeek for TokenSpeed) approve the branch/image for the submission, the upstream PRs must merge in a timely manner after submission, and the submission must then move to a main-branch image. For this exception, linked the upstream PRs, maintainer approval, and image build/source provenance in the additional detail section. New models using model-enablement branches must transition within a reasonable time after release. See MODELS.md.
  • 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 SGLang cookbook source repo, sgl-project/sglang#51760, 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:

Cookbook PR: sgl-project/sglang#51760
Evals: append-only entries generate no eval jobs. The linked run 42879019953 is this curve's eval on the same image (GSM8K 0.9773 / 0.9773 / 0.9750); its TP4 c28 eval already runs with SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS=1.
Draft precision:

  • No draft-specific setting; draft is the standalone RadixArk/Muse-Spark-Open-DFlash2, as on the six published points (same image digest).
  • Stored: bfloat16, no quantization_config.
  • Draft KV cache follows the target's --kv-cache-dtype fp8_e4m3; no draft KV override.
  • SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE unset.
  • The two added variables (SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS, HSA_ENABLE_SCRATCH_ASYNC_RECLAIM) do not touch the draft.
    Pareto: 7 of 7 points on the P90 E2EL frontier (6 from run 42879019953, c58 from run 45324251770).

Signed: zijiecode

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

❌❌❌ REJECTED ❌❌❌

@zijiecode Blocking: no executed eval exists on any commit in this PR, so the validation and accuracy checks cannot pass.

❌ Check 1 (Passing sweep + evals on an in-PR commit): FAIL — No passing sweep/eval was found on any commit in this PR: every in-PR commit has eval / and agentic eval / skipped. The only executed job is the c58 canary / in run 45324251770 on ae7cc657. That run also predates the base-branch gpus-per-worker / GPU-proportional DRAM migration merged in bbcc7763, and the rerun on 61873d9a (run 45752853760) was still in progress. Finish a green sweep with evals on a commit in this PR, then /use that run.

❌ Check 2 (Evals pass): FAIL — Evals were skipped on every in-PR commit, so there are no eval results to check. The linked eval run 42879019953 ran on 4caa8fbd, a PR #4983 commit that is not part of this PR.

Passed and not applicable checks

✅ Check 0 (CODEOWNER): PASS — zijiecode owns amd-master.yaml and the mi355x-* srt-slurm recipes; perf-changelog.yaml falls only under the catch-all owner.

✅ Check 3 (Upstream recipe): PASS — sgl-project/sglang#51760 merged 2026-11-25. The MuseSparkOpen MI355X HiCache block matches the c58 flags and both new env vars.

✅ Check 4 (Reuse command): PASS — /use 45324251770 was posted by zijiecode (write); that run is on in-PR commit ae7cc657.

✅ Check 5 (Latest checklist template): PASS — Every current template item is present and checked.

✅ Check 6 (Upstream image / provenance / ordering): PASS — lmsysorg/sglang-rocm (unchanged by this PR), framework sglang. musespark is a new model (added 2026-10-15) on a model-enablement image; maintainers should track the move to a main-branch image.

✅ Check 7 (Deprecated models/scenarios): PASS — musespark agentic-coding is active in MODELS.md.

✅ Check 8 (No architecture hacks): PASS — No architecture overrides or accuracy-trading levers; musespark is grandfathered under the all-reduce policy (baseline matrix).

✅ Check 9 (Chat template for spec decode): PASS — The AgentX replay uses the chat endpoint.

✅ Check 10 (No engine patches): PASS — No reachable patching; only env vars and args were added.

✅ Check 11 (Golden simulated AL): PASS — The launcher injects SGLANG_SIMULATE_ACC_LEN=4.05 (match-expected, real-draft-token). This matches the golden dflash2 thinking_on curve at 7 drafts, and the c58 job log confirms it.

✅ Check 12 (Append-only): PASS — One append-only entry, 6 to 7 points, none removed or retuned; override_tp4_c58 is reached only by the new c58 point.

✅ Check 13 (Draft precision): PASS — The DFlash2 draft is stored bf16 with no quantization_config and no draft override. Draft KV follows the target fp8_e4m3 per the framework default, and the golden identity's draft_kv_cache_dtype is the default. SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is unset.

✅ Check 14 (Pareto coverage): PASS — 7/7 frontier points on the musespark/agentic-coding/mi355x_sglang/fp4/P90 curve: 6 from run 42879019953 (unchanged recipes, same image) and c58 (57,686 tok/s/GPU, P90 48.9 s) from run 45324251770.

✅ Check 15 (PR description): PASS — The title, body and changelog match the diff, image and upstream merge state.

➖ Check 16 (NVIDIA overview): N/A — AMD MI355X only.

➖ Check 17 (Metrics publication): N/A — SGLang, no Dynamo TRT-LLM path.

✅ Check 18 (Recipe consistency): PASS — Master TP4/EP4/4 GPUs matches the recipe, the image is not newly referenced, no points were removed or regressed, and stream interval is 20 (existing points ≤50).

Assessed commit: 61873d9a6fb5fc16914246b86d070eae344001fb.

@dorado269 dorado269 added non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) and removed full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) labels Nov 26, 2026
@1am9trash

Copy link
Copy Markdown
Collaborator

/reuse-sweep-run 45752853760

@1am9trash 1am9trash left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a PR reviewer and CODEOWNER, I have reviewed this and have:

Checklist items
  • 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. https://github.com/SemiAnalysisAI/InferenceX/actions/runs/45752853760
  • Verified that this PR passes evals. https://github.com/SemiAnalysisAI/InferenceX/actions/runs/42879019953
  • 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; the only exception is a draft KV-cache dtype allowed by the draft KV-cache rule in Draft-model precision. Explicitly verified that SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is 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
  • Verified that new models disable integer all-reduce, with SGLang ROCm explicitly setting ROCM_QUICK_REDUCE_QUANTIZATION=NONE. Existing models are grandfathered per MODELS.md.
  • 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
  • For official InferenceX (non-preview), verified that established models use official upstream engine images built from main or master (or the equivalent default development branch), or meet the community-engine branch exception: the upstream maintainers (Inferact for vLLM, RadixArk for SGLang, and LightSeek for TokenSpeed) approve the branch/image for the submission, the upstream PRs must merge in a timely manner after submission, and the submission must then move to a main-branch image. For this exception, linked the upstream PRs, maintainer approval, and image build/source provenance in the additional detail section. New models using model-enablement branches must transition within a reasonable time after release. See MODELS.md.
  • 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 SGLang cookbook source repo, sgl-project/sglang#51760, 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:

Cookbook PR: sgl-project/sglang#51760

Evals: This entry is append-only: true, and append-only entries generate no eval jobs (eval / and agentic eval / are skipped in run 45752853760), and all-evals / evals-only are not allowed with append-only. So this PR has no executed eval on any in-PR commit.
Related evidence (not in this PR): run 42879019953 (#4983, commit 4caa8fb, same image digest) is the eval for this curve (GSM8K 0.9773 / 0.9773 / 0.9750) and covers c28/c40. Its TP4 c28 eval already runs with SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS=1.
Request: Need maintainer review.

Draft precision:

  • No draft-specific setting; draft is the standalone RadixArk/Muse-Spark-Open-DFlash2, as on the six published points (same image digest).
  • Stored: bfloat16, no quantization_config.
  • Draft KV cache follows the target's --kv-cache-dtype fp8_e4m3; no draft KV override.
  • SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE unset.
  • The two added variables (SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS, HSA_ENABLE_SCRATCH_ASYNC_RECLAIM) do not touch the draft.
    Pareto: 7 of 7 points on the P90 E2EL frontier (6 from run 42879019953, c58 from run 45752853760).

Signed: @1am9trash

@github-actions

Copy link
Copy Markdown
Contributor

✅✅✅ Verdict: PASS ✅✅✅

Passed and not applicable checks

✅ Check 0 (CODEOWNER): PASS — @1am9trash is a listed owner of inferencex-e2e/configs/amd-master.yaml and srt-slurm-recipes/**/mi355x-*/; perf-changelog.yaml falls to the catch-all.

✅ Check 1 (Passing sweep + evals on an in-PR commit): PASS — Pinned head 61873d9 has a green agentic / c58 job (run 45752853760) and a green executed agentic eval / c58 job (run 45752847824), both on that SHA; there are no later commits.

✅ Check 2 (Evals pass): PASS — GSM8K em_strict 0.9750 (SE 0.0043, n=1319) at TP4/EP4 c58 ran on the PR image digest d231181d… with recipe fingerprint e4adbfbf…, matching the benchmark point; the gap to the same-topology cohort (run 42879019953, 0.9773) is 0.0023, under the 0.0119 threshold. The sign-off's "no executed eval" note is stale; this eval run exists.

✅ Check 3 (Upstream recipe): PASS — sgl-project/sglang#51760 merged 2026-11-25; the published MI355X HiCache block now carries both new env vars plus every c58 flag (TP4/EP4, page 128, HiCache 310, max-running 80, PDI 24, stream-interval 20, mem 0.86).

✅ Check 4 (Reuse command): PASS — /reuse-sweep-run 45752853760 was posted on its own line by 1am9trash (permission write, role_name write); that run is the Check 1 sweep.

✅ Check 5 (Latest checklist template): PASS — All current template items are present; the one unchecked item (evals) is explained in the additional detail section.

✅ Check 6 (Upstream image / provenance / ordering): PASS — lmsysorg/sglang-rocm:muse-spark-open-mi355-1106 (upstream lmsysorg org, image unchanged from the published curve) is a model-enablement image for musespark, a new model added 2026-10-15; this is SGLang only, so ordering does not apply.

✅ Check 7 (Deprecated models/scenarios): PASS — musespark agentic coding is active in MODELS.md.

✅ Check 8 (No architecture hacks): PASS — There are no overrides that cut FLOPs; SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS frees KV slots outside the SWA window, which those layers never attend to, and the c58 eval is covered; musespark is grandfathered for integer all-reduce (it is in the policy-baseline matrix at 2a45791).

✅ Check 9 (Spec-decode chat templates): PASS — The agentic trace replay drives the same chat-format client as the existing points, and acceptance is simulated under Check 11.

✅ Check 10 (No engine patches): PASS — The c58 override only adds args and env, with no setup script, patch, overlay, or wheel install on the reachable path.

✅ Check 11 (Agentic golden AL): PASS — The launcher injects SGLANG_SIMULATE_ACC_LEN=4.05 (match-expected, real-draft-token) on the agg role, which equals the golden AL for musespark DFlash2 with 7 draft tokens, thinking_on, and standard verify.

✅ Check 12 (Append-only): PASS — There is one append-only entry; the generated points go from 6 to 7 with 1 added, 0 removed and 0 re-tuned; the new override_tp4_c58 is selected only by the new conc 58 point.

✅ Check 13 (Draft precision): PASS — The draft is the standalone RadixArk/Muse-Spark-Open-DFlash2 (BF16), with no draft quantization or dtype override; the draft KV follows the target fp8_e4m3 (allowed); SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is absent from the recipe, launcher overrides, and the image ENV layers.

✅ Check 14 (Pareto coverage): PASS — The MI355X SGLang FP4 P90-E2EL curve has 7/7 frontier points (TP8 c6/c10/c28 and TP4 c28/c36/c40 from run 42879019953, plus TP4 c58 at 57,951 tok/s/GPU and 49.4 s from run 45752853760), and both throughput and E2EL increase monotonically.

✅ Check 15 (PR description): PASS — The title, body and changelog claims (c40 recipe plus two env vars, same image, 6 to 7 points) match the pinned code.

➖ Check 16 (NVIDIA overview): N/A — AMD MI355X only.

➖ Check 17 (Metrics publication): N/A — This is not a Dynamo TRT-LLM serving path.

✅ Check 18 (Recipe consistency): PASS — Master conc 58 maps to recipe CONC: '58' with TP4/EP4 on 4 GPUs and max-running 80; the image resolves (docker manifest inspect OK); no points were removed or re-tuned and there are no regressions; stream-interval is 20 (at most 60).

Assessed commit: 61873d9a6fb5fc16914246b86d070eae344001fb.

@1am9trash

1am9trash commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Only add a new point on cc58.

image

@dorado269
dorado269 merged commit 90afb02 into main Nov 26, 2026
36 checks passed
@dorado269
dorado269 deleted the yihou/musespark-mi355x-c58 branch November 26, 2026 06:55
@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 1 0 1 0 0
eval 0 0 0 0 0
trace 1 0 0 0 0
power 1 0 0 0 0

benchmarkFiles 2, rawBenchmarkRows 2, coveredByPerJobFiles 1, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 0, gpuMetricSamplesNew 21748, powerPublicationPoints 1, 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 时本评论会原地更新。

asghar07 added a commit to fastpathlabs/InferenceX that referenced this pull request Nov 26, 2026
perf-changelog.yaml resolved with infx.workflows.prepare_perf_changelog_merge after SemiAnalysisAI#5193; validate_perf_changelog passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants