Skip to content

[B200] serve the NVFP4-V2 checkpoint for the Qwen3.5 FP4 key / [B200] Qwen3.5 FP4 配置改用 NVFP4-V2 checkpoint - #4066

Merged
edwingao28 merged 18 commits into
mainfrom
fix/qwen35-fp4-b200-nvfp4-v2
Nov 8, 2026
Merged

edwingao28 merged 18 commits into
mainfrom
fix/qwen35-fp4-b200-nvfp4-v2

Conversation

@edwingao28

@edwingao28 edwingao28 commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

qwen3.5-fp4-b200-sglang-agentic-mtp cannot start on B200. srtctl fails with Model path does not exist because the nvidia/Qwen3.5-397B-A17B-NVFP4 directory was removed from the B200 node-local model volume on 2026-10-13 at NVIDIA SRE's request. The published B200 SGLang FP4 AgentX curve is from 2026-08-03 and has no measured power on any of its 32 points.

Changes:

  • qwen3.5-fp4-b200-sglang-agentic-mtp (configs/nvidia-master.yaml): model is now nvidia/Qwen3.5-397B-A17B-NVFP4-V2.
  • Same key: image is now lmsysorg/sglang:v0.5.19-cu130, because v0.5.16 loads V2 but hangs while capturing the target prefill CUDA graph at 16384 tokens (canary 38618495491, 2 h health timeout).
  • qwen3.5/sglang/b200-fp4-mtp/agentic.yaml: served-model-name matches the V2 checkpoint.
  • perf-changelog.yaml: one block for this key.
  • Topology, speculative mode, concurrency points and eval coverage are unchanged.

Results: B200, lmsysorg/sglang:v0.5.19-cu130, NVFP4-V2, source 8a287b21d. The baseline is the published curve (2026-08-03, v0.5.16, V1 checkpoint).

Run Jobs Points with power_valid Peak output throughput (tok/s/GPU), published → PR Max median interactivity (tok/s/user), published → PR Avg power per GPU (W) gsm8k, TP4 c72
42278371910, attempt 2 44 passed, 0 failed 32/32 632 → 627 483 → 505 299 to 864 0.977 ± 0.004 (1319 questions)
  • Attempt 1 failed one job (TP4 c24) when the aiperf client got Hugging Face 429 Too Many Requests while loading the trace dataset. Attempt 2 reran it and the 30 jobs fail-fast had cancelled.
  • The median per-point change against the published curve is +3% output throughput per GPU and +1% interactivity.
  • The five TP4 HiCache points (c64 to c72) are slower: output throughput per GPU drops 20% to 44% and interactivity drops 38% to 77%.
  • The likely cause is HiCache sizing. On v0.5.19, hicache-size is the per-rank total of the KV and Mamba host pools, but the recipe's 103 was sized per pool. Host KV per rank drops from 144 GB to 61 GB (server logs), and the server cache hit rate falls (0.52 → 0.27 at c72).
  • TP2 HiCache c32 dominates all five in both curves, so they are off the Pareto frontier.
  • On total throughput per GPU, the frontier drops 23% to 48% between interactivity 297 and 380 tok/s/user. The published TP4 c20 and c28 points reported higher interactivity than c16 (386 and 380 against 355); this run measures 330 and 256. On output throughput the frontier does not drop.

Testing:

  • curve_coverage.py --run 42278371910 --pr 4066: PASS. The B200 SGLang FP4 AgentX curve goes from 32 to 32 points, with none lost.
  • Run preflight: every server loaded nvidia/Qwen3.5-397B-A17B-NVFP4-V2, with no weight-load warnings and no errors.
  • validate_perf_changelog passes at the head. infx.matrix.changed --base origin/main lists only this key.
  • infx.matrix.changed --base 8a287b21d does not list this key, so its 32 points are the same at the head as in the tested run.

Limits: this PR keeps main's hicache-size: 103, which this run measured. Resizing it for v0.5.19's per-rank total is left to a follow-up PR, which reruns this curve.

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, an authorized maintainer (OWNER/MEMBER/COLLABORATOR) 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.

@edwingao28
edwingao28 requested a review from a team October 14, 2026 18:04
edwingao28 added a commit that referenced this pull request Oct 14, 2026
中文:changelog 条目指向 PR #4066。
@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.

I reviewed this PR and didn't find any bugs. Because the changed paths (nvidia-master.yaml and the b200-* srt-slurm recipes) are CODEOWNER-owned, a human/CODEOWNER look would still be worthwhile.

What was reviewed: the three recipe served-model-name/served_model_name edits and their paired model: updates in nvidia-master.yaml for the matching config-keys, and the new append-only perf-changelog.yaml tail entry covering all three keys.

Extended reasoning...

