Open
update: 更新文件 MiniMax-M2.7.md:添加两机互连测试 #26
update: 更新文件 MiniMax-M2.7.md:添加两机互连测试 #26
Open
shiyingAdd on Jun 2
shiying
shiyingCollaborators
Jun 2

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:添加两机互连测试

likedislike
Merge blocked
wesley
wesleyCollaboratorsJun 3Start code review3
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 |
wesley
wesleyJun 3Comments:

This code comment section is from+9To+13

这里把当前的设备都列出来,不支持的写不支持

likedislike
System
System MessageSystem
Jun 5 Comments:

changed this line on 80b57b16 view diff detail

likedislike
Chenchangbing
ChenchangbingCollaborators
Jun 9 Comments:

已修改

likedislike
wesley
wesleyCollaboratorsJun 3Start code review2
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++===========================+===============+====================================================+
wesley
wesleyJun 3Comments:

This code comment section is from+39To+80

这个给服务器实际输出内容

likedislike
Chenchangbing
ChenchangbingCollaborators
Jun 9 Comments:

已修改

likedislike
wesley
wesleyCollaboratorsJun 3Start code review2
LLM/DeepSeek-V3/DeepSeek-V3.2-w8a8-mtp-QuaRot.md
@@ -0,0 +95,4 @@
95+export NAME=deepseekV3.2
96+export DATA_PATH=/data
97+export MODEL_WEIGHT_PATH=/data/DeepSeek-V3.2-w8a8-mtp-QuaRot
98+docker run --rm \
wesley
wesleyJun 3Comments:

最好删除--rm,防止小白客户误删容器

likedislike
Chenchangbing
ChenchangbingCollaborators
Jun 9 Comments:

已修改

likedislike
wesley
wesleyCollaboratorsJun 3Start code review3
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+```
wesley
wesleyJun 3Comments:

This code comment section is from+124To+132

参数说明类最好使用列表格式,不用代码块包裹

likedislike
Chenchangbing
ChenchangbingCollaborators
Jun 9 Comments:

已修改

likedislike
System
System MessageSystem
Jun 9 Comments:

changed this line on 240c4d5e view diff detail

likedislike
wesley
wesleyCollaboratorsJun 3Start code review3
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
wesley
wesleyJun 3Comments:

This code comment section is from+156To+161

这个命令受huggingface_hub版本影响,国内需要设置镜像,建议直接删除

likedislike
Chenchangbing
ChenchangbingCollaborators
Jun 9 Comments:

已修改

likedislike
System
System MessageSystem
Jun 9 Comments:

changed this line on 240c4d5e view diff detail

likedislike
wesley
wesleyCollaboratorsJun 3Start code review3
LLM/DeepSeek-V3/DeepSeek-V3.2-w8a8-mtp-QuaRot.md
Outdated
@@ -0,0 +175,2 @@
175+```shell
176+vim start_vllm_0.sh
177+```
wesley
wesleyJun 3Comments:

This code comment section is from+175To+181

这种简单的不用写上去

likedislike
Chenchangbing
ChenchangbingCollaborators
Jun 9 Comments:

已修改

likedislike
System
System MessageSystem
Jun 9 Comments:

changed this line on 240c4d5e view diff detail

likedislike
wesley
wesleyCollaboratorsJun 3Start code review2
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+```
wesley
wesleyJun 3Comments:

This code comment section is from+179To+260

shell脚本使用#!/bin/bash作为第一行,需要制表的地方全部加上制表

likedislike
Chenchangbing
ChenchangbingCollaborators
Jun 9 Comments:

已修改

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

已修改

likedislike
ChenchangbingChenchangbingCollaborators
Jun 15 Removed approver xiewei21
ChenchangbingChenchangbingCollaborators
Jun 15 Set xiewei21 as approver
ChenchangbingChenchangbingCollaborators
Jun 15 Removed approver xiewei21
ChenchangbingChenchangbingCollaborators
Jun 15 Set xiewei21 as approver
wesleywesleyCollaborators
Jun 23 Pushed 1 commits:378795fb-update: 更新文件 MiniMax-M2.7-910C.md