Skip to content

Update DSR1 B200 FP4 SGLang MTP config (image + low-latency search space)#1962

Merged
adibarra merged 8 commits into
mainfrom
dsr1-fp4-b200-sglang-mtp-update
Jul 2, 2026
Merged

Update DSR1 B200 FP4 SGLang MTP config (image + low-latency search space)#1962
adibarra merged 8 commits into
mainfrom
dsr1-fp4-b200-sglang-mtp-update

Conversation

@RohitNagraj

Copy link
Copy Markdown
Collaborator

Updates the dsr1-fp4-b200-sglang-mtp single-node config:

  • Bump the image to lmsysorg/sglang:v0.5.12.post1.
  • Reshape the MTP search space to a low-latency TP4/EP1 lane plus TP4/EP4 (1k/1k: TP4/EP1 c1-32 + TP4/EP4 c64-256; 8k/1k: TP4/EP1 c1-32 + TP4/EP4 DP-attention c64-256).
  • dsr1_fp4_b200_mtp.sh: add the DP-attention path, SGLANG_RADIX_FORCE_MISS=1, --disable-piecewise-cuda-graph, aligned runtime settings; drop the TP=8-only restriction.

…rch space)

Bump the dsr1-fp4-b200-sglang-mtp image to lmsysorg/sglang:v0.5.12.post1 and
reshape the MTP search space into a low-latency TP4/EP1 lane plus TP4/EP4
(1k/1k: TP4/EP1 c1-32 + TP4/EP4 c64-256; 8k/1k: TP4/EP1 c1-32 + TP4/EP4
DP-attention c64-256). Update dsr1_fp4_b200_mtp.sh with the DP-attention path,
SGLANG_RADIX_FORCE_MISS=1, --disable-piecewise-cuda-graph, aligned runtime
settings, and drop the TP=8-only restriction.
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution! For vLLM & SGLang, please ensure that your recipes is similar to the official vLLM recipes and/or the SGLang cookbook

If it is not, please create a PR first before we can merge your single node PR into the master branch. Let's ensure that the documentation is first class such that the entire ML community can benefit from your hard work! Thank you

PR authors are responsible for ensuring that after merging, all GitHub Action jobs fully pass. A lot of the time, failures are just flakes and simply re-running the failed jobs will fix it. If re-running failed jobs is attempted, PR authors are responsible for ensuring it passes. See GitHub's docs on re-running failed jobs: https://docs.github.com/en/actions/how-tos/manage-workflow-runs/re-run-workflows-and-jobs#re-running-failed-jobs-in-a-workflow

As a rule of thumb, generally, PR authors should request a review & get a PR approval from the respective companies' CODEOWNERS before requesting a review from core maintainers.

If additional help is needed, PR authors can reach out to core maintainers over Slack.


感谢你的贡献!对于 vLLM 与 SGLang,请确保你的 recipe 与官方 vLLM recipes 和/或 SGLang cookbook 保持一致

如果不一致,请先创建一个 PR,之后我们才能将你的单节点 PR 合并到 master 分支。让我们确保文档保持一流水准,使整个 ML 社区都能从你的辛勤工作中受益!谢谢

PR 作者有责任确保合并后所有 GitHub Action 任务完全通过。 很多时候失败只是偶发抖动(flake),重新运行失败的任务即可解决。如果选择重新运行失败的任务,PR 作者有责任确保其最终通过。参见 GitHub 关于重新运行失败任务的文档:https://docs.github.com/en/actions/how-tos/manage-workflow-runs/re-run-workflows-and-jobs#re-running-failed-jobs-in-a-workflow

一般而言,PR 作者应先向相应公司的 CODEOWNERS 请求审阅并获得 PR 批准,然后再请求核心维护者审阅。

如需更多帮助,PR 作者可通过 Slack 联系核心维护者。

3 similar comments
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution! For vLLM & SGLang, please ensure that your recipes is similar to the official vLLM recipes and/or the SGLang cookbook

If it is not, please create a PR first before we can merge your single node PR into the master branch. Let's ensure that the documentation is first class such that the entire ML community can benefit from your hard work! Thank you

PR authors are responsible for ensuring that after merging, all GitHub Action jobs fully pass. A lot of the time, failures are just flakes and simply re-running the failed jobs will fix it. If re-running failed jobs is attempted, PR authors are responsible for ensuring it passes. See GitHub's docs on re-running failed jobs: https://docs.github.com/en/actions/how-tos/manage-workflow-runs/re-run-workflows-and-jobs#re-running-failed-jobs-in-a-workflow

As a rule of thumb, generally, PR authors should request a review & get a PR approval from the respective companies' CODEOWNERS before requesting a review from core maintainers.

If additional help is needed, PR authors can reach out to core maintainers over Slack.