The diff is a mechanical checkpoint rename (NVFP4 to NVFP4-V2) across three Qwen3.5 B200 recipe YAMLs, the matching nvidia-master.yaml entries, and one new perf-changelog.yaml tail entry; no code logic, auth, or security-sensitive surface is touched. The recipe files and nvidia-master.yaml fall under explicit CODEOWNERS entries requiring sign-off from specific named owners, which is the deciding factor for deferring rather than approving outright. The changelog entry's pr-link is still the literal placeholder https://github.com/SemiAnalysisAI/InferenceX/pull/TBD, which does not match the validator's allowed placeholder set (only "XXX" or pull/XXX), so it will fail CI until replaced with a real PR link or an accepted placeholder — this is a pre-existing finding already surfaced, not new information.

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

@edwingao28 edwingao28 added the full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) label Oct 14, 2026
edwingao28 added a commit that referenced this pull request Oct 14, 2026
中文:changelog 条目指向 PR #4066。
@edwingao28
edwingao28 force-pushed the fix/qwen35-fp4-b200-nvfp4-v2 branch from 907a82a to 03c4f78 Compare October 14, 2026 18:49
@github-actions

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

edwingao28 added a commit that referenced this pull request Oct 14, 2026
中文:changelog 条目指向 PR #4066。
@edwingao28
edwingao28 force-pushed the fix/qwen35-fp4-b200-nvfp4-v2 branch from 03c4f78 to 482d5b8 Compare October 14, 2026 21:20
The original nvidia/Qwen3.5-397B-A17B-NVFP4 directory was removed from the
B200 node-local model volume on 2026-10-13, so these keys failed at srtctl
startup with Model path does not exist.

中文:Qwen3.5 FP4 B200 的三个 key 改用 NVFP4-V2 检查点。原 NVFP4 目录已于
2026-10-13 从 B200 节点本地模型卷删除,导致 srtctl 启动时报 Model path does not exist。
中文:changelog 条目指向 PR #4066。
v0.5.16 loads the NVFP4-V2 checkpoint but hangs while capturing the prefill CUDA graph; v0.5.19 captures it on V2 (fixed-sequence run 38520807831).

中文:Qwen3.5 FP4 B200 agentic key 改用 SGLang v0.5.19。v0.5.16 能加载 NVFP4-V2 但在捕获 prefill CUDA graph 时卡死,v0.5.19 已在 V2 上完成捕获。
TensorRT-LLM 1.3.0rc18 cannot load the mixed-precision V2 export (model creation exhausts the 178 GiB B200 at TP2); the two TRT-LLM keys keep their current configuration for a separate image bump.

中文:NVFP4-V2 迁移仅保留 Qwen3.5 FP4 B200 SGLang agentic key。TensorRT-LLM 1.3.0rc18 无法加载混合精度的 V2 导出(TP2 下模型创建即耗尽 178 GiB),两个 TRT-LLM key 保持原配置,另行升级镜像。
@edwingao28
edwingao28 force-pushed the fix/qwen35-fp4-b200-nvfp4-v2 branch from 482d5b8 to 6b3573f Compare October 15, 2026 03:41
…eep]

合并 main 并重新追加本 PR 的 changelog 条目 [skip-sweep]
@edwingao28

Copy link
Copy Markdown
Collaborator Author

/use 38677603097

@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

@edwingao28 staged run 38677603097.

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

edwingao28 and others added 5 commits October 16, 2026 15:56
[skip-sweep]

中文:合并 main,并把本 PR 的 perf-changelog 条目重新追加到末尾。
[skip-sweep]

中文:将 main 合并到 Qwen3.5 FP4 B200 NVFP4-V2 分支。
@edwingao28 edwingao28 removed the full-sweep-fail-fast Full sweep with canary gate; first failure cancels the rest of that matrix (recommended) label Nov 6, 2026
@edwingao28 edwingao28 changed the title [B200] serve the NVFP4-V2 checkpoint for the Qwen3.5 FP4 keys / [B200] Qwen3.5 FP4 配置改用 NVFP4-V2 checkpoint [B200] serve the NVFP4-V2 checkpoint for the Qwen3.5 FP4 key / [B200] Qwen3.5 FP4 配置改用 NVFP4-V2 checkpoint Nov 7, 2026
@edwingao28

Copy link
Copy Markdown
Collaborator Author

/use 42278371910

@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

@edwingao28 staging run 42278371910. InferenceX-app staging workflow is now running. Existing staged runs will be preserved; this comment will be updated when staging completes.

@edwingao28
edwingao28 merged commit 749aeb5 into main Nov 8, 2026
29 checks passed
@edwingao28
edwingao28 deleted the fix/qwen35-fp4-b200-nvfp4-v2 branch November 8, 2026 22:15
@github-actions

github-actions Bot commented Nov 8, 2026

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 32 0 32 0 0
eval 1 1 1 0 0
trace 32 0 0 0 0
power 32 0 0 0 0

benchmarkFiles 33, rawBenchmarkRows 64, coveredByPerJobFiles 32, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 1319, gpuMetricSamplesNew 492716, powerPublicationPoints 32, 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-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.

1 participant