Repository navigation
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request adds a new reference deployment guide for the DeepSeek-V4.1-Flash model on A5 (950DT) hardware using a disaggregated Prefill-Decode (PD) architecture. The changes provide a complete recipe for setting up the environment, launching DP engines, and configuring the proxy, ensuring consistency with existing A2/A3 documentation while highlighting necessary A5-specific runtime requirements. Highlights
New Features🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the DeepSeek-V4.1-Flash tutorial documentation to add a comprehensive guide for A5 (950DT) products, including a DP8/TP1 Prefill-Decode (PD) disaggregated configuration reference. It details the A5 runtime, container installation, DP launcher script, and role-specific templates for Prefill and Decode nodes, while clarifying the use of model runner V2 for A5. The reviewer's feedback correctly identifies that the PR title and summary do not adhere to the repository's style guide and provides a compliant suggested title and summary.
| vLLM Ascend supports W8A8 deployment on Atlas 800 A3 and A2 servers. This | ||
| guide provides a single-node colocated A3 configuration and a two-node A3 | ||
| Prefill-Decode (PD) disaggregated configuration. It also supports a two-node hybrid A2 configuration and a four-node Prefill-Decode (PD) disaggregated configuration. | ||
| For 950DT products (A5), Section 5.2 provides a DP8/TP1 PD reference using |
There was a problem hiding this comment.
The Pull Request title and summary do not fully adhere to the repository's style guide. Specifically, the title is missing the [Branch] and [Action] prefixes, and the summary should be formatted using markdown code blocks as specified in the style guide.\n\nHere are the suggested PR Title and Summary according to the style guide:\n\nSuggested PR Title:\n\nmarkdown\n[v0.32.0rc][Doc][Feature] Add A5 DeepSeek-V4.1-Flash PD guide\n\n\nSuggested PR Summary:\n\nmarkdown\n### What this PR does / why we need it?\n\nThe DeepSeek-V4.1-Flash tutorial has no complete A5 (950DT) P/D deployment example in section 5.2. This PR adds a two-server DP8/TP1/EP8 reference guide for A5 (950DT) products, using the structure of the v0.30.0 A5 example.\n\nSpecifically, it:\n- Documents the matching A5 runtime, original checkpoint, container devices and mounts, and proxy file-descriptor limit.\n- Includes the per-rank DP launcher, separate Prefill/Decode templates, MooncakeHybridConnector topology and ports, and proxy startup and health checks.\n- Sets Prefill batch tokens to 5120, with prefix caching and bounded replay enabled. Decode uses batch tokens 1024, prefix caching enabled, FULL_DECODE_ONLY, and the recompute scheduler with bounded replay explicitly disabled.\n- Clarifies the A5 model-runner V2 and runtime requirements while retaining the existing A2/A3 examples.\n\nCompanion to https://github.com/vllm-project/vllm-ascend/pull/20800.\n\n### Does this PR introduce _any_ user-facing change?\n\nNo runtime/API/default change. This is documentation-only.\n\n### How was this patch tested?\n\nPassed locally on the final branch:\n- Ran markdownlint, codespell, and typos on the modified file.\n- Parsed all eight A5 Bash code blocks with `bash -n`, parsed the Python launcher with `ast.parse`, parsed the serving JSON, and checked relative documentation links.\n
References
- PR Title and Summary must follow the specific formats and be outputted in markdown code blocks. (link)
|
👋 Hi! Thank you for contributing to the vLLM Ascend project. The following points will speed up your PR merge:
If CI fails, you can run linting and testing checks locally according Contributing and Testing. |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Signed-off-by: rikakuhi <942697235@qq.com>
Signed-off-by: rikakuhi <942697235@qq.com>
Signed-off-by: rikakuhi <942697235@qq.com>
Signed-off-by: rikakuhi <942697235@qq.com>
Adapt the colocated, PCP, wide EP, Memcache and verification examples from linfeng-yuan in vllm-project#20137 and the v0.30.0 guide. Keep the ordinary PD templates and distinguish their replay and batch settings from the pooled deployment. Signed-off-by: rikakuhi <942697235@qq.com>
List the host and port for each deployment so the Markdown link checker does not probe placeholder URLs. Keep the complete URL in the executable health check example. Signed-off-by: rikakuhi <942697235@qq.com>
Give the runtime, replay and pooling settings directly in the model tutorial so readers can configure each role from the instructions for their hardware. Signed-off-by: rikakuhi <942697235@qq.com>
Use the vLLM revision pinned by this branch, address the proxy in the image, and propagate local DP rank failures to the launcher. Signed-off-by: rikakuhi <942697235@qq.com>
Keep 950DT installation, runner settings and tuning in their own paragraphs so that the A3 W4A8 update can merge independently. Signed-off-by: rikakuhi <942697235@qq.com>
Use the published release-branch A5 image and put model and weight guidance alongside the other hardware examples. Disable local Decode prefix caching for both ordinary PD and Memcache. Signed-off-by: rikakuhi <942697235@qq.com>
Signed-off-by: rikakuhi <942697235@qq.com>
Signed-off-by: rikakuhi <942697235@qq.com>
9933d5f to
d96f716
Compare
Signed-off-by: rikakuhi <942697235@qq.com>
Signed-off-by: rikakuhi <942697235@qq.com>
Signed-off-by: rikakuhi <942697235@qq.com>
Signed-off-by: rikakuhi <942697235@qq.com>
Signed-off-by: rikakuhi <942697235@qq.com>
Describe how the parameter overlaps Engram preparation with model computation in the 950DT PD tutorial. Signed-off-by: rikakuhi <942697235@qq.com>
|
/rerun Rerun (failed jobs only):
|
1 similar comment
|
/rerun Rerun (failed jobs only):
|
|
/rerun Rerun (failed jobs only):
|
Signed-off-by: rikakuhi <942697235@qq.com>
Signed-off-by: rikakuhi <942697235@qq.com>
Signed-off-by: rikakuhi <942697235@qq.com>
|
/rerun Rerun (failed jobs only):
|
9ba4e5c
into
vllm-project:releases/v0.32.0rc
### What this PR does / why we need it? Add complete 950DT DeepSeek-V4.1-Flash deployment instructions alongside the existing A2/A3 guide. The examples cover single-node DP8/TP1/EP8 serving, two-node PD, Memcache DRAM pooling, and optional PCP8 Prefill and EP16 Decode layouts. - Use the official `deepseek-ai/DeepSeek-V4.1-Flash-1017` MXFP checkpoint from Hugging Face or ModelScope and Model Runner V2 in every 950DT serving template. - Preserve the five 950DT serving templates from #20801: Prefill uses a 5120-token batch budget and SWA bounded replay; Decode enables prefix caching, disables SWA bounded replay, and uses the recompute scheduler. Pooled Prefill keeps local prefix caching disabled to verify external pool reuse. - Explain `multistream_engram_overlap`, organize Memcache deployment into 950DT and A3 tabs, and cover all supported hardware in the overview, weight table, and service verification instructions. - Follow `main` for source installation and pair it with `.github/vllm-main-verified.commit`. Container examples use the existing documentation release-version macro. - Preserve main's A2/A3 serving commands and launchers. In `DeepSeek-V4-Flash.md`, only update the incoming Memcache-service section link. Supersedes #20800 as the main-branch counterpart of #20801. ### Does this PR introduce _any_ user-facing change? Documentation only; no runtime code changes or release-note fragment. ### How was this patch tested? - Markdownlint, codespell, typos, and `git diff --check`: passed for the changed documentation. - Syntax-checked 44 shell blocks and four Python blocks; parsed 65 shell JSON arguments and two standalone JSON blocks; validated 47 local links. - Rendered the Memcache section and verified separate `950DT products` and `A3 series` tabs. - Compared all five 950DT serving scripts byte-for-byte with #20801 at `19991ed96`; all ten existing A2/A3 serving scripts match the main baseline. Launchers are unchanged from the source recipe. - Attempted `bash format.sh ci` and `pre-commit run --from-ref dc9abfe --to-ref HEAD --hook-stage manual`; both stopped during actionlint environment installation after a 60-second timeout. The focused documentation hooks above passed. - No NPU inference, P-to-D transfer, pool-hit, accuracy, or performance validation was run for this documentation update. No new runtime tests were added. --- ### Checklist The runtime-test items below do not apply to this documentation-only change. Hardware validation remains outstanding as stated above. #### Testing - [ ] **Boundary / edge-case coverage**: I reviewed whether this change involves boundary conditions and added tests where applicable. - [ ] **Regression test**: If this PR fixes runtime behavior, I added a regression test. - [ ] **Error / failure path coverage**: I covered applicable runtime error and failure paths. - [ ] **Meaningful & reliable tests**: New tests assert behavior rather than only satisfying CI. - [ ] **Performance impact**: Hardware benchmarks are attached where applicable. - vLLM main: vllm-project/vllm@24420b7 --------- Signed-off-by: rikakuhi <942697235@qq.com>
What this PR does / why we need it?
Add DeepSeek-V4.1-Flash deployment instructions for 950DT products alongside the A2/A3 guide, targeting vLLM Ascend
v0.32.0rcwith vLLMv0.32.0. Integrate the merged A3 update in #20764 while preserving its serving commands, accuracy table, and original tuning guidance.DeepSeek-V4.1-Flash-1017MXFP checkpoint from thedeepseek-airepositories on Hugging Face and ModelScope, with model runner V2. Both ordinary and pooled Decode explicitly enable local prefix caching, disable SWA bounded replay, and keep the recompute scheduler enabled.950DT productsandA3 seriestabs, following v0.30.0. Keep the existing A2 Mooncake example. The 950DT pooled Prefill uses 5120 batch tokens and explicitly enables SWA bounded replay, matching ordinary Prefill; local prefix caching stays disabled to exercise the external pool.quay.io/ascend/vllm-ascend:{{ vllm_ascend_version }}-a5consistently with the A2/A3 release image examples. Use950DT productsin the prose and preserve the image suffix-a5.Companion to the main-branch tutorial update in #21211. Merge #21211 first.
Related contribution by @linfeng-yuan in #20137.
Does this PR introduce any user-facing change?
Documentation only. Update
docs/source/tutorials/models/DeepSeek-V4.1-Flash.mdand its incoming Memcache-service link inDeepSeek-V4-Flash.md. Users get 950DT installation and deployment instructions alongside the updated A2/A3 guide. Runtime code is unchanged.How was this patch tested?
markdownlint,codespell,typos, andgit diff --check: passed.0bd823c53, containing [Doc] Update DeepSeek-V4.1-Flash W4A8 deployment for v0.32.0 #20764.bash format.sh ciand the requiredpre-commit run --from-ref <base> --to-ref <head> --hook-stage manualdid not complete: actionlint Go-toolchain environment setup encountered download connection errors and timeouts. The focused documentation hooks above passed.Checklist
The runtime-test checklist items below do not apply to this documentation-only change. Hardware execution of the documented recipe remains unverified as stated above.
Testing
Boundary / edge-case coverage: I reviewed whether this change involves boundary conditions (e.g. empty input, single/zero element, min/max values, off-by-one, sequence-length limits, integer overflow). Where applicable, I added unit tests covering these edge cases in
tests/ut/ortests/e2e/.Regression test: If this PR fixes a bug, I added a regression test that would fail without the fix.
Error / failure path coverage: I covered abnormal paths (exceptions, timeouts, out-of-range, division by zero) in addition to the happy path.
Meaningful & reliable tests: New tests assert real behavior and are not written merely to satisfy CI.
Performance impact: If this PR touches a performance-sensitive path, I attached benchmark results and added performance regression tests.
vLLM main: vllm-project/vllm@544f182