感谢你的贡献!对于 vLLM 与 SGLang,请确保你的 recipe 与官方 vLLM recipes 和/或 SGLang cookbook 保持一致

如果不一致,请先创建一个 PR,之后我们才能将你的单节点 PR 合并到 master 分支。让我们确保文档保持一流水准,使整个 ML 社区都能从你的辛勤工作中受益!谢谢

PR 作者有责任确保合并后所有 GitHub Action 任务完全通过。 很多时候失败只是偶发抖动(flake),重新运行失败的任务即可解决。如果选择重新运行失败的任务,PR 作者有责任确保其最终通过。参见 GitHub 关于重新运行失败任务的文档:https://docs.github.com/en/actions/how-tos/manage-workflow-runs/re-run-workflows-and-jobs#re-running-failed-jobs-in-a-workflow

一般而言,PR 作者应先向相应公司的 CODEOWNERS 请求审阅并获得 PR 批准,然后再请求核心维护者审阅。

如需更多帮助,PR 作者可通过 Slack 联系核心维护者。

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution! For vLLM & SGLang, please ensure that your recipes is similar to the official vLLM recipes and/or the SGLang cookbook

If it is not, please create a PR first before we can merge your single node PR into the master branch. Let's ensure that the documentation is first class such that the entire ML community can benefit from your hard work! Thank you

PR authors are responsible for ensuring that after merging, all GitHub Action jobs fully pass. A lot of the time, failures are just flakes and simply re-running the failed jobs will fix it. If re-running failed jobs is attempted, PR authors are responsible for ensuring it passes. See GitHub's docs on re-running failed jobs: https://docs.github.com/en/actions/how-tos/manage-workflow-runs/re-run-workflows-and-jobs#re-running-failed-jobs-in-a-workflow

As a rule of thumb, generally, PR authors should request a review & get a PR approval from the respective companies' CODEOWNERS before requesting a review from core maintainers.

If additional help is needed, PR authors can reach out to core maintainers over Slack.


感谢你的贡献!对于 vLLM 与 SGLang,请确保你的 recipe 与官方 vLLM recipes 和/或 SGLang cookbook 保持一致

如果不一致,请先创建一个 PR,之后我们才能将你的单节点 PR 合并到 master 分支。让我们确保文档保持一流水准,使整个 ML 社区都能从你的辛勤工作中受益!谢谢

PR 作者有责任确保合并后所有 GitHub Action 任务完全通过。 很多时候失败只是偶发抖动(flake),重新运行失败的任务即可解决。如果选择重新运行失败的任务,PR 作者有责任确保其最终通过。参见 GitHub 关于重新运行失败任务的文档:https://docs.github.com/en/actions/how-tos/manage-workflow-runs/re-run-workflows-and-jobs#re-running-failed-jobs-in-a-workflow

一般而言,PR 作者应先向相应公司的 CODEOWNERS 请求审阅并获得 PR 批准,然后再请求核心维护者审阅。

如需更多帮助,PR 作者可通过 Slack 联系核心维护者。

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution! For vLLM & SGLang, please ensure that your recipes is similar to the official vLLM recipes and/or the SGLang cookbook

If it is not, please create a PR first before we can merge your single node PR into the master branch. Let's ensure that the documentation is first class such that the entire ML community can benefit from your hard work! Thank you

PR authors are responsible for ensuring that after merging, all GitHub Action jobs fully pass. A lot of the time, failures are just flakes and simply re-running the failed jobs will fix it. If re-running failed jobs is attempted, PR authors are responsible for ensuring it passes. See GitHub's docs on re-running failed jobs: https://docs.github.com/en/actions/how-tos/manage-workflow-runs/re-run-workflows-and-jobs#re-running-failed-jobs-in-a-workflow

As a rule of thumb, generally, PR authors should request a review & get a PR approval from the respective companies' CODEOWNERS before requesting a review from core maintainers.

If additional help is needed, PR authors can reach out to core maintainers over Slack.


感谢你的贡献!对于 vLLM 与 SGLang,请确保你的 recipe 与官方 vLLM recipes 和/或 SGLang cookbook 保持一致

如果不一致,请先创建一个 PR,之后我们才能将你的单节点 PR 合并到 master 分支。让我们确保文档保持一流水准,使整个 ML 社区都能从你的辛勤工作中受益!谢谢

PR 作者有责任确保合并后所有 GitHub Action 任务完全通过。 很多时候失败只是偶发抖动(flake),重新运行失败的任务即可解决。如果选择重新运行失败的任务,PR 作者有责任确保其最终通过。参见 GitHub 关于重新运行失败任务的文档:https://docs.github.com/en/actions/how-tos/manage-workflow-runs/re-run-workflows-and-jobs#re-running-failed-jobs-in-a-workflow

