Repository navigation
[NPU] [DOC] Create deployment tutorials for mainstream models on Ascend NPU - #27893
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces comprehensive deployment tutorials and documentation for running various LLMs (including DeepSeek, GLM, Kimi, MiniMax, and Qwen models) on Ascend NPUs using SGLang. The review feedback highlights a critical, recurring configuration issue across multiple tutorial files: several deployment commands incorrectly specify Data Parallelism (--dp-size) alongside Tensor Parallelism (--tp-size) in scenarios where the Tensor Parallelism size already consumes all available NPUs on the node(s). This misconfiguration would cause the server launch to fail, and the reviewer recommends removing these invalid DP-related flags.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
b1bc48d to
325d747
Compare
…, FAQ positioning, and voice consistency
…all model tutorials
- Fix MiniMax-M2.5 specs: 456B/45.9B active -> ~230B/10B active, 1M -> 200K context, remove MLA - Fix Qwen3-8B/32B context length: 256K -> 128K (per official Qwen3 blog) - Fix DeepSeek V3.2 context parallel flags: --enable-dsa-* -> --enable-nsa-* (NSA for V3.2) - Update GLM-5.1 introduction with detailed architecture specs (744B/40B, 256 experts, MLA+DSA+MTP, ~200K context) - Add BF16 model weight links for Qwen3.6-27B and Qwen3.6-35B-A3B - Fix DeepSeek-R1 metatags description to match documented modes
- Unify tp/dp/ep flags to --xp-size format across all models - Add NPU Graph description: enabled by default, disable/control flags - Add Chunked Prefill description: auto based on device memory, disable with -1 - Remove unnecessary --max-prefill-tokens from chunked prefill examples - Replace chunked-prefill-size -1 with explicit positive values in examples - Fix glm_5_1 context parallelism: add --nsa-prefill-cp-mode, correct attn-cp-size to 4 - Fix SGLANG_ENABLE_OVERLAP_PLAN_STREAM=0 -> =1 for qwen3_6_27b and qwen3_6_35b - Remove unsupported --quantization modelslim from qwen3_6_35b_a3b - Standardize speculative draft model path placeholder - Add <br/> line breaks to long table rows for readability
…ntization mismatch
…in Ascend NPU model tutorials
…practice and update model-tutorial references
…e and remove redundant model-tutorial section
…aggregation section (no corresponding config exists)
46bf673 to
5663db5
Compare
|
/tag-and-rerun-ci |
None of these are introduced by this PR — they predate it; the new mint gate (internal) and a one-off lychee external scan surfaced them. #27893 Ascend NPU restructure (monolithic ascend_npu_best_practice split into best_practice/* + model-tutorials/*) left dangling cross-links and nav: - model-tutorials/*.mdx: drop anchors to best_practice sections that don't exist under those slugs (link to the model's best_practice page). - ascend_npu_optimization.mdx: point the DeepSeek-V3.2 reference at best_practice/deepseek_v3_2 and the general links at the Ascend NPU landing. - cookbook DeepSeek-V3.mdx: repoint the deleted ascend_npu_deepseek_example link. - docs.json: repoint 5 redirects and remove 5 stale nav entries to deleted pages. Upstream files/pages that moved (each verified 404 in a browser): - cookbook/diffusion/*: github multimodal_gen/docs/{install,support_matrix, openai_api,cache_dit}.md -> the /docs/sglang-diffusion/* pages they became. - srt/conversation.py -> srt/parser/conversation.py; ollama/README -> README.md. - ggerganov/llama.cpp -> ggml-org/llama.cpp (+ .md); qwenlm qwen-image-edit-2511 -> qwen-image-edit; nvidia MLNX_OFED and kubernetes-sigs/lws install-doc URLs. mint broken-links reports zero; the moved-page links verified 200 in a browser. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Motivation
Create deployment tutorials for mainstream models on Ascend NPU
Modifications
N/A
Accuracy Tests
N/A
Speed Tests and Profiling
N/A
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ciCI States
Latest PR Test (Base): ✅ Run #27924773314
Latest PR Test (Extra): ❌ Run #27924773253