Skip to content

feat(dsv4): refresh GB300 vLLM AgentX DSpark recipes / 更新 GB300 vLLM AgentX DSpark 配方 - #3578

Closed
richardhuo-nv wants to merge 5 commits into
mainfrom
rihuo/dsv4-gb300-vllm-agentx-dspark-refresh
Closed

richardhuo-nv wants to merge 5 commits into
mainfrom
rihuo/dsv4-gb300-vllm-agentx-dspark-refresh

Conversation

@richardhuo-nv

@richardhuo-nv richardhuo-nv commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This PR replaces the GB300 DeepSeek-V4 vLLM AgentX MTP submission (dsv4-fp4-gb300-dynamo-vllm-agentic-mtp-agg and -disagg) with nine configurations tuned on DeepSeek-V4-Pro-0813 with DSpark K=6. They come from the selected tuning runs 3150583, 3158854, 3158855, 3158857, 3159112, 3184212, 3184214, 3184216, and 3184226.

Following the variants-bundle layout, each configuration is an override_<name> in the existing bundle for its master-config entry:

Override Topology Conc Nodes
agg-variants.yaml:override_tp8_c1 agg TP8 1 2
agg-variants.yaml:override_tp4_c1 agg TP4 1 1
agg-variants.yaml:override_tp4_c2 agg TP4 2 1
agg-variants.yaml:override_tp4_c4 agg TP4 4 1
disagg-mtp-variants.yaml:override_1p1d_dep4_dep16_c128 1p DEP4 / 1d DEP16 128 5
disagg-mtp-variants.yaml:override_1p1d_dep4_dep16_c256 1p DEP4 / 1d DEP16 256 5
disagg-mtp-variants.yaml:override_1p1d_dep8_dep16_c512 1p DEP8 / 1d DEP16 512 6
disagg-mtp-variants.yaml:override_2p1d_dep8_dep16_c1024 2p DEP8 / 1d DEP16 1024 8
disagg-mtp-variants.yaml:override_2p1d_dep8_dep12_c1152 2p DEP8 / 1d DEP12 1152 7

Changes:

  • Removes the override_tp4 (c1–8), override_tp8 (c1, c4), and override_1p1d_dep4_dep8_c256 overrides, and the standalone disagg-1p4d-dep4-tp8-c4-mtp.yaml.
  • Switches the model to deepseek-ai/DeepSeek-V4-Pro-0813 and speculative decoding to DSpark K=6 with probabilistic draft sampling (spec-decoding: draft_model), replacing MTP3.
  • Moves to image vllm/vllm-openai:nightly-dev-arm64-cu13.0.1-20ebb28 and Dynamo 1.6.0.dev20260923.
  • Enables the mxfp4 indexer KV cache and the KV router with fastokens. Disaggregated configurations place etcd, nats, and the frontend on dedicated nodes.
  • Sets the Mooncake store to 140 GB per rank (125 GB for c1152), so dram-utilization is 0.666667 and 0.595238.

Each override resolves to its selected config with these adaptations:

  • model.path uses the deepseek-v4-pro-0813 cluster alias.
  • served-model-name is deepseek-ai/DeepSeek-V4-Pro-0813, matching $MODEL, which the AgentX client sends.
  • The hard-coded rejection_sample_method: synthetic and synthetic_acceptance_length: 3.77 are removed, as AGENTS.md requires. For throughput runs, the connector injects the same value from infx/golden_al_distribution/dsv4-pro-0813-dspark.yaml. Evals use real verification.
  • dynamo.version becomes dynamo.source.wheel, with the same version.

Validation

  • srtctl resolve-override at the pinned srt-slurm v2.30.0 reproduces every adapted config exactly for all 9 overrides.
  • plan_commands gives the golden AL 3.77 on every speculative role in throughput mode and adds no synthetic overrides in eval-only mode.
  • Replaying each planned throughput command as srtctl dry-run succeeds for all 9 overrides.
  • infx.matrix.generate test-config for both keys produces 9 rows. Node counts, image, model, spec-decoding, and CONFIG_FILE selectors are as shown in the table.
  • validate_perf_changelog passes, and the matrix and changelog test suites pass (458 tests).
  • The full hardware sweep is pending via full-sweep-fail-fast.

AI model disclosure

  • claude-opus-5-5 (Claude Opus 5.5): adapted the configs into the variants bundles, edited the master config and changelog, ran local validation, and wrote the PR text. No delegated agents were used.
中文

摘要

本 PR 将 GB300 DeepSeek-V4 vLLM AgentX MTP 提交(dsv4-fp4-gb300-dynamo-vllm-agentic-mtp-agg 与 -disagg)替换为九个基于 DeepSeek-V4-Pro-0813、DSpark K=6 调优的配置,来自选定的调优运行 3150583、3158854、3158855、3158857、3159112、3184212、3184214、3184216、3184226。

按 variants 包布局,每个配置都是其 master config 条目对应的现有包中的一个 override_<name>(见上表)。

变更:

  • 移除 override_tp4(c1–8)、override_tp8(c1、c4)和 override_1p1d_dep4_dep8_c256 覆盖项,以及独立的 disagg-1p4d-dep4-tp8-c4-mtp.yaml。
  • 模型改为 deepseek-ai/DeepSeek-V4-Pro-0813,推测解码改为 DSpark K=6(probabilistic 草稿采样,spec-decoding: draft_model),取代 MTP3。
  • 镜像改为 vllm/vllm-openai:nightly-dev-arm64-cu13.0.1-20ebb28,Dynamo 改为 1.6.0.dev20260923。
  • 启用 mxfp4 indexer KV cache,以及使用 fastokens 的 KV 路由器。分离式配置将 etcd、nats 和 frontend 放在专用节点上。
  • Mooncake 存储设为每 rank 140 GB(c1152 为 125 GB),因此 dram-utilization 为 0.666667 与 0.595238。

每个覆盖项解析后即为对应的选定配置,并做了以下适配:

  • model.path 使用集群别名 deepseek-v4-pro-0813。
  • served-model-name 为 deepseek-ai/DeepSeek-V4-Pro-0813,与 AgentX 客户端发送的 $MODEL 一致。
  • 按 AGENTS.md 要求,移除硬编码的 rejection_sample_method: synthetic 与 synthetic_acceptance_length: 3.77。吞吐运行时,连接器从 infx/golden_al_distribution/dsv4-pro-0813-dspark.yaml 注入相同的值;评测使用真实验证。
  • dynamo.version 改为 dynamo.source.wheel,版本不变。

验证

  • 在固定的 srt-slurm v2.30.0 下,srtctl resolve-override 对全部 9 个覆盖项均精确还原适配后的配置。
  • plan_commands 在吞吐模式下为每个推测解码角色注入黄金 AL 3.77;在仅评测模式下不添加任何合成覆盖。
  • 将每条规划好的吞吐命令以 srtctl dry-run 重放,9 个覆盖项全部通过。
  • 对两个配置键运行 infx.matrix.generate test-config,生成 9 行。节点数、镜像、模型、spec-decoding 与 CONFIG_FILE 选择器与上表一致。
  • validate_perf_changelog 通过,矩阵与 changelog 测试套件通过(458 个测试)。
  • 完整硬件扫描将通过 full-sweep-fail-fast 运行,结果待定。

AI 模型披露

  • claude-opus-5-5(Claude Opus 5.5):将配置适配到 variants 包,修改 master config 与 changelog,运行本地验证,并撰写 PR 文本。未使用任何委派代理。

🤖 Generated with Claude Code

@richardhuo-nv richardhuo-nv added the full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) label Sep 29, 2026
@richardhuo-nv
richardhuo-nv requested a review from a team September 29, 2026 06:27
@richardhuo-nv richardhuo-nv added the full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) label Sep 29, 2026
richardhuo-nv added a commit that referenced this pull request Sep 29, 2026
更新 perf-changelog 的 PR 链接。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Replace the GB300 DeepSeek-V4 vLLM AgentX MTP submission with nine
tuned DeepSeek-V4-Pro-0813 DSpark K=6 configurations in the agg and
disagg-mtp variants bundles (agg TP8 c1, TP4 c1/c2/c4; disagg 1p1d
c128/c256/c512, 2p1d c1024/c1152), drop the 1p1d DEP4/DEP8 c256 and 1p4d
arms, and bump the image and Dynamo.

将 GB300 DeepSeek-V4 vLLM AgentX MTP 提交替换为 agg 与 disagg-mtp
variants 包中九个调优的 DeepSeek-V4-Pro-0813 DSpark K=6 配置(聚合 TP8
c1、TP4 c1/c2/c4;分离式 1p1d c128/c256/c512、2p1d c1024/c1152),移除
1p1d DEP4/DEP8 c256 与 1p4d,并升级镜像与 Dynamo。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@richardhuo-nv
richardhuo-nv force-pushed the rihuo/dsv4-gb300-vllm-agentx-dspark-refresh branch from 73ceb33 to 252d522 Compare September 29, 2026 06:45
@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 only run on labeled PRs. Add full-sweep-fail-fast (strongly recommended); use full-sweep-enabled only when matrix jobs should continue after a failure.
  • 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 上运行。强烈建议添加 full-sweep-fail-fast;仅当需要矩阵任务在失败后继续运行时才使用 full-sweep-enabled。
  • **合并后:**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 code bugs; because it also touches a merge-automation compatibility detail worth a second set of eyes, a human look is still worthwhile before merge. Reviewed: recipe/master-config lockstep (image, model, router, spec-decoding, model.container == image), the new nine-recipe topology table against configs/nvidia-master.yaml's search-space entries, draft_sample_method being explicit on all dspark recipes, and the dram-utilization split (0.666667 vs 0.595238 for c1152). One thing worth a human check: perf-changelog.yaml:8066 sets pr-link: TBD, but the repo's only recognized placeholders are XXX / .../pull/XXX (CONTRIBUTING.md:94, PR_LINK_PLACEHOLDERS in infx/workflows/validate_perf_changelog.py), and the supported merge path (merge_with_reuse.sh / prepare_perf_changelog_merge.py, per docs/ci-procedures.md:422) only canonicalizes XXX-style links — TBD isn't in that set, so it looks like it would need to become XXX before the automated merge can canonicalize it.

Extended reasoning...

This is a YAML-only benchmark recipe refresh (9 recipe files + configs/nvidia-master.yaml + a changelog entry) with no code, auth, or injection surface touched. I independently verified image/model/router lockstep between recipes and master config, the AGENTS.md-mandated draft_sample_method and no-hardcoded-synthetic-AL rules, and the dram-utilization split, all of which check out. I diverge from this run's own "ruled out" labeling of the pr-link finding: reading validate_perf_changelog.py and prepare_perf_changelog_merge.py directly, PR_LINK_PLACEHOLDERS only contains XXX and the full pull/XXX URL, never TBD, and every other historical entry in perf-changelog.yaml uses XXX, so this looks like a genuine, narrow mergeability snag rather than a false alarm, which is why I'm flagging it for a human rather than approving outright.

This review covers commit 67b9636, which is no longer the latest commit on this pull request; later commits are not covered by it.

@Ankur-singh

Copy link
Copy Markdown
Collaborator

/use 36532730736

@Ankur-singh

Copy link
Copy Markdown
Collaborator

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

  • 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. Please link to GitHub Action workflow that shows this.
  • Verified that this PR passes evals. Please link to GitHub Action workflow that shows this.
  • 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. 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
  • 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
  • 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 single-node vLLM/SGLang recipe in this PR is documented in the official vLLM recipes and/or the SGLang cookbook:
    • I linked the corresponding upstream PR in the vLLM recipe repo or SGLang repo 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:

  • Assessed head: 252d522b1db9535517de7b195cb87794fdf790a1. Run Sweep 36532730736, attempt 2 passed all 9 throughput jobs and 5 GSM8K eval jobs; strict accuracy 97.27–97.73%, above the 91% DSv4 floor.
  • AgentX uses /v1/chat/completions. DSpark K=6, probabilistic sampling, thinking_on: the connector selects golden AL 3.77 from the committed curve; eval-only runs use real verification without synthetic overrides.
  • Draft: the embedded DSpark head (mtp.*) supplied with deepseek-ai/DeepSeek-V4-Pro-0813. The published checkpoint uses mixed precision (FP4 experts, FP8 quantized weights, BF16 base dtype); the submission uses the pinned upstream image's default draft handling, with no explicit draft quantization, dtype override, alternate draft checkpoint, or draft patch. The effective draft precision is therefore the upstream default for that checkpoint. SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is not enabled; this is a vLLM submission.
  • Upstream image: vllm/vllm-openai:nightly-dev-arm64-cu13.0.1-20ebb28, with Dynamo 1.6.0.dev20260923; no submission-side engine patches or model-architecture changes. This refreshes an existing upstream vLLM lane. The single-node upstream-recipe requirement is N/A: all affected entries use multinode: true and recipes under benchmarks/multi_node/, including the aggregated points. append-only: true is not used.
  • Pareto: the affected GB300 / DeepSeek-V4-Pro-0813 / AgentX / Dynamo-vLLM FP4 curve has 4 frontier points out of 9 measured points using P90 E2EL versus total throughput per chip (c128, c512, c1024, c1152). Measured performance. Below the five-point recommendation: core maintainer review and a recorded admin bypass are required before merge.
  • Reuse: requested via /use 36532730736 before this sign-off. The PR currently has merge conflicts; this sign-off applies to the assessed SHA above.

Signed: Ankur-singh

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

⚠️ Verdict: WARN ⚠️

⚠️ Pareto coverage needs additional review: @functionstackx @cquil11 @Oseltamivir @adibarra. At least 5 points per affected throughput-versus-E2EL frontier are highly recommended. Below 5, or when coverage cannot be verified, merge only with an explicit, recorded admin bypass for the assessed commit; this advisory comment does not grant or enforce a bypass.

⚠️ Check 14 (Pareto coverage): WARN — GB300 / dsv4 / AgentX / dynamo-vllm FP4 / vllm/vllm-openai:nightly-dev-arm64-cu13.0.1-20ebb28 P90-E2EL curve has 4/5 measured frontier points (c128, c512, c1024, c1152 of 9 measured; pareto_coverage helper reproduces 4) from the bmk_agentic_* artifacts of run 36532730736, attempt 2 at 252d522b. Admin bypass not verified: no admin exception comment exists on the PR (the signer has write, not admin). An explicit admin bypass for this SHA and curve is required before merge.

Passed and not applicable checks

✅ Check 0 (CODEOWNER): PASS — @Ankur-singh is listed on inferencex-e2e/configs/nvidia-master.yaml (login match is case-insensitive); other changed paths fall only under the * catch-all.

✅ Check 1 (Sweep on in-PR commit): PASS — the only PR commit, 252d522b, has all 9 multi-node agentic / throughput jobs (including canary TP8 c1) and all 5 multi-node agentic eval / jobs at success in run 36532730736. The PR head has not moved.

✅ Check 2 (Evals): PASS — GSM8K em_strict is 97.27–97.73% across all 5 eval configs (n=1319 each), above the dsv4 0.91 threshold, using the same model and vllm/vllm-openai:nightly-dev-arm64-cu13.0.1-20ebb28 image.

➖ Check 3 (Upstream recipe): N/A — disaggregated/multi-node submission; the recipe-link requirement applies to single-node recipes only (both entries are multinode: true and every recipe is under benchmarks/multi_node/srt-slurm-recipes/).

✅ Check 4 (Reuse command): PASS — COLLABORATOR Ankur-singh posted /use 36532730736.

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

✅ Check 6 (Upstream image / engine-first): PASS — both entries are dynamo-vllm on upstream vllm/vllm-openai:nightly-dev-arm64-cu13.0.1-20ebb28, and they are themselves the vLLM lane for dsv4 on GB300.

✅ Check 7 (Deprecated models): PASS — dsv4 agentic coding, including the DSpark arm, is active in MODELS.md as of 2026-10-01.

✅ Check 8 (No architecture hacks / event publication): PASS — no --hf-overrides or config edits, and no layer, expert or head trimming. publish_events_and_metrics is a TRT-LLM-only backend key at the pinned srt-slurm 0b37c791 (the vLLM backend uses kv_events_config), so it does not apply here. Informational: the frontend sets DYN_FRONTEND_ENABLE_KV_EVENTS: "0", which is a different setting.

✅ Check 9 (Chat template for spec-decode): PASS — srt_agentic.sh replays traces with --apply-chat-template against the /v1/chat/completions route.

✅ Check 10 (No engine patches): PASS — no patches, heredoc rewrites, setup_script, or engine wheel installs. The earlier vllm-container-deps.sh setup script is removed. Dynamo is installed from the official 1.6.0.dev20260923 wheel.

✅ Check 11 (Agentic golden AL): PASS — recipes keep real verification. The throughput job logs show the connector injecting "rejection_sample_method": "synthetic" with "synthetic_acceptance_length": 3.77, which equals dsv4-pro-0813-dspark.yaml thinking_on K=6. Eval-only runs stay real.

➖ Check 12 (Append-only): N/A — the new changelog entry has no append-only: true.

✅ Check 13 (Draft as shipped): PASS — the draft is the embedded DSpark head of deepseek-ai/DeepSeek-V4-Pro-0813 (BF16 base dtype, block-FP8 quant config, FP4 experts), loaded with vLLM's default handling. The recipes set no draft quantization, draft dtype override, or alternate draft path. The FP8 KV cache and mxfp4 indexer KV setting apply to target and draft alike. SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE does not apply to this vLLM recipe and is unset.

Assessed commit: 252d522b1db9535517de7b195cb87794fdf790a1.

@cquil11

cquil11 commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

/stage-results 36532730736

@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

@cquil11 staged run 36532730736: https://inferencemax-app-git-staging-semianalysisai.vercel.app/inference?i_dates=2026-09-29~r36532730736

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

Comment on lines +51 to +60
ETCD_LEASE_TTL: "120"
DYN_ROUTER_TEMPERATURE: "0"
DYN_TOKENIZER_CACHE: "1"
DYN_TOKENIZER_CACHE_BYTES: "8000000000"
DYN_TOKENIZER: "fastokens"
DYN_TCP_REQUEST_TIMEOUT: "30"
DYN_REQUEST_PLANE: "tcp"
DYN_FRONTEND_ENABLE_KV_EVENTS: "0"
DYN_LOGGING_JSONL: "false"
OTEL_EXPORT_ENABLED: "false"

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.

can u add the generic ones to vllm recipes

@richardhuo-nv richardhuo-nv Oct 2, 2026 •

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.

adding these will beneficial for agentic workloads.

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.

no, generic ones is not optimal

Comment on lines 62 to -69
router-mode: "kv"
router-reset-states: true
router-temperature: 0.0
router-queue-threshold: 65536
router-session-affinity-ttl-secs: "14400"
active-decode-blocks-threshold: "None"
active-prefill-tokens-threshold: "None"
active-prefill-tokens-threshold-frac: "None"
tokenizer: "fastokens"

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.

can u add these args

Image

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.

Is this a hard requirement for using the configs from the vllm website's recipes?

I think customizations for different workloads and concurrencies is often needed.

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.

generally any flags/env vars that helps for most agentic workloads we request to add to vllm recipes

for example kvcache aware dynamo routing probably should be set rather than round robin

router-mode: "kv"

MC_STORE_CLIENT_METRIC_INTERVAL: "5"
MC_TE_METRIC: "0"
args:
kv-transfer-config: '{"kv_connector":"MultiConnector","kv_role":"kv_both","kv_connector_extra_config":{"connectors":[{"kv_connector":"NixlConnector","kv_role":"kv_both","kv_load_failure_policy":"fail","kv_buffer_device":"cuda","kv_connector_extra_config":{"enforce_handshake_compat":false,"enable_cross_layers_blocks":false}},{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"enable_cross_layers_blocks":false,"enable_offload":false}}]}}'

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.

@cquil11

cquil11 commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

lgtm after recipe changes
CleanShot 2026-10-01 at 14 54 16

richardhuo-nv and others added 3 commits October 2, 2026 15:38
…-agentx-dspark-refresh

# Conflicts:
#	inferencex-e2e/perf-changelog.yaml
… c384

Swap the 1p1d DEP4/DEP16 c256 disagg point for 1p1d DEP8/DEP16 c384:
DEP8 prefill (max-num-seqs 128, max-num-batched-tokens 16384) and DEP16
decode at 48 sequences per rank with CUDA graphs up to 336.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…P8/DEP16 c384"

Restore the 1p1d DEP4/DEP16 c256 override.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Ankur-singh

Copy link
Copy Markdown
Collaborator

Closing this as superseded by #3738, which replaces the same GB300 DeepSeek-V4 vLLM AgentX configuration (rebased onto current main). Further discussion, including the vLLM recipes request from the review above, continues there.

中文

此 PR 已被 #3738 取代(#3738 替换了相同的 GB300 DeepSeek-V4 vLLM AgentX 配置,并已基于当前 main)。后续讨论(包括上方评审中关于 vLLM recipes 的要求)请在 #3738 中继续。

@Ankur-singh Ankur-singh closed this Oct 8, 2026
@Oseltamivir
Oseltamivir deleted the rihuo/dsv4-gb300-vllm-agentx-dspark-refresh branch October 18, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants