Repository navigation
[Doc] Add DeepSeek-V4.1-Flash 950DT deployment and verification to main - #20137
linfeng-yuan wants to merge 1 commit into
Conversation
Signed-off-by: linfeng-yuan <1102311262@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 updates the DeepSeek-V4.1-Flash model documentation to include support for 950DT hardware deployment. It integrates necessary installation, colocated, and disaggregated (PD) workflows, along with Memcache KV Cache Pool configurations, ensuring these instructions are available on the main branch. The changes maintain existing A2/A3 deployment documentation while providing new, validated guidance for 950DT users. 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
This pull request adds comprehensive documentation for deploying the DeepSeek-V4.1-Flash model on 950DT products, covering single-node colocated, DP8 Prefill / DP8 Decode, and Memcache KV Cache Pool configurations. It includes detailed deployment scripts, hardware requirements, service verification steps, and performance tuning guidelines. The review feedback points out that the PR title and summary do not adhere to the repository's Pull Request Summary Style Guide and provides a compliant suggestion.
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>
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>
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>
…#20801) ### 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.0rc` with vLLM `v0.32.0`. Integrate the merged A3 update in #20764 while preserving its serving commands, accuracy table, and original tuning guidance. - Add single-node DP8/TP1/EP8 serving and two-node PD with DP8/TP1/EP8 per role, plus optional PCP8 Prefill and EP16 Decode layouts. The 950DT examples use the official `DeepSeek-V4.1-Flash-1017` MXFP checkpoint from the `deepseek-ai` repositories 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. - Add Memcache DRAM pooling and organize the instructions into `950DT products` and `A3 series` tabs, 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. - Cover all three hardware families and their pooling examples in the overview and feature table. Consolidate weight-path setup and service verification, and retain the original concise performance-tuning section. - Use `quay.io/ascend/vllm-ascend:{{ vllm_ascend_version }}-a5` consistently with the A2/A3 release image examples. Use `950DT products` in the prose and preserve the image suffix `-a5`. - Apply the relevant textual review feedback from #20764: omit redundant 950DT defaults, retain explicit Prefill eager execution and disabled Engram overlap, and repair section links. 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.md` and its incoming Memcache-service link in `DeepSeek-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`, and `git diff --check`: passed. - Syntax-checked 44 shell blocks, parsed four Python blocks, 65 shell JSON arguments and two standalone JSON blocks, and validated 47 local links against rendered Markdown. Release image macros were substituted for shell syntax checks. - Rendered the Memcache section with the repository's tab extension settings: two hardware tabs, each containing four steps. Validated the pooled Prefill batch-token alignment and explicit SWA replay. For the Decode prefix-cache update, verified that only the two 950DT Decode scripts changed; both pass Bash syntax checks and all ten JSON arguments parse. Other code blocks are unchanged by this update. - Verified that all ten upstream A2/A3 serving commands and launchers are unchanged. The 950DT launcher is preserved. The 950DT Prefill and Decode settings described above were checked against the paired vLLM v0.32.0 configuration and Ascend scheduler/connector code. - Rebased onto `0bd823c53`, containing #20764. - Full `bash format.sh ci` and the required `pre-commit run --from-ref <base> --to-ref <head> --hook-stage manual` did not complete: actionlint Go-toolchain environment setup encountered download connection errors and timeouts. The focused documentation hooks above passed. - No NPU inference, P-to-D transfer, pool-hit, accuracy, or performance validation was run for this update. --- ### 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/` or `tests/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 --------- Signed-off-by: rikakuhi <942697235@qq.com>
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
What this PR does / why we need it?
The main-branch DeepSeek-V4.1-Flash guide does not yet include the 950DT deployment workflows documented on
releases/v0.30.0. Port the merged guidance from #19988 together with the 950DT installation, colocated, PD, and Memcache sections needed to make those instructions usable on main.Document concurrent Prefill/Decode startup, DP master addressing, the ordinary non-layerwise PD proxy, service health checks, integer reasoning effort, and recommended 950DT configurations. Preserve the reviewed serving settings, including ordinary Prefill prefix caching. Keep all existing main-branch A2/A3 deployment instructions, commands, and section numbers, plus the bounded replay compatibility section. The verification table retains main's A3 port 8900 and A2 proxy port 2999.
New 950DT PD and Memcache sections use separate section numbers so existing A2/A3 links remain valid. The guide distinguishes the release validation baseline from development builds using the upstream revision recorded in
.github/vllm-main-verified.commit.Does this PR introduce any user-facing change?
No runtime or API changes; documentation only.
How was this patch tested?
bash -n, all 4 Python snippets withast.parse, and 70 JSON configuration objects. Checked unique anchors, all 26 internal links, and the 6 newly introduced relative links and their target anchors.git diff --check. The documentation hooks were selected from main's exact configuration into a temporary configuration outside the repository. The required fullbash format.sh ciwas attempted but timed out during actionlint environment initialization.2, and parsed reasoning. This port was checked statically and with launcher stubs; main-branch NPU execution was not rerun.No runtime tests were added because the change only updates the model guide.