Repository navigation
glm5.2 on ascend doc (new version) - #29828
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds a new documentation page for deploying the GLM-5.2 model with SGLang on Ascend NPUs, covering single-node, multi-node, and prefill-decode disaggregation deployment modes. The review feedback highlights several issues in the provided shell scripts, including duplicated --privileged=true flags in the Docker run commands, invalid bash syntax for setting the placeholder MODEL_PATH, and an unnecessary trailing backslash at the end of a command argument list.
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.
| docker run -itd --shm-size=16g --privileged=true --name ${NAME} \ | ||
| --privileged=true --net=host \ |
| docker run -itd --shm-size=16g --privileged=true --name ${NAME} \ | ||
| --privileged=true --net=host \ |
| export DEEPEP_NORMAL_LONG_SEQ_PER_ROUND_TOKENS=1024 | ||
| export DEEPEP_NORMAL_COMBINE_ENABLE_LONG_SEQ=1 | ||
|
|
||
| MODEL_PATH={"weights path"} |
There was a problem hiding this comment.
| export DEEPEP_NORMAL_COMBINE_ENABLE_LONG_SEQ=1 | ||
| export DEEP_NORMAL_MODE_USE_INT8_QUANT=1 | ||
|
|
||
| MODEL_PATH={"weights path"} |
There was a problem hiding this comment.
| IPS=('your ip1' 'your ip2') | ||
| IP_MASTER="${IPS[0]}:your port" | ||
|
|
||
| MODEL_PATH={"weights path"} |
There was a problem hiding this comment.
| P_IP=('your ip1') | ||
| D_IP=('your ip2') | ||
|
|
||
| MODEL_PATH={"weights path"} |
There was a problem hiding this comment.
| --load-balance-method round_robin \ | ||
| --enable-dp-lm-head --moe-dense-tp 1 \ | ||
| --speculative-draft-model-quantization unquant \ | ||
| --speculative-algorithm NEXTN --speculative-num-steps 1 --speculative-eagle-topk 1 --speculative-num-draft-tokens 2 \ |
There was a problem hiding this comment.
The trailing backslash \ is unnecessary here because this is the end of the command arguments. Leaving it can cause issues if the empty line below is removed or edited, as subsequent lines (comments) would be joined to the command.
--speculative-algorithm NEXTN --speculative-num-steps 1 --speculative-eagle-topk 1 --speculative-num-draft-tokens 2
|
approve |
|
/tag-and-rerun-ci |
Motivation
Modifications
Accuracy Tests
Speed Tests and Profiling
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ciCI States
Latest PR Test (Base): β Run #28574055727
Latest PR Test (Extra): β Run #28574055566