Open
update: 更新文件 MiniMax-M2.7.md:添加两机互连测试 #26
shiyingAdd on Jun 2
update: 更新文件 MiniMax-M2.7.md:添加两机互连测试 #26
Open
Merged fromChenchangbing/update-DeepSeek-V3.2-w8a8-mtp-QuaRotintodevelop
Merge blocked
LLM/DeepSeek-V3/DeepSeek-V3.2-w8a8-mtp-QuaRot.md
Outdated
@@ -0,0 +9,4 @@
9+本指南已针对华鲲振宇昇腾(Ascend)系列硬件进行深度适配与验证,具体兼容性如下表所示:
10+
11+| 设备型号 | 起步设备数 | PD分离 | MTP | Function Call | 量化支持 |
12+| ------ |:----: |:----: |:----: |:----: |:----: |
13+| HuaKun AT3500 G3 服务器 | 1台 | ✅ | ✅ | ✅ | W8A8 |
这里把当前的设备都列出来,不支持的写不支持


System Message
Jun 5 Comments:
Jun 5 Comments:
changed this line on 80b57b16 view diff detail


LLM/DeepSeek-V3/DeepSeek-V3.2-w8a8-mtp-QuaRot.md
Outdated
@@ -0,0 +39,19 @@
39+npu-smi info
40++------------------------------------------------------------------------------------------------+
41+| npu-smi 25.5.1 Version: 25.5.1 |
42++---------------------------+---------------+----------------------------------------------------+
43+| NPU Name | Health | Power(W) Temp(C) Hugepages-Usage(page)|
44+| Chip | Bus-Id | AICore(%) Memory-Usage(MB) HBM-Usage(MB) |
45++===========================+===============+====================================================+
46+| 0 910B4-1 | OK | 90.2 33 0 / 0 |
47+| 0 | 0000:C1:00.0 | 0 0 / 0 2858 / 65536 |
48++===========================+===============+====================================================+
49+| 1 910B4-1 | OK | 83.2 33 0 / 0 |
50+| 0 | 0000:C2:00.0 | 0 0 / 0 2855 / 65536 |
51++===========================+===============+====================================================+
52++---------------------------+---------------+----------------------------------------------------+
53+| NPU Chip | Process id | Process name | Process memory(MB) |
54++===========================+===============+====================================================+
55+| No running processes found in NPU 0 |
56++===========================+===============+====================================================+
57+| No running processes found in NPU 1 |
58++===========================+===============+====================================================+
这个给服务器实际输出内容


LLM/DeepSeek-V3/DeepSeek-V3.2-w8a8-mtp-QuaRot.md
Outdated
@@ -0,0 +124,4 @@
124+```shell
125+1) --device=/dev/davincii0-7 需要执行命令 ll /dev/davinci* 查看
126+2)IMAGE、NAME、DATA_PATH、MODEL_WEIGHT_PATH等参数根据实际情况填写
127+3)DATA_PATH是数据盘挂载目录,存放权重文件的目录
128+```
参数说明类最好使用列表格式,不用代码块包裹


Chenchangbing
Jun 9 Comments:
Jun 9 Comments:
已修改


LLM/DeepSeek-V3/DeepSeek-V3.2-w8a8-mtp-QuaRot.md
Outdated
@@ -0,0 +156,1 @@
156+pip install huggingface_hub -i https://pypi.tuna.tsinghua.edu.cn/simple
157+huggingface-cli download Eco-Tech/DeepSeek-V3.2-w8a8-mtp-QuaRot --local-dir /data/DeepSeek-V3.2-w8a8-mtp-QuaRot
这个命令受huggingface_hub版本影响,国内需要设置镜像,建议直接删除


Chenchangbing
Jun 9 Comments:
Jun 9 Comments:
已修改


LLM/DeepSeek-V3/DeepSeek-V3.2-w8a8-mtp-QuaRot.md
Outdated
@@ -0,0 +175,2 @@
175+```shell
176+vim start_vllm_0.sh
177+```
这种简单的不用写上去


Chenchangbing
Jun 9 Comments:
Jun 9 Comments:
已修改


LLM/DeepSeek-V3/DeepSeek-V3.2-w8a8-mtp-QuaRot.md
Outdated
@@ -0,0 +179,44 @@
179+```shell
180+nic_name="enp189s0f0" #本节点网口
181+local_ip="192.168.16.91" #本节点ip
182+node0_ip="192.168.16.91" #以节点0为master节点
183+
184+export VLLM_ENGINE_READY_TIMEOUT_S=1500
185+export HCCL_OP_EXPANSION_MODE="AIV"
186+export HCCL_IF_IP=$local_ip
187+export GLOO_SOCKET_IFNAME=$nic_name
188+export TP_SOCKET_IFNAME=$nic_name
189+export HCCL_SOCKET_IFNAME=$nic_name
190+export OMP_PROC_BIND=false
191+export OMP_NUM_THREADS=100
192+export VLLM_USE_V1=1
193+export HCCL_BUFFSIZE=200
194+export VLLM_ASCEND_ENABLE_MLAPO=1
195+export PYTORCH_NPU_ALLOC_CONF=expandable_segments:True
196+export VLLM_ASCEND_ENABLE_FLASHCOMM1=1
197+export HCCL_CONNECT_TIMEOUT=120
198+export HCCL_INTRA_PCIE_ENABLE=1
199+export HCCL_INTRA_ROCE_ENABLE=0
200+export VLLM_ASCEND_ENABLE_FLASHCOMM1=1
201+
202+vllm serve /data/DeepSeek-V3.2-w8a8-mtp-QuaRot \
203+--host 0.0.0.0 \
204+--port 8077 \
205+--data-parallel-size 2 \
206+--data-parallel-size-local 1 \
207+--data-parallel-address $node0_ip \
208+--data-parallel-rpc-port 13389 \
209+--tensor-parallel-size 8 \
210+--quantization ascend \
211+--seed 1024 \
212+--served-model-name deepseek_v3_2 \
213+--enable-expert-parallel \
214+--max-num-seqs 16 \
215+--max-model-len 32769 \
216+--max-num-batched-tokens 4096 \
217+--trust-remote-code \
218+--no-enable-prefix-caching \
219+--gpu-memory-utilization 0.92 \
220+--compilation-config '{"cudagraph_mode": "FULL_DECODE_ONLY", "cudagraph_capture_sizes":[8, 16, 24, 32, 40, 48]}' \
221+--additional-config '{"layer_sharding": ["q_b_proj", "o_proj"]}' \
222+--speculative-config '{"num_speculative_tokens": 3, "method": "deepseek_mtp"}'
223+```
shell脚本使用#!/bin/bash作为第一行,需要制表的地方全部加上制表


Jun 5 Pushed 1 commits:80b57b16-update: 更新文件 DeepSeek-V3.2-w8a8-mtp-QuaRot.md
Jun 9 Pushed 1 commits:240c4d5e-update: 更新文件 DeepSeek-V3.2-w8a8-mtp-QuaRot.md
Chenchangbing
Jun 9 Comments:
Jun 9 Comments:
已修改


Jun 15 Removed approver xiewei21
Jun 15 Set xiewei21 as approver
Jun 15 Removed approver xiewei21
Jun 15 Set xiewei21 as approver
Chenchangbing/update-MiniMax-M2.7
docs/update-Qwen3-4B
docs/update-DeepSeek-V3.2-w8a8-mtp-QuaRot
update: 更新文件 DeepSeek-V3.2-w8a8-mtp-QuaRot.md
update: 更新文件 MiniMax-M2.7.md:添加两机互连测试