Repository navigation
[AMD][MI35X] 1021 DSV41 sglang mtp agentic - #4367
Conversation
|
Thanks for the contribution!
中文感谢你的贡献!
|
There was a problem hiding this comment.
Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.
Besides the inline comment, I checked two more things and neither is a problem. First, the new env: block in override_tp2_c32 sits under roles.agg, at the same level as the env blocks in the DP2 overrides, so it gets applied. Second, monokernel-backend: amd is set only on the TP2 and TP4 c1–c16 overrides, so no override combines it with SGLANG_HIP_DSV41_INDEX_K_PAGE8.
Extended reasoning...
The change bumps the SGLang ROCm image for one MI355X agentic config. It also adjusts the env vars and the monokernel flag in its srt-slurm recipe and appends a changelog entry. I checked the YAML nesting of the new env block and that no override pairs the monokernel flag with the INDEX_K_PAGE8 layout. Neither is a problem.
|
/reuse-sweep-run 39596624542 |
There was a problem hiding this comment.
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. https://inferencex.semianalysis.com/inference?unofficialRun=39596624542
- Verified that this PR passes evals. https://inferencex.semianalysis.com/inference?unofficialRun=39596624542
- 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_MOEis 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
- 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
- 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 sgl-project/sglang#45693 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](https://github.com/SemiAnalysisAI/InferenceX/blob/main/.github/codeowner-signoff-verify-prompt.md#c…
Additional detail section:
Cookbook PR: sgl-project/sglang#45693
Draft precision:
- No draft-specific setting; draft is the in-checkpoint DSpark head of deepseek-ai/DeepSeek-V4.1-Flash.
- Stored: mtp.* attn / shared experts / main_proj F8_E4M3, routed experts MXFP4, norms/gate BF16.
- Pinned lmsysorg/sglang-rocm:v0.5.22-rocm10-mi35x-20261021 (sglang 2815eed49c) converts wo_a FP8->BF16 by default.
- That image includes sgl-project/sglang#45480: V4.1 moe, draft included, default to MXFP8 acts; AITER_BF16_FP8_MOE_BOUND is no longer set.
--monokernel-backend amd (c<=16 only) also uses MXFP8 expert acts, same as the image default; no draft weight change. - SGLANG_HIP_FP4_INDEXER_ROWGROUP=1 restates the image default (EnvBool(_default_hip)); indexer kernel only.
- SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE unset (default false; gated to modelopt_fp4 + deep_gemm, not this checkpoint).
- The image pins sgl-amd-mono b27d604 via sgl-project/sglang#45546; its DeepSeek-V4.1 DSpark draft spec uses MXFP8 expert activations and does not requantize draft weights.
Signed: zijiecode
✅✅✅ Verdict: PASS ✅✅✅Passed and not applicable checks✅ Check 0 (CODEOWNER): PASS — ✅ Check 1 (Sweep + evals on in-PR commit): PASS — Run 39596624542 on in-PR commit ✅ Check 2 (Eval accuracy): PASS — GSM8K em_strict is 0.974 (TP2 c32) and 0.968 (TP2/DPA c64), n=1319, with no infrastructure errors, on ✅ Check 3 (Upstream recipe): PASS — sgl-project/sglang#45693 is MERGED (2026-10-22T03:33:35Z). DeepSeek-V4.1 cookbook §3.6 matches the image, env vars, flags and per-concurrency table for every variant: TP2/TP4 c<=16 (monokernel, no INDEX_K_PAGE8), TP2 c32 (no monokernel, INDEX_K_PAGE8) and DP2 c32/c64 ( ✅ Check 4 (Reuse command): PASS — COLLABORATOR ✅ Check 5 (Latest checklist template): PASS — All 19 items of the current template are present and checked, including the draft-precision, Dynamo-metrics and Pareto items. ✅ Check 6 (Upstream images / engine-first): PASS — The ✅ Check 7 (Deprecated models): PASS — ✅ Check 8 (No architecture hacks): PASS — There are no ✅ Check 9 (Spec-decode chat template): PASS — AgentX replays chat-formatted multi-turn traces through the ✅ Check 10 (No engine patches): PASS — The PR adds no patches, inline source rewrites, monkey-patching or engine wheel installs. The monokernel plugin ships inside the upstream image. ✅ Check 11 (Agentic golden AL): PASS — The job logs show ➖ Check 12 (Append-only): N/A — The new changelog entry has no ✅ Check 13 (Draft precision): PASS — The draft is the in-checkpoint DSpark head. The effective worker env and command set no draft quantization or dtype flag, and do not set ✅ Check 14 (Pareto coverage): PASS — Curve dsv41flash / agentic-coding / MI355X SGLang / fp4, from 13 measured points (TP2, TP4, DP2) in run 39596624542 artifacts ➖ Check 15 (PR description): N/A — The PR body is empty, so it makes no technical claims to verify. ➖ Check 16 (NVIDIA overview): N/A — The only affected configuration is AMD MI355X. ➖ Check 17 (Metrics publication): N/A — This is a direct SGLang config with no Dynamo TRT-LLM serving path. Assessed commit: |

No description provided.