Skip to content

[NVIDIA][AgentX] Muse Spark Open GB300 SGLang megakernel point at concurrency 1 / [NVIDIA][AgentX] Muse Spark Open GB300 SGLang megakernel 并发 1 测试点 - #5063

Open
Fridge003 wants to merge 1 commit into
mainfrom
musespark-gb300-megakernel-c1
Open

Fridge003 wants to merge 1 commit into
mainfrom
musespark-gb300-megakernel-c1

Conversation

@Fridge003

@Fridge003 Fridge003 commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Adds a single Muse Spark Open GB300 AgentX point at concurrency 1 that runs the sgl-muse-mega NVIDIA megakernel (--enable-nvidia-megakernel). The plugin fuses each batch-1 decode step (DFlash2 draft, target verify and accept) into one CUDA graph. It needs its own image, so the point goes in a new config key, musespark-fp4-gb300-dynamo-sglang-agentic-dflash-mk-agg, with a regular changelog entry.

The new key shares model, hardware, framework and precision with musespark-fp4-gb300-dynamo-sglang-agentic-dflash-agg and -disagg, so the three keys form one dashboard curve, and the newest run replaces that whole curve. The changelog entry therefore lists all three keys and the sweep reruns the full Muse Spark GB300 Dynamo + SGLang curve: the new c1 point plus #5143's 11 points (12 benchmarks). The PR is built on top of #5143 and only adds the new key, its recipe and the changelog entry; the sibling keys' image, recipes and points are unchanged from #5143. Other Muse Spark curves are not touched.

  • Image: lmsysorg/sglang:dev-0775fc6-20261112-cu13-arm64@sha256:a200999b… (SGLang 5884e4fec, sgl-muse-mega 0775fc6, ai-dynamo 1.7.0.dev20261026 from the base nightly).
  • Topology: one TP8/EP8 Dynamo+SGLang aggregated worker over two GB300 nodes, trtllm_mha attention, 128-token pages.
  • Speculation: linear DFlash2 chain, 8 draft tokens (SGLANG_MUSE_MEGA_TREE=0). Synthetic acceptance uses the committed golden curve: 7 drafts, AL 4.05. sgl-muse-mega f009237 and later force SGLANG_SIMULATE_ACC_LEN on the fused path. The plugin refuses the token tree under simulation, and the curve covers no 16-token block.

Deviations from the other Muse Spark points, for review:

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.
中文

新增一个 Muse Spark Open GB300 AgentX 并发 1 测试点,使用 sgl-muse-mega NVIDIA megakernel(--enable-nvidia-megakernel)。该插件把每个 batch-1 decode step(DFlash2 draft、target verify 与 accept)融合进一个 CUDA graph。由于需要单独的 image,该点放在新的 config key musespark-fp4-gb300-dynamo-sglang-agentic-dflash-mk-agg 中,使用普通 changelog 条目。

新 key 与 musespark-fp4-gb300-dynamo-sglang-agentic-dflash-agg 和 -disagg 的 model、hardware、framework、precision 都相同,三者构成同一条 dashboard 曲线,最新一次运行会替换整条曲线。因此 changelog 条目列出全部三个 key,sweep 重跑整条 Muse Spark GB300 Dynamo + SGLang 曲线:新的 c1 点加上 #5143 的 11 个点(共 12 个 benchmark)。本 PR 基于 #5143,只新增该 key、其 recipe 与 changelog 条目;两个已有 key 的 image、recipe 和点与 #5143 相同;其他 Muse Spark 曲线不受影响。

  • Image: lmsysorg/sglang:dev-0775fc6-20261112-cu13-arm64@sha256:a200999b…(SGLang 5884e4fec、sgl-muse-mega 0775fc6、base nightly 自带的 ai-dynamo 1.7.0.dev20261026)。
  • 拓扑: 两个 GB300 节点上的单个 TP8/EP8 Dynamo+SGLang 聚合 worker,trtllm_mha attention,page size 128。
  • 投机解码: 线性 DFlash2 chain,8 个 draft token(SGLANG_MUSE_MEGA_TREE=0)。合成接受率使用已提交的 golden 曲线:7 个 draft,AL 4.05。sgl-muse-mega f009237 起在 fused 路径上强制 SGLANG_SIMULATE_ACC_LEN;插件在模拟模式下拒绝 token tree,golden 曲线也没有 16-token block 的数据。

