Skip to content

[Doc] Add DeepSeek-V4.1-Flash 950DT deployment and verification to main - #20137

Closed
linfeng-yuan wants to merge 1 commit into
vllm-project:mainfrom
linfeng-yuan:docs/dsv41-950dt-main
Closed

linfeng-yuan wants to merge 1 commit into
vllm-project:mainfrom
linfeng-yuan:docs/dsv41-950dt-main

Conversation

@linfeng-yuan

@linfeng-yuan linfeng-yuan commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

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?

  • Parsed all 47 shell snippets with bash -n, all 4 Python snippets with ast.parse, and 70 JSON configuration objects. Checked unique anchors, all 26 internal links, and the 6 newly introduced relative links and their target anchors.
  • Verified that all 11 existing main-branch serving blocks and the bounded replay section are preserved. Compared the A2/A3 deployment sections byte for byte against the main baseline. All 5 added 950DT serving blocks match the merged release guide.
  • Executed the ordinary and pooled 950DT P/D launchers using a stub vLLM command, checking 64 rank captures for identical command arguments, visible devices, ports, DP master addresses, and exported environments against [Doc][v0.30.0] Clarify DeepSeek-V4.1-Flash deployment and verification #19988.
  • Passed codespell v2.4.1, typos v1.32.0, markdownlint v0.45.0, and git diff --check. The documentation hooks were selected from main's exact configuration into a temporary configuration outside the repository. The required full bash format.sh ci was attempted but timed out during actionlint environment initialization.
  • Hardware execution evidence remains the release validation recorded in [Doc][v0.30.0] Clarify DeepSeek-V4.1-Flash deployment and verification #19988: two 950DT servers, 16 healthy P/D engines, and a successful text request returning HTTP 200, answer 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.

Signed-off-by: linfeng-yuan <1102311262@qq.com>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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

  • 950DT Deployment Documentation: Added comprehensive deployment workflows for 950DT products, covering single-node colocated and disaggregated (PD) setups.
  • Memcache KV Cache Pool Integration: Included detailed instructions for configuring Memcache KV Cache Pool with 950DT hardware, including MetaService and LocalService setup.
  • Service Verification and Tuning: Updated service health check procedures and added recommended performance tuning configurations for 950DT deployments.
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 Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Oct 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

👋 Hi! Thank you for contributing to the vLLM Ascend project. The following points will speed up your PR merge:‌‌

  • A PR should do only one thing, smaller PRs enable faster reviews.
  • Every PR should include unit tests and end-to-end tests ‌to ensure it works and is not broken by other future PRs.
  • Write the commit message by fulfilling the PR description to help reviewer and future developers understand.

If CI fails, you can run linting and testing checks locally according Contributing and Testing.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

rikakuhi added a commit to rikakuhi/vllm-ascend that referenced this pull request Nov 4, 2026
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>
rikakuhi added a commit to rikakuhi/vllm-ascend that referenced this pull request Nov 4, 2026
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>
rikakuhi added a commit to rikakuhi/vllm-ascend that referenced this pull request Nov 5, 2026
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>
liqian79 pushed a commit that referenced this pull request Nov 9, 2026
…#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>
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation merge-conflicts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants