Repository navigation
Conversation
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>
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 expands the DeepSeek-V4.1-Flash tutorial by introducing a detailed reference recipe for A5 (950DT) hardware. It provides necessary configuration steps for a two-server disaggregated Prefill-Decode deployment, ensuring users have a clear path for setting up the environment, launching DP engines, and configuring the MooncakeHybridConnector. The changes focus on providing a complete reference for the A5 architecture without altering existing A2/A3 examples. 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
|
|
👋 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. |
There was a problem hiding this comment.
Code Review
Suggested PR Title:
[Doc][Feature] Add documentation for DeepSeek-V4.1-Flash on A5 (950DT) hardwareSuggested PR Summary:
### What this PR does / why we need it?
This pull request updates the DeepSeek-V4.1-Flash tutorial documentation to add support and deployment instructions for 950DT products (A5). It introduces a DP8/TP1 Prefill-Decode (PD) disaggregated configuration reference using the original checkpoint, model runner V2, and native SWA bounded replay. Detailed steps are provided for Docker image installation, DP launcher setup, role-specific templates (Prefill and Decode), proxy deployment, and replay configuration.
### Does this PR introduce _any_ user-facing change?
No, this is a documentation-only update.
### How was this patch tested?
No code changes were made; documentation was updated and verified for accuracy.I have no further feedback to provide as there are no review comments.
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>
### 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>
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
3 similar comments
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
What this PR does / why we need it?
Document the 950DT (A5) DeepSeek-V4.1-Flash deployment options for
main.5120batch tokens, local prefix caching and--swa-bounded-replay. Decode uses1024batch tokens, local prefix caching,FULL_DECODE_ONLYand the recompute scheduler with--no-swa-bounded-replay.4096batch tokens and disables local prefix caching to expose external hits. Each worker contributes25GBof DRAM in the example.The matching release change is #20801.
Related contribution by @linfeng-yuan in #20137.
Does this PR introduce any user-facing change?
Documentation only. The change is confined to
docs/source/tutorials/models/DeepSeek-V4.1-Flash.md.How was this patch tested?
markdownlint,codespellandtypospre-commit hooks passed for the tutorial.git diff --checkpassed for the PR range.Dockerfile.a5. The Docker build was not executed./bin/bash. The symbolic-meta check passed when invoked with the local Python interpreter.f4066adf) in a local three-way merge to check a possible main backport. Both application orders produced the same tutorial. Checked the same-page anchors in both the standalone and combined tutorials. The A3 PD commands from [Doc] Update DeepSeek-V4.1-Flash W4A8 deployment for v0.32.0 #20764 and the 950DT service commands are preserved in the combined file.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@24420b7