与其他 Muse Spark 点的差异,请 reviewer 关注:

AI model disclosure

Prepared with Claude Code using Claude Opus 5.5 (claude-opus-5-5): image and plugin inspection, config, recipe and changelog authoring, local matrix generation and spec-identity audit, and this description. Later pipeline fixes (KV pool sizing, merges of main, changelog wording), the checklist, and rebuilding the PR as a single commit on top of #5143 were also made with Claude Opus 5.5 (claude-opus-5-5). No delegated agents.

🤖 Generated with Claude Code

@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.

Findings marked 🟡 are optional suggestions and need no follow-up push.

pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/3965

- config-keys:
- musespark-fp4-gb300-dynamo-sglang-agentic-dflash-mk-agg

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.

🔴 Dashboard readers lose the published Muse Spark GB300 Dynamo-SGLang AgentX curve after merge; it shows just one greedy megakernel c1 point. The new key shares model-prefix, hardware, framework and precision with musespark-fp4-gb300-dynamo-sglang-agentic-dflash-agg. The repo says the newest normal run replaces that whole curve, and this regular entry sweeps only conc 1. Fix: give this point a curve identity separate from the existing family. If that is out of scope, list the sibling keys in this entry so the sweep reruns the whole curve. The PR text says the run does not extend that curve, but it replaces it.

Why this was flagged

infx/klaud/main.py:173 says a curve is every master key of one file sharing model, hardware, framework and precision, "since the newest run replaces that whole curve". So the new key at nvidia-master.yaml:7053 lands in the same agentic, offload-off agg series as dflash-agg override_tp8_c36 and override_tp8_c1 (nvidia-master.yaml:6992-7011). The changelog entry at perf-changelog.yaml:12847-12855 is a regular entry (no append-only) that lists only the new key. Its sweep yields one c1 point with greedy requests and a bf16 KV cache. On ingest that run becomes the newest run for the curve, so the c36 and standard sampled c1 points stop showing. On the base branch they stay published. The repo has handled this before: perf-changelog.yaml:12212 and 12828 list sibling agg keys "so the whole Dynamo + SGLang curve ... comes from this sweep".

Verification: Trigger: the regular changelog entry is merged and ingested. infx/klaud/main.py:171-173 and .github/klaud-candidate-prompt.md:69 both say "the newest normal run replaces that whole curve". This PR's regular entry (perf-changelog.yaml:12847-12855) sweeps only conc-list: [1]. That replaces the default-displayed multi-point curve.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Confirmed and fixed in a7374bd. live_families puts the new -mk-agg key in one curve with both musespark-fp4-gb300-dynamo-sglang-agentic-dflash-agg and -disagg, so the c1-only run would have replaced the agg and the disagg points. The changelog entry now lists all three keys, and the sweep reruns the full Muse Spark GB300 Dynamo + SGLang curve (15 points), as #4673 and #4997 did. The sibling keys' image, recipes and points are unchanged, and the PR description no longer claims the run leaves that curve alone.

中文

已确认并在 a7374bd 中修复。live_families 会把新的 -mk-agg key 与 musespark-fp4-gb300-dynamo-sglang-agentic-dflash-agg 和 -disagg 归为同一条曲线,因此只跑 c1 的运行会替换掉 agg 和 disagg 的所有点。现在 changelog 条目列出全部三个 key,sweep 会像 #4673 和 #4997 一样重跑整条 Muse Spark GB300 Dynamo + SGLang 曲线(15 个点)。两个已有 key 的 image、recipe 和点都不变,PR 描述中也已删除"不影响该曲线"的说法。

Comment on lines +3 to +5
# Muse Spark Open on the sgl-muse-mega NVIDIA megakernel (--enable-nvidia-megakernel): one TP8
# worker over two GB300 nodes. The plugin fuses each batch-1 decode step (DFlash2 draft, target
# verify and accept) into one CUDA graph; prefill and larger batches run SGLang's own path.

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.

