Skip to content

[Doc] cookbook: Refresh SemiAnalysis AgentX launches to InferenceX main df623226 - #51504

Merged
nvpohanh merged 1 commit into
sgl-project:mainfrom
nvpohanh:pohanh/cookbook-agentx-refresh-1119
Nov 19, 2026
Merged

nvpohanh merged 1 commit into
sgl-project:mainfrom
nvpohanh:pohanh/cookbook-agentx-refresh-1119

Conversation

@nvpohanh

@nvpohanh nvpohanh commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

[by Claude Code]

Motivation

The cookbook's Agentic Long-Context Deployment sections (#42726, #43083, #43799, #43983, #44065, #44228, #44654, #44712, #45039, #45111, #45311, #45513, #45749, #46005, #46506, #46547, #46807, #46948, #47027, #47214, #47464, #47929, #48392, #48551, #48634, #48857, #49260, #49787, #50081, #50289, #50766) mirror SemiAnalysis InferenceX AgentX submissions as raw launch commands, each linked to the run that measured it. The configurations are mirrored from SemiAnalysis submissions. This PR:

  1. Syncs every page to InferenceX main (df623226). Two Kimi-K3.1-Pro PRs have merged since [Doc] cookbook: Refresh SemiAnalysis AgentX launches to InferenceX main 8ab57a81 #50766. Both now show their dashboard runs, with unchanged commands:
  2. Overlays four open InferenceX PRs, one of them new: InferenceX #5137 (MiniMax-M3.1-Flash GB300).
  3. Adds two launch features to the component, both needed by the new overlays:
    • Dynamo sidecar mode (InferenceX #5065): each worker is stock SGLang with its native gRPC server, and a dynamo.sglang.sidecar process registers it with Dynamo. The sidecar is shown in its own tab right after its worker.
    • Chosen GPUs (InferenceX #5137): the worker's CUDA_VISIBLE_DEVICES=0,2, from srt-slurm's gpu_indices, with a placement note.

Source

InferenceX main (df623226), with these InferenceX PRs overlaid:

PR Page Lanes Pinned to
#5137 MiniMax-M3.1-Flash GB300 Dynamo + SGLang: aggregated points on the 1113 nightly, TP2 HiCache to c50 MiniMax-M3.1 minimaxm31flash-fp4-gb300-dynamo-sglang-agentic-dspark-agg no /use yet: in progress at head e4f24d7f
#5065 GB300 DSV4.1-Flash Dynamo + SGLang: megakernel agg, Dynamo sidecar mode DeepSeek-V4.1 dsv41flash-fp4-gb300-dynamo-sglang-agentic-agg, -dspark-disagg-hicache no /use yet: in progress at head 4203682c
#5063 Muse Spark Open GB300 SGLang megakernel point at concurrency 1 Muse Spark Open musespark-fp4-gb300-dynamo-sglang-agentic-dflash-mk-agg no /use yet: in progress at head c0e05886
#4853 Qwen3.5 GB300 Dynamo+SGLang on the official SGLang nightly with NVIDIA megakernels Qwen3.5 qwen3.5-fp4-gb300-dynamo-sglang-agentic-agg, -disagg no /use yet: in progress at head bad794e4

"In progress" lanes are rendered at the PR head and labeled "In progress in SA InferenceX AgentX". A later sync pins them once the PR gets a /use run or merges.

  • MiniMax-M3.1-Flash GB300 Dynamo+SGLang aggregated (InferenceX #5137, in progress).
    • Image: nightly-cu134-20261113-5792cf6.
    • TP4 at c4, c8 and c16, and the new TP4 + HiCache point at c20, run shortest-prefill-first scheduling, 8k prefill chunks and stream interval 20. c8 gains a second deployment next to the 32k-chunk one.
    • TP2 + HiCache moves from c40 / c40 / c44 to c44 / c48 / c50, with a 240 GB/rank write-back host tier.
    • That worker runs on GPUs 0 and 2 (one per Grace socket), so each rank's host pool sits on its own NUMA node. The page shows the pin as CUDA_VISIBLE_DEVICES=0,2, with a placement note explaining it.
    • The page goes from 109 to 111 points.
  • DeepSeek-V4.1-Flash GB300 Dynamo+SGLang (InferenceX #5065, in progress). The newer head runs both keys in Dynamo sidecar mode on nightly-dev-cu13-20261118-ecd3d75a.
    • Each worker is python3 -m sglang.launch_server ... --grpc-port 50051 --grpc-response-timeout-secs 3600, followed (once the gRPC port is up) by python3 -m dynamo.sglang.sidecar --grpc-endpoint 127.0.0.1:50051 ... on the worker's first node. Prefill sidecars also pass --bootstrap-host.
    • The PR also replaces the disaggregated HiCache deployments. 6P1D c3018, 7P1D c5540 and 9P1D c7480 become 5P1D c4000, 7P1D c6600, 8P1D c7600 and 12P1D c10288.
    • The prefill workers share one Engram table through --engram-config (replication: group_shards). Its group_store must be an empty directory that every worker in the group can see. SA used a directory under its job log mount, so the page shows /path/to/shared/engram-group-store, with a note.
  • Muse Spark Open GB300 megakernel (InferenceX #5063, in progress): newer head, same commands.
  • Qwen3.5 GB300 Dynamo+SGLang (InferenceX #4853, in progress). The newer head lowers the disaggregated deployments' --mem-fraction-static from 0.76 to 0.72. As before, qwen3.5-fp4-gb300-dynamo-sglang-agentic-agg-pareto and -pp-pareto stay off the page, because Fix CI tests #4853 deletes them.
  • Derived HiCache tier of DeepSeek-V4.1 GB300 SGLang (dsv41flash-fp4-gb300-sglang-agentic-dspark, not overlaid). It used to copy its HiCache flags from the measured GB300 disaggregated HiCache lane. That lane is now an in-progress [VLM] Adopt fast image processor by default #5065 lane, and in-progress lanes never donate flags. The flags now come from the measured DeepSeek-V4.1 B200 SGLang lane (--hicache-ratio 1.2 → 2), shown as derived as before.
  • DeepSeek-V4 page unchanged, as in [Doc] cookbook: Refresh SemiAnalysis AgentX launches to InferenceX main ea8b3439 #47464: InferenceX #4664 retired DeepSeek-V4-Pro.
  • Not mirrored (unmeasured, unchanged): musespark-fp4-h100-sglang-agentic-dflash and qwen3.5-fp8-h100-sglang-agentic. The dashboard has no rows for them.
  • InferenceX main was frozen for this PR at df623226. Later merges are left for the next refresh.

What this PR does

Page Deployments Points Command changes
DeepSeek-V4.1 22 (was 21) 67 (was 66) GB300 Dynamo+SGLang agg and disagg-HiCache (sidecar mode, #5065); GB300 SGLang derived HiCache tier
MiniMax-M3.1 36 111 (was 109) GB300 Dynamo+SGLang aggregated (#5137)
Qwen3.5 61 244 GB300 Dynamo+SGLang disaggregated (#4853)
Muse Spark Open 16 62 none (newer #5063 head)
Kimi-K3.1-Pro 28 46 none (GB300 / B300 now on their dashboard runs)
GLM-5.2, GLM-5.3, Qwen3.8-Flash-Next 34 / 1 / 10 75 / 10 / 26 none (sources only)
DeepSeek-V4 unchanged

Component (_agentx.jsx):

  • A dynamo-sidecar block kind: titled "Prefill worker — Dynamo sidecar", tab "Prefill sidecar" (ax_tab=prefill-sidecar), plus placement text. Colocated workers get LOCAL_WORKER_RANK → GRPC_PORT.
  • In sidecar mode, the worker's placement text says that the sidecar, not the worker, registers with Dynamo.
  • An engram-group-store note.

Pages without sidecar deployments render exactly as before.

Validation

  • Sidecar mode against the PR's own srt-slurm: the generated commands come from srt-slurm's mock run, using the shared srt-slurm v2.39.1. I re-rendered [VLM] Adopt fast image processor by default #5065's c1 aggregated and c4000 disaggregated points with the srt-slurm pinned in [VLM] Adopt fast image processor by default #5065's tree. The engine flags, sidecar flags and environment are identical. The only differences are srt-slurm-allocated port numbers (gRPC 19000+ vs 50051+; the page normalizes them), the shell probe that waits for the gRPC port, and the job-local OpenTelemetry collector, which the page never shows.
  • Browser checks: every page this PR changes was rendered in a headless browser (mint dev, Mintlify as in CI).
    • Every hardware / checkpoint / deployment / concurrency / KV tier / router combination renders exactly the decoded commands: 3,552 command sets, 0 mismatches, 0 unseen, no browser errors. Kimi-K3.1-Pro's MI355X combinations come from the hand-maintained file, which the sync does not generate, so they have no decoded reference and were not compared.
    • Every tab was clicked, including the new sidecar tabs, and every "Copy link" URL was reopened.
    • The section links from the Deployment panels and the copy buttons were also checked.
  • Decode and KV-flag checks:
    • The component's own decoder reproduces every generated plan (3,552 router × KV-tier variants).
    • Every KV flag exists in its image's SGLang commit.
  • Round trip: every submitted worker and sidecar flag and environment variable is present, removed or rewritten as the rules say (0 problems).
  • Arg-parse: the 293 commands not validated in an earlier round were parsed with their own image's parsers, across 4 images. All parse:
    • Both new dynamo.sglang.sidecar commands, checked against python -m dynamo.sglang.sidecar --help of the image's bundled ai-dynamo.
    • Every worker with --grpc-port, --grpc-response-timeout-secs and --engram-config.
    • [Misc] Use pytest.mark.skipif in sgl-kernel test #5137's derived sgl-router command. Its image nightly-cu134-20261113-5792cf6 does not ship the binary, so it was run with nightly-dev-20261118-ecd3d75a's.
  • node scripts/check_cookbook_configs.mjs, mint broken-links --check-anchors --check-redirects, mint validate and pre-commit run --all-files (in lmsysorg/sglang:dev-cu13) pass.

🤖 Generated with Claude Code


CI States

Latest PR Test (Base): ✅ Run #44512560994
Latest PR Test (Extra): ⊘ Skipped -- add the run-ci label to run CI tests.
Latest PR Test (AMD ROCm 10): ➖ No AMD PR run found for this commit.

Tip

Base CI only covers the core cases, and its workload may not exercise your change. Use /rerun-test to run the tests your change touches, or copy this prompt for an agent:

Find the registered tests this PR affects and run them with /rerun-test, following https://github.com/sgl-project/sglang/blob/main/.agents/skills/rerun-test/SKILL.md

@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 19, 2026 •

Copy link
Copy Markdown
Contributor

✅ Preview approved

@nvpohanh approved a Mintlify preview for commit 8c4f908.

@github-actions

This comment has been minimized.

…in df623226

Sync every Agentic Long-Context Deployment section to InferenceX main
df623226 (Kimi-K3.1-Pro GB300 sgl-project#5059 and B300 sgl-project#5026 now on their dashboard
runs) with InferenceX PRs sgl-project#5137, sgl-project#5065, sgl-project#5063 and sgl-project#4853 overlaid.

The component gains a dynamo-sidecar block (Dynamo sidecar mode,
InferenceX sgl-project#5065: stock SGLang worker with native gRPC plus
dynamo.sglang.sidecar) and an engram-group-store note; MiniMax-M3.1-Flash
GB300 TP2 + HiCache shows its CUDA_VISIBLE_DEVICES=0,2 pin (srt-slurm
gpu_indices, InferenceX sgl-project#5137).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nvpohanh
nvpohanh force-pushed the pohanh/cookbook-agentx-refresh-1119 branch from 8a45032 to 8c4f908 Compare November 19, 2026 11:11
@mintlify

mintlify Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
sglang-doc 🟢 Ready View Preview Nov 19, 2026, 11:25 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@nvpohanh

Copy link
Copy Markdown
Collaborator Author

Preview looks good. Merging

This branch was successfully deployed

1 active deployment
staging - docs — 8c4f908a Deployed Nov 19, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepseek documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant