Repository navigation
[ROCm][Docs] DeepSeek-V4.1-Flash: MI355X AgentX TP and DP presets from InferenceX #5195 - #69752
Merged
ivanium merged 2 commits intoNov 24, 2026
Merged
Conversation
…m InferenceX vllm-project#5195 Restate the MI355X AgentX presets from SemiAnalysisAI/InferenceX#5195 on the vllm/vllm-openai-rocm:deepseek-v41-flash-8a13616 image, one point per benchmark concurrency under two presets: - AgentX TP (mi355x_agentx, single_node_tp): TP8 at concurrency 1, TP4 at 1 and 2, TP2 at 1 to 64. Absorbs the former mi355x_agentx_tp8. - AgentX DP (mi355x_agentx_dp, single_node_dep): DP2 at 128, DP2 with UMBP at 256 and 384, and new DEP8 points at 256, 512 and 1024 (MoRI all-to-all, AITER MegaMoE, amd_kernels routes with the S49 expert plan, prefill delayer). Replaces mi355x_agentx_dp2_umbp. The TP points now set VLLM_ROCM_QUICK_REDUCE_QUANTIZATION=NONE, as the lane does, instead of inheriting the MI355X TP profile's INT4, and every non-DEP8 point turns the image's amd_kernels routes off. Runbooks carry the results of InferenceX run 45218564620. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: seungrokj <seungrok.jung@amd.com>
seungrokj
temporarily deployed
to
recipes-preview
November 24, 2026 21:59 — with
GitHub Actions
Inactive
Contributor
Fangzhou-Ai
approved these changes
Nov 24, 2026
Contributor
Author
|
/ci run |
|
✅ Triggered Buildkite CI #105528 for commit ℹ️ This PR is 2 commits behind upstream |
vllm-agent
temporarily deployed
to
recipes-preview
November 24, 2026 22:17 — with
GitHub Actions
Inactive
ivanium
temporarily deployed
to
recipes-preview
November 24, 2026 23:14 — with
GitHub Actions
Inactive
vllm-recipes-publisher Bot
pushed a commit
to vllm-project/recipes
that referenced
this pull request
Nov 24, 2026
vllm-project/vllm@main:recipes 32e14dfc397f → 97245ef4e576 [latest.vllm] vllm-project/vllm@32e14df...97245ef Commits: - vllm-project/vllm@97245ef4e576 [ROCm][Docs] DeepSeek-V4.1-Flash: MI355X AgentX TP and DP presets from InferenceX #5195 (vllm-project/vllm#69752) Recipes: - deepseek-ai/DeepSeek-V4.1-Flash (modified): https://recipes.vllm.ai/deepseek-ai/DeepSeek-V4.1-Flash Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions Bot
added a commit
to zexplorerhj/recipes
that referenced
this pull request
Nov 25, 2026
…mni@649e7b3b9a5b vllm-project/vllm@main:recipes ba4b266dfadb → ddcf64b36fa9 [latest.vllm] vllm-project/vllm@ba4b266...ddcf64b Commits: - vllm-project/vllm@04f0149d472c [Bugfix][Rust Frontend] Bump fastokens to 0.3.6 (vllm-project/vllm#66327) - vllm-project/vllm@97245ef4e576 [ROCm][Docs] DeepSeek-V4.1-Flash: MI355X AgentX TP and DP presets from InferenceX #5195 (vllm-project/vllm#69752) - vllm-project/vllm@32e14dfc397f [Recipe] Kimi-K3.1-Pro: MI355X kimi-k31-020490a image (amd_kernels bridge) and FlyDSL draft attention, align with InferenceX#5196 (vllm-project/vllm#69749) Recipes: - deepseek-ai/DeepSeek-V4.1-Flash (modified): https://recipes.vllm.ai/deepseek-ai/DeepSeek-V4.1-Flash - moonshotai/Kimi-K3.1-Pro (modified): https://recipes.vllm.ai/moonshotai/Kimi-K3.1-Pro - nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 (modified): https://recipes.vllm.ai/nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 vllm-project/vllm-omni@main:recipes be17481fe141 → 649e7b3b9a5b [latest.vllm-omni] vllm-project/vllm-omni@be17481...649e7b3 Commits: - vllm-project/vllm-omni@341b3391dbee [Model] Support Ming-3.0-TTS dense 0.5B checkpoint (vllm-project/vllm-omni#10977) Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions Bot
added a commit
to wombat/recipes
that referenced
this pull request
Nov 25, 2026
…mni@649e7b3b9a5b vllm-project/vllm@main:recipes b90597b7581c → ddcf64b36fa9 [latest.vllm] vllm-project/vllm@b90597b...ddcf64b Commits: - vllm-project/vllm@04f0149d472c [Bugfix][Rust Frontend] Bump fastokens to 0.3.6 (vllm-project/vllm#66327) - vllm-project/vllm@97245ef4e576 [ROCm][Docs] DeepSeek-V4.1-Flash: MI355X AgentX TP and DP presets from InferenceX #5195 (vllm-project/vllm#69752) - vllm-project/vllm@32e14dfc397f [Recipe] Kimi-K3.1-Pro: MI355X kimi-k31-020490a image (amd_kernels bridge) and FlyDSL draft attention, align with InferenceX#5196 (vllm-project/vllm#69749) Recipes: - deepseek-ai/DeepSeek-V4.1-Flash (modified): https://recipes.vllm.ai/deepseek-ai/DeepSeek-V4.1-Flash - moonshotai/Kimi-K3.1-Pro (modified): https://recipes.vllm.ai/moonshotai/Kimi-K3.1-Pro - nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 (modified): https://recipes.vllm.ai/nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 vllm-project/vllm-omni@main:recipes be17481fe141 → 649e7b3b9a5b [latest.vllm-omni] vllm-project/vllm-omni@be17481...649e7b3 Commits: - vllm-project/vllm-omni@341b3391dbee [Model] Support Ming-3.0-TTS dense 0.5B checkpoint (vllm-project/vllm-omni#10977) Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Updates the MI355X AgentX presets in
recipes/models/deepseek-ai/DeepSeek-V4.1-Flash.yamlto the settings of InferenceX #5195 (still open, source revision66f2a2d), on its imagevllm/vllm-openai-rocm:deepseek-v41-flash-8a13616@sha256:cea337b2…. It follows the previous MI355X recipe PR #67378, and regroups the presets in the format of #67600 (Kimi-K3.1-Pro): one preset per strategy, with one point per benchmark concurrency.mi355x_agentx, AgentX TPsingle_node_tp1 (TP8),1 (TP4),2 (TP4),1 (TP2)…64 (TP2)mi355x_agentx_dp, AgentX DP (new key)single_node_dep128 (DP2),256 (DP2, UMBP),384 (DP2, UMBP),256 (DEP8),512 (DEP8),1024 (DEP8)A preset cannot mix strategies, so the TP and DP points live in two presets.
mi355x_agentx_tp8becomes the1 (TP8)point of AgentX TP, andmi355x_agentx_dp2_umbpbecomes the DP2 points of AgentX DP. Nothing else in the repository references the two removed keys.Claims
vllm servecommand matches its [Usage]: how to use the gpu_cache_usage_perc as a custom metric in k8s HPA? #5195 override flag for flag:--data-parallel-size 8with expert parallelism and--all2all-backend mori.--moe-backend aiter_mega_moe.--engram-config '{"cpu_offload":false,"embedding_across_dp":true}'.--max-num-seqs128 (160 at 1024),--max-num-batched-tokens 32768and--long-prefill-token-threshold 8192.--prefill-schedule-policy delayer, interval 96 and--prefill-max-wait-ms 5000.--kernel-config '{"amd_kernels":{"enabled":true,"expert_perm":"expert_plan_S49.npz"}}'.MORI_SHMEM_HEAP_SIZE=64G,VLLM_RPC_TIMEOUT=600000andVLLM_RANDOMIZE_DP_DUMMY_INPUTS=1.VLLM_ROCM_QUICK_REDUCE_QUANTIZATION=NONE, as the lane does. They previously inheritedINT4from the MI355Xsingle_node_tpprofile, so the old AgentX TP2 and TP8 presets rendered INT4 QuickReduce, which the lane does not run.--kernel-config '{"amd_kernels":{"enabled":false}}', as [Usage]: how to use the gpu_cache_usage_perc as a custom metric in k8s HPA? #5195 does.Validation
Renderer:
node scripts/validate-source.mjs --source vllm --dir <this branch>/recipespasses (✓ vllm recipes … are valid against the renderer).test-guide-html,test-presetsandtest-schemapass with 50 of 50 tests, andtyposis clean.JSON API diff against main: the changes are confined to the
mi355x_agentx*presets, the guide anddate_updated. The baseline renderings of DeepSeek-V4.1-Flash,-1017and the Eco-Tech W4A8 variant are unchanged.Script check: the per-point
argvandenvof the built preset JSON were compared against [Usage]: how to use the gpu_cache_usage_perc as a custom metric in k8s HPA? #5195'sagentic.yamlby script. Every flag matches. The remaining differences have no functional effect:--served-model-name,--max-model-len 1048576(the model default),--disable-uvicorn-access-logandPYTHONUNBUFFERED.VLLM_ROCM_USE_AITER_TRITON_SPARSE_MLAasTrue.Server logs from the run confirm the configuration:
amd_kernels routes: noneand mono decode on for the backbone and the draft.KV cache sizing keeps 20.0 GiB free for serving transients.InferenceX run 45218564620 ran at
47e883bb9. Its serving settings equal66f2a2d, which only moved GPU counts to the gpus-per-worker form. Each point is a single run with synthetic golden acceptance (3.51).TP2 c64 failed its first attempt with no successful requests and passed on the second, which the table reports. GSM8K strict over 1319 questions, with block verification, two runs each:
Details
Image. The pinned image is built from the
dsv41f-amd-kernelsbranch at8a136163b6, which is main647a76866(2026-11-22) plus unmerged changes the DEP8 points need:The DEP8 points therefore do not start on main or nightly images, which the AgentX DP runbook says. The TP and DP2 points need only main.
Router. The DEP8 router runs in InferenceX with
LD_PRELOAD=/opt/dsv41f/lib/listen_backlog_shim.soandLISTEN_BACKLOG_MIN=4096. vllm-router 0.1.14 listens with a backlog of 128, which resets connections in the AgentX warm-up burst. The shim ships in the image, not in vLLM, so the runbook documents it rather than the builder emitting it.Preset defaults. Both presets stay opt-in (no
default: truepreset). The default points stay8 (TP2)and256 (DP2, UMBP). The AgentX DP preset selects UMBP, and the 128 and DEP8 points turn KV offload off, as InferenceX runs them.Not a duplicate. [Doc][ROCm] DeepSeek-V4.1-Flash: enable adaptive DSpark verification on MI350X and MI355X #67930 (adaptive DSpark verification on MI350X/MI355X) touches the baseline speculative config, not these presets.
Pull Request Checklist
I used vLLM's
/pr-checklistskill. (Mandatory for agents, optional for humans).AI assistance was used during the creation of this PR.
Design Fit: Minimizes impact on core components, reuses existing functionality, and justifies added complexity. (Recipe YAML only; reuses the TP and DEP strategies, the DEP router companion and the preset delta fields.)
Testing and Validation: Validates the change and ensures any added tests are meaningful and reliable, with CI coverage or documented CI resource constraints and validation performed outside CI.
Code Quality and Style: Keeps code and comments clear and concise, and updates relevant documentation and examples.
Pull Request Contents: Includes a brief summary and relevant links, supports claims with evidence, explains root causes and implementation trade-offs, and follows the contributing guide.
AI assistance: drafted with
claude-opus-5-5(Claude Opus 5.5) via Claude Code, which read the recipe, #5195 and the renderer, wrote the presets, ran the validation and wrote this description.🤖 Generated with Claude Code