Repository navigation
musespark mi355x: append TP4/EP4 concurrency 58 / musespark mi355x:追加 TP4/EP4 并发 58 - #5193
Conversation
…w free / musespark mi355x:追加 TP4/EP4 并发 58(SWA 窗口外槽位释放) Signed-off-by: yihou <yihou@amd.com>
|
Thanks for the contribution!
中文感谢你的贡献!
|
There was a problem hiding this comment.
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_c58againstoverride_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: truefits 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.
Signed-off-by: yihou <yihou@amd.com>
…w entry only / perf-changelog:恢复历史条目的 XXX pr-link,仅新条目指向 #5193 Signed-off-by: yihou <yihou@amd.com>
|
View unofficial run (performance): https://inferencex.semianalysis.com/inference?unofficialRun=45752853760 View unofficial run (accuracy): https://inferencex.semianalysis.com/evaluation?unofficialRun=45752853760 |
…onflict with #5094) [skip-sweep] Signed-off-by: yihou <yihou@amd.com>
|
Out-dated |
|
@zijiecode staged run 45324251770. This run remains available across future |
Signed-off-by: yihou <yihou@amd.com>
zijiecode
left a comment
There was a problem hiding this comment.
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_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
- 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
mainormaster(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
❌❌❌ 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 ❌ 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 Passed and not applicable checks✅ Check 0 (CODEOWNER): PASS — ✅ 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 — ✅ Check 5 (Latest checklist template): PASS — Every current template item is present and checked. ✅ Check 6 (Upstream image / provenance / ordering): PASS — ✅ 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 ✅ Check 12 (Append-only): PASS — One append-only entry, 6 to 7 points, none removed or retuned; ✅ 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 ✅ 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: |
Signed-off-by: yihou <yihou@amd.com>
|
/reuse-sweep-run 45752853760 |
1am9trash
left a comment
There was a problem hiding this comment.
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_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
- 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
mainormaster(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
✅✅✅ Verdict: PASS ✅✅✅Passed and not applicable checks✅ Check 0 (CODEOWNER): PASS — ✅ Check 1 (Passing sweep + evals on an in-PR commit): PASS — Pinned head ✅ 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 ✅ 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 — ✅ 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 — ✅ 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; ✅ 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 ✅ 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 ✅ Check 13 (Draft precision): PASS — The draft is the standalone ✅ 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 Assessed commit: |
|
Ingest report — ✅ Results ingested into the Ingest workflow · Merge Ingest run · Benchmark source run
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 报告 — ✅ 结果已写入 上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。 |
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>

Summary
Appends one point to
musespark-fp4-mi355x-sglang-agentic-dflash: TP4/EP4 at concurrency 58, on the same pinnedlmsysorg/sglang-rocm:muse-spark-open-mi355-1106image. 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_c58is theoverride_tp4_c40recipe (stream interval 20) plus two environment variables:SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS=1frees 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 hitHSA_STATUS_ERROR_OUT_OF_RESOURCESon 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.
override_tp4_c40as on main (2 runs)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
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(recommended),full-sweep-enabled, ornon-canary-full-sweep-enabled. Optional modifiersall-evals,evals-only, andagentx-fastrequire a primary label; the last two block reuse while applied./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