一般而言,PR 作者应先向相应公司的 CODEOWNERS 请求审阅并获得 PR 批准,然后再请求核心维护者审阅。

如需更多帮助,PR 作者可通过 Slack 联系核心维护者。

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

LGTM — benchmark recipe tuning (image bump, search-space reshape, DP-attention path) for a single SGLang MTP config.

Extended reasoning...

Overview

This PR updates a single benchmark recipe (dsr1-fp4-b200-sglang-mtp) across three files: the nvidia-master.yaml entry (image bump + search-space reshape), the dsr1_fp4_b200_mtp.sh launcher (adds a DP-attention branch, SGLANG_RADIX_FORCE_MISS=1, --disable-piecewise-cuda-graph, and aligns runtime args with the non-MTP variant), and a perf-changelog.yaml entry documenting the change. No production code paths are touched.

Security risks

None. This is a benchmark/recipe-only change. No auth, crypto, network, or input-handling logic is modified. Variables in the shell script are properly quoted, and the new DP_ATTENTION env var is validated against true/false before use.

Level of scrutiny

Low. This is a perf-tuning recipe change confined to single-node benchmark infrastructure. The TP=8-only restriction is intentionally dropped to enable the new TP4 lanes specified in the search space. Runtime knobs (cuda-graph-max-bs 256, mem-fraction-static 0.85, stream-interval 10) are aligned with the existing non-MTP dsr1-fp4-b200-sglang recipe, and DP-attention args mirror established SGLang patterns.

Other factors

Bug-hunting system found no issues. PR-level CI on the recipe itself is the authoritative validator for perf regressions, and the changelog entry is well-documented.

The dsr1/fp4 weights are staged at /scratch/fsw/models/DeepSeek-R1-0528-NVFP4
on the b200-dgxc cluster; the previous /lustre/fsw/models/dsr1-0528-nvfp4-v2
path no longer exists, so the container mount failed at launch.
@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

1 similar comment
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

@Ankur-singh

Copy link
Copy Markdown
Collaborator

/reuse-sweep-run

@Ankur-singh

Ankur-singh commented Jul 2, 2026

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. Link
  • Verified that this PR passes evals. Please link to GitHub Action workflow that shows this. Link
  • Verified that speculative decoding PRs uses chat templates to align the AL distribution to real world
  • If an company claims that they support vLLM/SGLang as first class 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 the single-node recipes are similar to the official vLLM recipes and/or theSGLang cookbook:
    • If they are not, I have verified that a PR has been opened in vLLM recipe repo or SGLang repo and linked it below in the additional detail section:
  • If any of the above criteria cannot reasonably be satisfied, I have provided additional reasoning below.

Additional detail section:

Signed: ankur-singh

@Klaud-Cold

Klaud-Cold commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

PASS — all checks verified at head c8cd62a; the previously missing recipe link has been added to the sign-off, clearing the earlier block.

  • Check 0 (CODEOWNER): PASS — @ankur-singh is a listed owner of .github/configs/nvidia-master.yaml; the other changed paths fall under the * catch-all.
  • Check 1 (sweep on in-PR commit): PASS — head commit c8cd62a has all executed single-node 1k1k/8k1k and eval / check-runs green (none skipped/failed): https://github.com/SemiAnalysisAI/InferenceX/actions/runs/28536745888
  • Check 2 (evals): PASS — GSM8K em_strict 0.9515–0.9560 on the TP4/EP1 and TP4/EP4 DP-attention lanes, above the dsr1 bar of 0.91 (utils/evals/thresholds.json), with this PR's image lmsysorg/sglang:v0.5.12.post1.
  • Check 3 (recipe): PASS — sign-off links Add B200 NVFP4 MTP deployment to DeepSeek-R1 cookbook recipe sgl-project/sglang#29963 (DeepSeek-R1 cookbook, docs_new); all major args match this PR: nvidia/DeepSeek-R1-0528-FP4-v2 on 4x B200, TP4/EP1 + TP4/EP4 DP-attention (incl. local-control-broadcast, dp-lm-head), modelopt_fp4, kv-cache fp8_e4m3, trtllm_mla, flashinfer_trtllm, allreduce-fusion, EAGLE 2/3/1, --disable-piecewise-cuda-graph, prefill-delayer + schedule-conservativeness 3.33. Remaining diffs are InferenceX harness tuning only (SGLANG_RADIX_FORCE_MISS, recv-interval sweep values).
  • Check 4 (reuse command): PASS — /reuse-sweep-run posted by Ankur-singh (COLLABORATOR).

# Conflicts:
#	perf-changelog.yaml
@adibarra adibarra merged commit 5397350 into main Jul 2, 2026
25 checks passed
@adibarra adibarra deleted the dsr1-fp4-b200-sglang-mtp-update branch July 2, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

4 participants