Skip to content

[Doc] [AMD] cookbook: Muse Spark Open MI355X HiCache frees out-of-window SWA slots - #51760

Merged
HaiShaw merged 1 commit into
sgl-project:mainfrom
dorado269:muse-mi355x-cookbook-c58-v2
Nov 25, 2026
Merged

HaiShaw merged 1 commit into
sgl-project:mainfrom
dorado269:muse-mi355x-cookbook-c58-v2

Conversation

@dorado269

@dorado269 dorado269 commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

The MI355X TP4·EP4 HiCache command for Muse Spark Open stops scaling at about concurrency 40, because the SWA KV pool saturates. SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS=1, an existing option in the pinned image, frees SWA slots that have left the sliding window and removes that limit. InferenceX #5193 submits the resulting concurrency 58 point, and InferenceX requires its serving configuration in the SGLang cookbook.

Summary

  • The MI355X "HiCache (high concurrency)" fragment of MuseSparkOpen.mdx now sets SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS=1 and HSA_ENABLE_SCRATCH_ASYNC_RECLAIM=0. Flags, image (lmsysorg/sglang-rocm:muse-spark-open-mi355-1106) and the TP8 monokernel fragment are unchanged.
  • A "SWA slot reuse" bullet says what the two variables do, and that the published InferenceX points through concurrency 40 ran without them while fix: examples for token_in_token_out_vlm  #5193 adds concurrency 58 with them.
  • The generated AgentX explorer data (muse-spark-open.jsx) is not touched.

Why for the whole high-concurrency range, not only concurrency 58

At concurrency 40, adding the two variables to the existing HiCache command raises throughput by about 5.6% and does not lower interactivity:

Concurrency 40 Runs tok/s/GPU E2E normalized interactivity P90 Interactivity P90 TTFT P90
Existing command 3 47,777 – 48,011 36.8 – 37.1 71.0 – 71.5 2.35 – 2.42 s
+ both variables 6 50,440 – 50,792 38.6 – 40.1 73.7 – 74.8 2.25 – 2.32 s
InferenceX published, existing command 1 48,418 37.0 72.5 2.41 s

At concurrency 58 the command with both variables gives 55,610 / 56,793 tok/s/GPU at E2E normalized interactivity P90 23.9 / 23.4: the point #5193 submits.

Measurement evidence

Method: our AgentX closed-loop runs with the InferenceX harness and metrics, on crusoe MI355X nodes (one TP4·EP4 instance on 4 GPUs), image lmsysorg/sglang-rocm:muse-spark-open-mi355-1106@sha256:d231181df079a5b271a0459d024492c84a36caf8cb26ee019abad29e17eea4d2 (the digest InferenceX pins), official mode (3600 s profile), 1106 engine as shipped (no file overlays). Every run uses the HiCache command of this page with --max-running-requests 80 and --stream-interval 20; the "Variables" column is the only difference ("reclaim only" = HSA_ENABLE_SCRATCH_ASYNC_RECLAIM=0 alone, "both" = plus SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS=1). Values are read from each run's inferencex_result.json:

  • tok/s/GPU = request_metrics.throughput.per_gpu.total_tput_tps (input + output tokens).
  • E2E normalized interactivity P90 = request_metrics.latency.e2e_norm_intvty.p90 = 1 / P90(E2EL / OSL per request), the default AgentX x-axis in InferenceX docs/MODELS.md.
  • Interactivity P90 = 1 / request_metrics.latency.full_response_itl.p90.
Per-run results
Run Variables Conc Node Finished (UTC) Requests profiled tok/s/GPU E2E normalized interactivity P90 Interactivity P90 TTFT P90 (s) E2EL P90 (s)
infx1106-tp4-c40-o139r1a neither 40 v3-139 2026-11-10 4,544 48,011.1 36.79 71.5 2.42 32.4
infx1106-tp4-c40-o139nr reclaim only 40 v3-139 2026-11-10 4,550 47,995.1 37.05 71.0 2.35 32.6
infx1106-tp4-c40-b06a1 reclaim only 40 v3-006 2026-11-11 4,544 47,777.3 37.03 71.5 2.36 33.0
infx1106-tp4-fooww-c40-o139nrf both 40 v3-139 2026-11-11 4,730 50,581.5 39.55 74.2 2.26 29.5
infx1106-tp4-fooww-c40-b06f1 both 40 v3-006 2026-11-11 4,735 50,560.0 40.11 74.8 2.25 29.4
infx1106-tp4-nb-c40-v117a1 both 40 v3-117 2026-11-11 4,740 50,792.4 40.03 74.5 2.25 29.6
infx1106-tp4-nb-c40-v117a2 both 40 v3-117 2026-11-11 4,747 50,779.2 39.98 74.8 2.27 28.9
infx1106-tp4-nb-c40-v003a3 both 40 v3-003 2026-11-12 4,719 50,454.8 38.61 73.7 2.29 29.3
infx1106-tp4-nb-c40-r3a both 40 v3-180 2026-11-13 4,719 50,440.0 39.46 73.8 2.32 30.3
infx1106-tp4-c58-noperm-v244 both 58 v3-244 2026-11-19 6,099 55,609.9 23.93 53.7 5.36 49.6
infx1106-tp4-c58-noperm-b both 58 v3-186 2026-11-19 6,052 56,792.5 23.41 53.7 5.72 49.2
InferenceX published, run 42879019953 TP4 c40 neither 40 cluster:mi355x-amds 2026-11-11 4,571 48,417.8 37.04 72.5 2.41 32.3

The published row is from that run's results_bmk artifact (agg_bmk.json). Concurrency 40 node-to-node spread in our "both" runs is 50,440 – 50,792 (0.7%). The two concurrency 58 runs are on different nodes than the concurrency 40 ones.

Source of truth

Accuracy Tests

No model-output code changes.

Validation

  • node docs/scripts/check_cookbook_configs.mjs: OK
  • pre-commit run --files docs/cookbook/autoregressive/Meta/MuseSparkOpen.mdx: passed

Checklist

AI disclosure: prepared with Claude-Opus-5.5[1m] (Claude Code).

🤖 Generated with Claude Code

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@mintlify

mintlify Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit dc7c126.

Approve preview

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 20, 2026
@dorado269 dorado269 changed the title [Doc] [AMD] cookbook: Muse Spark Open MI355X concurrency 58 from InferenceX #5155 [Doc] [AMD] cookbook: Muse Spark Open MI355X concurrency 58 from InferenceX #5193 Nov 24, 2026
…dow SWA slots

Signed-off-by: yihou <yihou@amd.com>
@dorado269
dorado269 force-pushed the muse-mi355x-cookbook-c58-v2 branch from 58ae537 to dc7c126 Compare November 24, 2026 10:11
@dorado269 dorado269 changed the title [Doc] [AMD] cookbook: Muse Spark Open MI355X concurrency 58 from InferenceX #5193 [Doc] [AMD] cookbook: Muse Spark Open MI355X HiCache frees out-of-window SWA slots Nov 24, 2026
@HaiShaw
HaiShaw merged commit a8fa697 into sgl-project:main Nov 25, 2026
112 of 113 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants