Skip to content

[NVIDIA] Qwen3.5 H200 FP8 SGLang AgentX: FA3/MTP HiCache points on the 2026-11-03 nightly / [NVIDIA] Qwen3.5 H200 FP8 SGLang AgentX:基于 2026-11-03 nightly 的 FA3/MTP HiCache 测试点 - #5236

Merged
Oseltamivir merged 5 commits into
mainfrom
qwen35-h200-fp8-sglang-agentx
Nov 26, 2026
Merged

Oseltamivir merged 5 commits into
mainfrom
qwen35-h200-fp8-sglang-agentx

Conversation

@hshrivastava-droid

@hshrivastava-droid hshrivastava-droid commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Updates qwen3.5-fp8-h200-sglang-agentic-hicache-mtp (Qwen3.5-397B-A17B FP8 on H200, SGLang, MTP, DRAM HiCache) to lmsysorg/sglang:nightly-dev-20261103-797af717@sha256:ccf61cf0… (from nightly-dev-20261021-c1c287a4) and re-tunes its AgentX points:

  • Points: TP8/EP1 at concurrency 1, 2, 4, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56 and 64 (adds 1, 40, 56 and 64), plus TP4/EP4 at 12. The TP4/EP4 concurrency-8 point is dropped.
  • Per-point overrides: TP8 points other than 2 and 10 use the FA3 attention backend with 4, 5 or 6 MTP draft steps by concurrency. They also tune prefill-decode-interval, HiCache size (77 or 144 GB) and write policy, and max-mamba-cache-size at 64.
  • New agentic-fa3-variants.yaml: holds the concurrency 1, 8, 12 and 16 points with SGLANG_ENABLE_NV_MEGA_RUNTIME_OPTIMIZATION. 8, 12 and 16 also use the MNNVL FlashInfer all-reduce fusion backend.
  • Environment: selected points enable SGLang's SGLANG_OPT_* and SGLANG_Q35MF_* optimizations, all defined in the pinned image's environ.py. There are no engine patches. Stream interval is 50. Speculative acceptance is simulated at the committed golden AL (3.39, 3.97, 4.41 and 4.80 for 3, 4, 5 and 6 MTP steps, thinking on).
  • Recipe: covered by the merged SGLang cookbook PR [Doc] cookbook: Refresh SemiAnalysis AgentX launches to InferenceX main ad39ddd2 sgl-project/sglang#53052 (Qwen3.5 agentic section).

Validation: run 45715126870 on d7862e6 passed with all 15 points and 4 gsm8k evals (EM strict 0.976–0.980), and /use 45715126870 is posted. 8 points are on the throughput vs p90 E2EL frontier. p90 TTFT is under 5 s at every point except TP8 c16 (5.76 s), which is off the frontier (TP8 c20 has higher throughput and lower E2EL and TTFT). The only later commit, e7df16b, changes the changelog description text alone.

Validation details
Point Output tok/s/GPU p90 TTFT (s) p90 E2EL (s)
TP8 c1 26.1 0.66 5.96
TP8 c2 24.2 1.08 11.21
TP8 c4 38.2 0.62 5.94
TP8 c8 55.7 1.02 5.93
TP8 c10 60.8 1.10 12.47
TP8 c12 81.2 2.75 6.97
TP8 c16 100.8 5.76 10.39
TP8 c20 122.6 1.35 9.79
TP8 c24 141.6 0.96 11.05
TP8 c32 171.7 0.99 14.72
TP8 c40 213.1 1.41 17.74
TP8 c48 209.3 2.62 34.30
TP8 c56 272.3 2.58 28.81
TP8 c64 281.3 4.24 41.36
TP4/EP4 c12 122.6 1.98 20.39

gsm8k evals: c16 0.9765, c20 0.9803, c48 0.9788, c64 0.9765 (EM strict, n=1319). Every eval is within noise of its same-run siblings and the ingested Qwen3.5 FP8 cohort.

AI model disclosure
  • Model/version: Claude Opus 5.5 (claude-opus-5-5, via Claude Code), used by the CODEOWNER reviewer. The model used for the original config commit 4d5230a is not recorded in this PR; the author can add it.
  • Role: Claude dropped the TP4/EP4 concurrency-8 point (504cae2), merged main with the repository's changelog conflict helper (d7862e6), expanded the changelog description (e7df16b), and rewrote this title and description from the sweep results.
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, agentx-fast, and evals-last require a primary label; evals-only and agentx-fast 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.
中文

将 qwen3.5-fp8-h200-sglang-agentic-hicache-mtp(H200 上的 Qwen3.5-397B-A17B FP8,SGLang,MTP,DRAM HiCache)更新到 lmsysorg/sglang:nightly-dev-20261103-797af717(原为 nightly-dev-20261021-c1c287a4),并重新调优 AgentX 测试点:

  • 测试点: TP8/EP1 并发 1、2、4、8、10、12、16、20、24、32、40、48、56、64(新增 1、40、56、64),以及 TP4/EP4 并发 12;移除 TP4/EP4 并发 8。
  • 逐点覆盖配置: 除并发 2 和 10 外,TP8 测试点使用 FA3 注意力后端,并按并发使用 4、5 或 6 个 MTP 草稿步数;同时调整 prefill-decode-interval、HiCache 大小(77 或 144 GB)与写策略,并发 64 设置 max-mamba-cache-size。
  • 新增 agentic-fa3-variants.yaml: 包含并发 1、8、12、16,启用 SGLANG_ENABLE_NV_MEGA_RUNTIME_OPTIMIZATION;并发 8、12、16 还使用 MNNVL FlashInfer all-reduce 融合后端。
  • 环境变量: 部分测试点启用 SGLang 的 SGLANG_OPT_* 与 SGLANG_Q35MF_* 优化,均已在所固定镜像的 environ.py 中定义;未修改引擎。stream interval 为 50。推测解码接受长度按已提交的 golden AL 模拟(3、4、5、6 步对应 3.39、3.97、4.41、4.80,开启 thinking)。
  • 配方: 已由合并的 SGLang cookbook PR [Doc] cookbook: Refresh SemiAnalysis AgentX launches to InferenceX main ad39ddd2 sgl-project/sglang#53052 覆盖。

验证: run 45715126870(d7862e6)中 15 个测试点和 4 个 gsm8k 评测全部通过(EM strict 0.976–0.980),已发布 /use 45715126870。吞吐量-p90 E2EL 前沿上有 8 个测试点。除 TP8 并发 16(p90 TTFT 5.76 s,不在前沿上,被 TP8 并发 20 支配)外,所有测试点的 p90 TTFT 均低于 5 s。之后唯一的提交 e7df16b 只修改了 changelog 描述文字。

AI 模型使用说明: CODEOWNER 审阅者通过 Claude Code 使用 Claude Opus 5.5(claude-opus-5-5):移除 TP4/EP4 并发 8 测试点(504cae2),用仓库的 changelog 冲突工具合并 main(d7862e6),扩充 changelog 描述(e7df16b),并根据测试结果重写标题与说明。原始配置提交 4d5230a 所用模型未在本 PR 中记录,作者可补充。

@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, agentx-fast, and evals-last 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 和 evals-last 必须与主标签一起使用。fork PR 的标签由维护者添加。参见扫描标签与复用。
  • **合并后:**PR 作者必须确保所有 GitHub Actions 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

@hshrivastava-droid hshrivastava-droid added the full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures label Nov 25, 2026

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

Besides the inline findings, I checked that every srt-recipe override named in the updated nvidia-master.yaml rows exists in the recipe file it points to. Each one sets a CONC that matches its row's conc-list. I also checked that the perf-changelog.yaml block is a single entry added only at the end of the file. I found no problems with either.

Extended reasoning...

This change edits one Qwen3.5 H200 SGLang AgentX config key: the image digest and search space in nvidia-master.yaml, overrides in two srt-slurm recipe files, and one perf-changelog block. It touches no security-sensitive code. Each new override reference was matched against its definition and CONC value.

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

@nvpohanh

Copy link
Copy Markdown
Collaborator

[by Claude Code] The SGLang cookbook integration of this PR's AgentX configs (qwen3.5-fp8-h200-sglang-agentic-hicache-mtp, qwen3.5-fp8-h200-sglang-agentic-mtp) will happen in sgl-project/sglang#53052, in the Agentic Long-Context Deployment section of the Qwen3.5 cookbook page.

This PR has no authorized /use <run_id> comment yet, so the cookbook shows the recipe at this PR's head (4d5230ad9) 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#53052 has been merged. This PR's AgentX configs (qwen3.5-fp8-h200-sglang-agentic-hicache-mtp, qwen3.5-fp8-h200-sglang-agentic-mtp) are now in the Agentic Long-Context Deployment section of the SGLang Qwen3.5 cookbook: https://docs.sglang.io/cookbook/autoregressive/Qwen/Qwen3.5#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 (4d5230ad9) 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 25, 2026 •

Copy link
Copy Markdown
Contributor

Remove the TP4/EP4 c8 row from qwen3.5-fp8-h200-sglang-agentic-hicache-mtp
and note the removal in this PR's perf-changelog entry. The TP4/EP4 c12
point and all TP8 points are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hshrivastava-droid hshrivastava-droid added full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures and removed full-sweep-enabled Full sweep with canary gate; matrix jobs run to completion despite failures labels Nov 25, 2026
…g-agentx

# Conflicts:
#	inferencex-e2e/perf-changelog.yaml
@Ankur-singh

Copy link
Copy Markdown
Collaborator

[by Claude Code]
/use 45715126870

Expand this PR's perf-changelog description with the point list, the
FA3/MTP per-point overrides, the new agentic-fa3-variants.yaml points and
the SGLang environment optimizations. Description text only: no config,
recipe or point changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Ankur-singh Ankur-singh changed the title [NVIDIA] Qwen3.5 H200 FP8 SGLang AgentX [NVIDIA] Qwen3.5 H200 FP8 SGLang AgentX: FA3/MTP HiCache points on the 2026-11-03 nightly / [NVIDIA] Qwen3.5 H200 FP8 SGLang AgentX:基于 2026-11-03 nightly 的 FA3/MTP HiCache 测试点 Nov 26, 2026
@Ankur-singh

Ankur-singh commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

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. 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; 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_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
  • 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 main or master (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 vLLM recipe repo or SGLang cookbook source 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 e7df16b. Validation: run 45715126870 (attempt 1, d7862e6) passed all 15 points and 4 gsm8k evals; /use 45715126870 is posted. The only later commit, e7df16b, edits the perf-changelog description text and changes no config, recipe or point.
  • Evals: gsm8k EM strict is 0.9765 at TP8 c16, 0.9803 at c20, 0.9788 at c48 and 0.9765 at c64 (n=1319), all within noise of same-run siblings and the Qwen3.5 FP8 cohort.
  • Draft precision: Qwen/Qwen3.5-397B-A17B-FP8 (rev ea5b4f81) ships its MTP head block-FP8 (128x128) like the target, with mtp.fc and the MTP router and shared-expert gates in modules_to_not_convert (BF16). The recipe serves it as shipped through the image's default quantization: fp8 handling, with no draft dtype override or substituted head. Draft KV is FP8, inherited from the target's KV dtype. SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is unset (default False in the pinned image).
  • Golden AL: the harness injects SGLANG_SIMULATE_ACC_LEN 3.39, 3.97, 4.41 and 4.80 for 3, 4, 5 and 6 MTP steps (match-expected, real-draft-token), which is the qwen3.5 thinking_on golden curve. The client is chat completions with thinking on.
  • Image: lmsysorg/sglang:nightly-dev-20261103-797af717@sha256:ccf61cf0…, an official upstream nightly whose commit 797af717 is an ancestor of sglang main. SGLang only, so engine-first ordering is satisfied. Dynamo TRT-LLM metrics item: N/A (direct SGLang). Not append-only.
  • Recipe: sgl-project/sglang#53280 (MERGED) pins this config's lanes in the Qwen3.5 agentic section to run 45715126870 (d7862e6) as verified, and removes the dropped TP4/EP4 c8 point. It builds on sgl-project/sglang#53052 (MERGED), which added the base command and per-point patches. The live page shows the run. No engine patches: every SGLANG_OPT_* and SGLANG_Q35MF_* variable is defined in the pinned environ.py.
  • Pareto: 1 curve (qwen3.5 / agentic-coding / h200 sglang / fp8, p90 E2EL vs tput/GPU). pareto_coverage counts 15 measured points and 8 on the frontier (TP8 c8, c12, c20, c24, c32, c40, c56, c64). All 12 removed old-image points are dominated or were unmeasured (TP4/EP4 c8, dropped deliberately).
  • Architecture: no hf-overrides; FP8 KV is unchanged from the base; qwen3.5 is grandfathered for integer all-reduce on this CUDA path. Stream interval 50 at every point. p90 TTFT is under 5 s everywhere except TP8 c16 (5.76 s), which is off the frontier (dominated by TP8 c20).
中文
  • 审阅 head 为 e7df16b。验证:run 45715126870(d7862e6)中 15 个测试点和 4 个 gsm8k 评测全部通过,已发布 /use 45715126870;之后的 e7df16b 只修改 changelog 描述文字。
  • 评测:gsm8k EM strict 为 0.976–0.980,均在同轮与同类结果的误差范围内。
  • 草稿精度:Qwen/Qwen3.5-397B-A17B-FP8 的 MTP 头与目标模型一样以 block-FP8 发布(mtp.fc 与门控保持 BF16),按镜像默认的 quantization: fp8 原样服务;草稿 KV 继承目标模型的 FP8;未启用 SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE。
  • 接受长度按 qwen3.5 thinking_on golden 曲线模拟;镜像为上游官方 nightly(797af717 属于 sglang main);配方已由合并的 [Doc] cookbook: Pin the Qwen3.5 H200 AgentX lanes of InferenceX #5236 to its measured run sgl-project/sglang#53280 覆盖(固定到 run 45715126870,移除 TP4/EP4 并发 8;基于已合并的 #53052);未修改引擎。
  • Pareto:15 个测试点中 8 个位于前沿;移除的旧镜像测试点均被支配或未测得。除 TP8 并发 16(5.76 s,不在前沿上)外,p90 TTFT 均低于 5 s。

Signed: Ankur-singh

[by Claude Code]

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Verdict: WARN ⚠️

⚠️ Check 18 (Recipe consistency): WARN — Compared with the last old-image sweep (run 40040595183, fad84b2, nightly-dev-20261021-c1c287a4), re-tuned points in run 45715126870 (d7862e6) regress more than 10% on p90 dashboard x axes: TP8 c8 TTFT 0.65→1.02 s (+56%) and E2E norm. interactivity 161.7→141.7 (−12.4%); TP8 c12 TTFT 0.72→2.75 s (+284%) and E2E norm. interactivity 124.4→69.1 (−44.5%); TP8 c16 TTFT 1.28→5.76 s (+351%) and E2E norm. interactivity 55.9→37.0 (−33.8%); TP8 c24 TTFT 0.86→0.96 s (+11.8%). Throughput and p90 E2EL improve at these points. The facts report listed no regressions only because it had no old-image measurements. Every other requirement passes: all overrides resolve (c2/c10 → override_hicache_ep1, TP4 c12 → override_hicache_tp4_c12), master and recipe TP/EP agree, the digest resolves, stream interval is 50 at every point, and the dropped TP4/EP4 c8 point (9314 tok/s/GPU) is dominated by TP8 c16 (11681 tok/s/GPU, mean interactivity 379).

Passed and not applicable checks

✅ Check 0 (CODEOWNER): PASS — @ankur-singh is listed for nvidia-master.yaml and srt-slurm-recipes/**/h200-*/; perf-changelog.yaml falls under the catch-all.

✅ Check 1 (In-PR sweep + evals): PASS — In-PR commit d7862e6 has all 15 agentic points and 4 agentic eval / jobs at success in run 45715126870 (attempt 1). The only later commit, e7df16b ([skip-sweep]), changes only the changelog description text, which is non-material.

✅ Check 2 (Eval accuracy): PASS — gsm8k EM strict is 0.9765, 0.9803, 0.9788 and 0.9765 at TP8 c16/c20/c48/c64 (n=1319) on the 797af717 image. Every gap is within 2σ of the best sibling and of the exact ingested cohort (run 40040595183, 0.9788).

✅ Check 3 (Upstream recipe): PASS — sgl-project/sglang#53280 (MERGED 2026-11-26) and #53052 (MERGED 2026-11-25). The Qwen3.5 cookbook AgentX data covers the args, env and image digest of all 15 points. Only harness settings (enable-metrics, simulated acceptance) are excluded.

✅ Check 4 (Reuse command): PASS — /use 45715126870 was posted on its own line by Ankur-singh (write/write).

✅ Check 5 (Latest template): PASS — All 20 current template items are present and checked.

✅ Check 6 (Upstream image): PASS — The image is lmsysorg/sglang (SGLang only, so engine-first ordering does not apply). Commit 797af7170f34 is an ancestor of sglang main, built by the scheduled main release-docker-dev.yml nightly.

✅ Check 7 (Deprecated models): PASS — qwen3.5 agentic coding (fp8) is active in MODELS.md as of 2026-11-26.

✅ Check 8 (Architecture hacks): PASS — There are no hf-overrides or quick-reduce settings. The SGLANG_OPT_*, SGLANG_Q35MF_* (aliases) and NV_MEGA env vars are graph-capture, copy, sync and launch optimizations, and the compact verify sampling is lossless. qwen3.5 is grandfathered for integer all-reduce, and this CUDA path uses none.

✅ Check 9 (Chat template): PASS — The agentx profile client (agentx scenario, AIPerf chat endpoint) replays chat traces with THINKING_MODE=thinking_on.

✅ Check 10 (Engine patches): PASS — No setup script, patch, pip install or source edit is reachable on the single-node srt path. Every env var is defined in the pinned environ.py (SGLANG_ENABLE_SPEC_V2 is a no-op).

✅ Check 11 (Golden AL): PASS — The harness injects SGLANG_SIMULATE_ACC_LEN 3.39/3.97/4.41/4.80 for 3/4/5/6 steps (match-expected, real-draft-token), which matches the qwen3.5 mtp thinking_on golden curve. The c20 log shows 4.8 for 6 steps.

➖ Check 12 (Append-only): N/A — No append-only: true entry.

✅ Check 13 (Draft precision): PASS — The Qwen3.5-397B-A17B-FP8 MTP head ships as block-FP8 (with mtp.fc and the gates BF16), and qwen3_5_mtp.py loads it with the target Fp8Config unchanged. Nothing overrides draft quantization. Draft KV is fp8_e4m3, inherited from the target, which matches the identity's default. SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is unset (default False).

✅ Check 14 (Pareto coverage): PASS — One curve (qwen3.5 / agentic-coding / h200 sglang / fp8 / p90 E2EL): 15 measured points, 8 on the frontier (TP8 c8, c12, c20, c24, c32, c40, c56, c64) per pareto_coverage on run 45715126870 results_bmk.

✅ Check 15 (PR description): PASS — The title, body and changelog claims (image, points, overrides, env vars, AL values, frontier count, TTFT note, validation run) match the pinned code and run evidence.

✅ Check 16 (NVIDIA overview): PASS — The Framework Recipes table in the NVIDIA overview lists Qwen3.5 with a populated SGLang cell.

➖ Check 17 (Metrics publication): N/A — Direct SGLang, not Dynamo TRT-LLM.

Assessed commit: e7df16bf2d0cf2e502def108618ff60365a70479.

@nvpohanh

Copy link
Copy Markdown
Collaborator

[by Claude Code] The SGLang cookbook update of this PR's AgentX configs (qwen3.5-fp8-h200-sglang-agentic-hicache-mtp, qwen3.5-fp8-h200-sglang-agentic-mtp) will happen in sgl-project/sglang#53390, in the Agentic Long-Context Deployment section of the Qwen3.5 cookbook page. The configs have been live in that section since sgl-project/sglang#53052; sgl-project/sglang#53390 refreshes them with the pin below.

The commands mirror the launch measured in run 45715126870, pinned by this PR's /use comment.

@nvpohanh

Copy link
Copy Markdown
Collaborator

[by Claude Code] sgl-project/sglang#53390 has been merged. This PR's AgentX configs (qwen3.5-fp8-h200-sglang-agentic-hicache-mtp, qwen3.5-fp8-h200-sglang-agentic-mtp) are now in the Agentic Long-Context Deployment section of the SGLang Qwen3.5 cookbook: https://docs.sglang.io/cookbook/autoregressive/Qwen/Qwen3.5#agentic-long-context-deployment

The commands mirror the launch measured in run 45715126870, pinned by this PR's /use comment.

@kedarpotdar-nv

Copy link
Copy Markdown
Collaborator

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. 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; 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_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
  • 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 main or master (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 vLLM recipe repo or SGLang cookbook source 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:

  • Reviewed head e7df16b. Validation: run 45715126870 on in-PR commit d7862e6, all 15 AgentX points and 4 gsm8k evals succeeded (31 success, 0 failed), power valid on every point. /use 45715126870 is posted. The later e7df16b changes only changelog text.
  • Evals: gsm8k EM strict 0.9765 (c16), 0.9803 (c20), 0.9788 (c48), 0.9765 (c64), SE ≈ 0.004, n=1319.
  • Draft precision: the Qwen/Qwen3.5-397B-A17B-FP8 MTP head ships block-FP8 like the target (mtp.fc and gates BF16) and is served as shipped through the image's default fp8 handling. Effective draft precision = shipped precision. Draft KV fp8_e4m3, inherited from the target. SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is not set.
  • Golden AL: SGLANG_SIMULATE_ACC_LEN 3.39 / 3.97 / 4.41 / 4.80 for 3 / 4 / 5 / 6 MTP steps, matching the qwen3.5 MTP thinking_on golden curve. The client is chat completions with thinking on.
  • Image: lmsysorg/sglang:nightly-dev-20261103-797af717@sha256:ccf61cf0…, an official upstream nightly whose commit is on sglang main. SGLang only, so engine-first ordering is N/A. Dynamo TRT-LLM metrics: N/A.
  • Recipe: sgl-project/sglang#53052, #53280 and #53390, all MERGED. Qwen3.5 cookbook agentic section.
  • No engine patches: all SGLANG_OPT_* and SGLANG_Q35MF_* variables exist in the pinned image. No hf-overrides. qwen3.5 is grandfathered for integer all-reduce. Stream interval 50 (≤ 60).
  • Failed requests: 0 on most points; 1 at c32, 2 at c48, 1 at c64.
  • Bot finding 🔴 (host OOM at c40/c56/c64 with hicache-size: 144): refuted by the run, since all three points completed. 🟡 nit: override_hicache_ep1_fa3_k5_c8 in agentic.yaml is now unused and could be deleted.
  • Old-image comparison (verifier Check 18 WARN): throughput and p90 E2EL improve at the re-tuned points. p90 TTFT and interactivity regress at TP8 c8 / c12 / c16. This is acknowledged as a frontier trade-off. c8 and c12 are on the frontier; c16 is not.
  • Before merge, the branch needs a merge of main (currently CONFLICTING, 13 commits behind).

Pareto (total tok/s/GPU vs p90 E2EL), 8 of 15 points on the frontier:

Point tput/GPU p90 E2EL (s) p90 TTFT (s)
TP8 c8 5,566 5.93 1.02
TP8 c12 9,229 6.97 2.75
TP8 c20 14,534 9.79 1.35
TP8 c24 17,132 11.05 0.96
TP8 c32 19,370 14.72 0.99
TP8 c40 22,420 17.74 1.41
TP8 c56 25,868 28.81 2.58
TP8 c64 26,319 41.36 4.24

Off-frontier points: TP8 c1, c2, c4, c10, c16, c48 and TP4/EP4 c12.

Signed: kedarpotdar-nv

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Verdict: WARN ⚠️

⚠️ Check 18 (Recipe consistency): WARN — The image bump makes the tail TTFT worse at some TP8 points compared with the old-image run 40040595183 (nightly-dev-20261021-c1c287a4) versus 45715126870. p90 TTFT: c8 0.653→1.022 s (+56%), c12 0.717→2.749 s (+284%), c16 1.276→5.760 s (+352%), c24 0.862→0.964 s (+12%). p90 E2E-normalized interactivity: c8 161.7→141.7 (−12%), c12 124.4→69.1 (−44%), c16 55.9→37.0 (−34%). Throughput and p90 E2EL are flat or better at every point. The sign-off acknowledges the TTFT regression as a frontier trade-off. Everything else in this check passes: all keys generate, master and recipes agree, and the image digest resolves (the tag has since been pruned from Docker Hub). The dropped TP4/EP4 c8 point (9314 tok/s/GPU, mean intvty 137, run 40040595183 attempt 2) is dominated by TP8 c20 (14534, 291).

Passed and not applicable checks

✅ Check 0 (CODEOWNER): PASS — @kedarpotdar-nv is a listed owner of inferencex-e2e/configs/nvidia-master.yaml and of the srt-slurm-recipes/**/h200-*/ paths. perf-changelog.yaml falls under the catch-all owner.

✅ Check 1 (In-PR sweep + evals): PASS — In-PR commit d7862e6 has run 45715126870: 15/15 agentic / and 4/4 agentic eval / jobs succeeded. The only later commit, e7df16b, changes only the perf-changelog.yaml description, which is non-material. The PR head still equals the pinned SHA.

✅ Check 2 (Evals): PASS — gsm8k EM strict was 0.9765, 0.9803, 0.9788 and 0.9765 (c16/c20/c48/c64, n=1319) on the PR image digest, using the chat-completions endpoint. Every gap is under 2σ against both same-run siblings and the ingested cohort 40040595183.

✅ Check 3 (Upstream recipe): PASS — sglang#53052, #53280 and #53390 are all MERGED. The Qwen3.5 cookbook AgentX data on main lists every point of this H200 config: per-concurrency args, environment variables, the HiCache and mnnvl settings, and TP4/EP4 c12.

✅ Check 4 (Reuse command): PASS — /use 45715126870 was posted on its own line by Ankur-singh (permission write, role write), comment 7183494277.

✅ Check 5 (Latest template): PASS — All 20 items of the current PR_REVIEW_CHECKLIST.md are present and checked.

✅ Check 6 (Upstream image/provenance/ordering): PASS — The image is lmsysorg/sglang pinned by digest. Commit 797af717 is an ancestor of sglang main, and nightly-dev images are built from the default branch. The config is SGLang only, so engine-first ordering does not apply.

✅ Check 7 (Deprecated models): PASS — qwen3.5 agentic coding at fp8 is active in MODELS.md as of 2026-11-26.

✅ Check 8 (No architecture hacks): PASS — There are no hf-overrides or model edits. The SGLANG_OPT_*/Q35MF_* flags are upstream launch-overhead optimizations. This is an NVIDIA H200 path, and qwen3.5 is grandfathered for integer all-reduce.

✅ Check 9 (Chat template): PASS — The aiperf export records endpoint.type: chat with streaming.

✅ Check 10 (No engine patches): PASS — The engine runs as shipped. Every environment variable and argument is defined upstream at 797af717. The only git apply steps target the srt-slurm launcher, and the only pip installs are harness packages.

✅ Check 11 (Golden AL): PASS — The injected SGLANG_SIMULATE_ACC_LEN values (3.39/3.97/4.41/4.8 for 3/4/5/6 steps, match-expected/real-draft-token) match the qwen3.5 MTP thinking_on golden curve. Job logs confirm them.

➖ Check 12 (Append-only): N/A — The new changelog entry does not set append-only: true.

✅ Check 13 (Draft precision): PASS — The Qwen3.5-397B-A17B-FP8 MTP head ships block-FP8, with mtp.fc and the gates in modules_to_not_convert. SGLang inherits the target's fp8 config unchanged. The draft KV cache defaults to the target's fp8_e4m3, which is the framework default; the golden identity records draft_kv_cache_dtype as null/default. SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE is unset and defaults to False.

✅ Check 14 (Pareto coverage): PASS — 8/5 frontier points on the qwen3.5 agentic h200_sglang fp8 p90-E2EL curve, measured from 15 points in run 45715126870. The frontier points are TP8 c8/12/20/24/32/40/56/64.

✅ Check 15 (PR description): PASS — The title, body and changelog match the pinned config: the image, the points added and dropped, the per-point overrides, stream interval 50, the golden AL values and the validation run.

✅ Check 16 (NVIDIA overview): PASS — The Qwen3.5 row in the Framework Recipes table of the NVIDIA overview has a populated SGLang cell linking the cookbook.

➖ Check 17 (Metrics publication): N/A — This is a direct SGLang config, not Dynamo TRT-LLM.

Assessed commit: e7df16bf2d0cf2e502def108618ff60365a70479.

# Conflicts:
#	inferencex-e2e/perf-changelog.yaml
@Oseltamivir
Oseltamivir merged commit 2e894c2 into main Nov 26, 2026
36 checks passed
@Oseltamivir
Oseltamivir deleted the qwen35-h200-fp8-sglang-agentx branch November 26, 2026 23:42
@github-actions

Copy link
Copy Markdown
Contributor

Ingest report — ✅ Results ingested into the production database.

Ingest workflow · Merge Ingest run · Benchmark source run

Category new duplicate skipped unmapped failed
benchmark 15 0 15 0 0
eval 4 4 4 0 0
trace 15 0 0 0 0
power 15 0 0 0 0

benchmarkFiles 16, rawBenchmarkRows 30, coveredByPerJobFiles 15, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 5276, gpuMetricSamplesNew 540536, powerPublicationPoints 15, 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 报告 — ✅ 结果已写入 production 数据库。

上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。

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: Done

Development

Successfully merging this pull request may close these issues.

5 participants