🟡 (optional) Maintainers get two new header comments, which the repo comment rule bans; one also carries build history. The recipe header at agg-mk-variants.yaml:3-5 describes the recipe, topology and plugin. The master-config header at nvidia-master.yaml:7048-7052 also names source commits and where ai-dynamo came from. Fix: delete both header blocks, which covers the 2 sites listed. Keep the line-level comments that explain specific values, and leave the image and commit details in perf-changelog.yaml and the PR description. Same pattern at 2 sites (agg-mk-variants.yaml:3, nvidia-master.yaml:7048). [also at: inferencex-e2e/configs/nvidia-master.yaml:7052 - nit: Maintainers get two header comments that the AGENTS.md comment rule forbids, and one of them records build provenance.]

Why this was flagged

AGENTS.md:56-57 bans header comments that describe a file, topology, config, recipe, override or section, and bans history such as where code came from. agg-mk-variants.yaml:3-5 is a block above base: that describes the plugin and the 'one TP8 worker over two GB300 nodes' topology, so it is a recipe and topology header. nvidia-master.yaml:7048-7052 sits above the musespark-fp4-gb300-dynamo-sglang-agentic-dflash-mk-agg key. It describes the config and records provenance: 'SGLang 5884e4fec with the plugin at 0775fc6' and 'ai-dynamo 1.7.0.dev20261026 from the base nightly'. No sibling has such a header: the musespark entries at nvidia-master.yaml:6978 and 7078, and the sibling agg-variants.yaml, all have none. Before this change neither file had these headers. After merge they hold provenance that goes stale on the next image bump.

Verification: Severity: nit. Both blocks break the repository's mandatory comment rule in AGENTS.md:54-58, which bans header comments describing a recipe, topology or config, and history of where code came from. agg-mk-variants.yaml:3-5 describes the recipe and topology. nvidia-master.yaml:7048-7052 describes the config and records provenance. Nothing at runtime breaks.

@Fridge003 Fridge003 added the full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) label Nov 13, 2026
@nvpohanh

Copy link
Copy Markdown
Collaborator

[by Claude Code] I've started babysitting the pipeline of this PR. I'll keep monitoring it until it passes. If a job fails, I may rerun it when the cause is infrastructure, or push a fix or a merge of the latest main when the cause is in this PR.

@nvpohanh

Copy link
Copy Markdown
Collaborator

[by Claude Code] The SGLang cookbook integration of this PR's AgentX config (musespark-fp4-gb300-dynamo-sglang-agentic-dflash-mk-agg) will happen in sgl-project/sglang#50289, in the Agentic Long-Context Deployment section of the Muse Spark Open cookbook page.

This PR has no authorized /use <run_id> comment yet, so the cookbook shows the recipe at this PR's head (a7374bd52) as "in progress". A later cookbook PR switches it to the measured run once a run is pinned or this PR merges.

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

@nvpohanh

Copy link
Copy Markdown
Collaborator

[by Claude Code] sgl-project/sglang#50289 has been merged. This PR's AgentX config (musespark-fp4-gb300-dynamo-sglang-agentic-dflash-mk-agg) is now in the Agentic Long-Context Deployment section of the SGLang Muse Spark Open cookbook: https://docs.sglang.io/cookbook/autoregressive/Meta/MuseSparkOpen#agentic-long-context-deployment

This PR has no authorized /use <run_id> comment yet, so the cookbook shows the recipe at this PR's head (a7374bd52) as "in progress". A later cookbook PR switches it to the measured run once a run is pinned or this PR merges.

@nvpohanh

Copy link
Copy Markdown
Collaborator

[by Claude Code] The SGLang cookbook update of this PR's AgentX config (musespark-fp4-gb300-dynamo-sglang-agentic-dflash-mk-agg) will happen in sgl-project/sglang#50766, in the Agentic Long-Context Deployment section of the Muse Spark Open cookbook page. The config has been live in that section since sgl-project/sglang#50289; sgl-project/sglang#50766 refreshes it with the pin below.

This PR has no authorized /use <run_id> comment yet, so the cookbook shows the recipe at this PR's head (3fa8b7d42) as "in progress". A later cookbook PR switches it to the measured run once a run is pinned or this PR merges.

@nvpohanh

Copy link
Copy Markdown
Collaborator

[by Claude Code] sgl-project/sglang#50766 has been merged. This PR's AgentX config (musespark-fp4-gb300-dynamo-sglang-agentic-dflash-mk-agg) is now in the Agentic Long-Context Deployment section of the SGLang Muse Spark Open cookbook: https://docs.sglang.io/cookbook/autoregressive/Meta/MuseSparkOpen#agentic-long-context-deployment

This PR has no authorized /use <run_id> comment yet, so the cookbook shows the recipe at this PR's head (3fa8b7d42) as "in progress". A later cookbook PR switches it to the measured run once a run is pinned or this PR merges.

@nvpohanh

Copy link
Copy Markdown
Collaborator

[by Claude Code] @Fridge003 Heads-up: I'm actively babysitting this PR's pipeline (currently run 44232639011). Please don't cancel or rerun the pipelines yourself while the babysit is in progress. I'll handle reruns for infrastructure failures, and parallel cancels or reruns collide with that and push our jobs back in the GB300 queue.

Current status: the 1P2D c160 point failed for an infrastructure reason (a corrupted container image on one GB300 node made the container fail to start), and fail-fast cancelled the remaining throughput points. Once the eval phase finishes I'll rerun the failed jobs; they keep this run's priority (3.44). If you need to push a change or want to take over, please comment here first.

@nvpohanh nvpohanh added full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures and removed full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) labels Nov 19, 2026
@nvpohanh

Copy link
Copy Markdown
Collaborator

[by Claude Code] The SGLang cookbook update of this PR's AgentX config (musespark-fp4-gb300-dynamo-sglang-agentic-dflash-mk-agg) will happen in sgl-project/sglang#51504, in the Agentic Long-Context Deployment section of the Muse Spark Open cookbook page. The config has been live in that section since sgl-project/sglang#50289; sgl-project/sglang#51504 refreshes it with the pin below.

This PR has no authorized /use <run_id> comment yet, so the cookbook shows the recipe at this PR's head (c0e05886f) as "in progress". A later cookbook PR switches it to the measured run once a run is pinned or this PR merges.

@nvpohanh

Copy link
Copy Markdown
Collaborator

[by Claude Code] sgl-project/sglang#51504 has been merged. This PR's AgentX config (musespark-fp4-gb300-dynamo-sglang-agentic-dflash-mk-agg) is now in the Agentic Long-Context Deployment section of the SGLang Muse Spark Open cookbook: https://docs.sglang.io/cookbook/autoregressive/Meta/MuseSparkOpen#agentic-long-context-deployment

This PR has no authorized /use <run_id> comment yet, so the cookbook shows the recipe at this PR's head (c0e05886f) as "in progress". A later cookbook PR switches it to the measured run once a run is pinned or this PR merges.

@nvpohanh

Copy link
Copy Markdown
Collaborator

There are too many points so the pipelines take too long....

I will let #5143 merge first which significantly reduces the number of points, and then rebase this on top of it so that this sweep will be much faster

…cy 1

Add musespark-fp4-gb300-dynamo-sglang-agentic-dflash-mk-agg, one TP8/EP8
Dynamo+SGLang worker over two GB300 nodes running the sgl-muse-mega NVIDIA
megakernel on lmsysorg/sglang:dev-0775fc6-20261112-cu13-arm64. The point
uses a linear DFlash2 chain of 7 drafts on the committed golden curve,
greedy requests, a BF16 KV cache and a 1M context length with a KV pool
sized for it (mem-fraction-static 0.7). The draft is read from its pinned
local snapshot, which the megakernel's draft build requires.

The changelog entry also lists the agg and disagg keys, unchanged from
#5143, so the sweep republishes the whole Muse Spark GB300 Dynamo + SGLang
curve with the new point.

Co-Authored-By: Po-Han Huang <pohanh@nvidia.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nvpohanh
nvpohanh force-pushed the musespark-gb300-megakernel-c1 branch from 137bd47 to f696fed Compare November 27, 2026 03:31
@nvpohanh

Copy link
Copy Markdown
Collaborator

[by Claude Code] I've started babysitting the pipeline of this PR. I'll keep monitoring it until it passes. If a job fails, I may rerun it when the cause is infrastructure, or push a fix or a merge of the latest main when the cause is in this PR.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants