{"id":81444,"date":"2026-07-25T02:01:12","date_gmt":"2026-07-24T18:01:12","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/81444.html"},"modified":"2026-07-25T02:01:12","modified_gmt":"2026-07-24T18:01:12","slug":"%e9%b2%b2%e9%b9%8fcpu-8%e5%8d%a1910a-npu%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%a4%a7%e8%af%ad%e8%a8%80%e6%a8%a1%e5%9e%8b%e6%8e%a8%e7%90%86%e9%83%a8%e7%bd%b2%e6%b5%8b%e8%af%95%e6%8a%a5%e5%91%8a","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/81444.html","title":{"rendered":"\u9cb2\u9e4fCPU + 8\u5361910A NPU\u670d\u52a1\u5668\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u90e8\u7f72\u6d4b\u8bd5\u62a5\u544a"},"content":{"rendered":"<p style=\"text-align:center\">\u00a0<\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:216pt\">\n<p>\u62a5\u544a\u7f16\u53f7<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:216pt\">\n<p>RPT-910A-20260531-002<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u6d4b\u8bd5\u65e5\u671f<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>2026\u5e745\u670830\u65e5-31\u65e5<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u00a0<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u670d\u52a1\u5668<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>bms-ytcs910a-260529 (\u9cb2\u9e4fCPU &#043; 8\u5361910A NPU)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u62a5\u544a\u7248\u672c<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>V2.0 (\u7efc\u5408\u7248)<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align:start\">\u00a0<\/p>\n<h2 style=\"text-align:start\"><span style=\"color:#366091\"><span style=\"color:#366091\">\u4e00\u3001\u6d4b\u8bd5\u6982\u8ff0<\/span><\/span><\/h2>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u672c\u6b21\u6d4b\u8bd5\u5386\u65f6\u7ea612\u5c0f\u65f6&#xff0c;\u7cfb\u7edf\u6027\u5730\u9a8c\u8bc1\u4e86\u5728\u534e\u4e3a\u6607\u817e910A NPU\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u670d\u52a1\u7684\u53ef\u884c\u6027\u3002<\/span><\/p>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u6d4b\u8bd5\u5148\u540e\u5c1d\u8bd5\u4e86\u4e09\u79cd\u4e3b\u6d41\u63a8\u7406\u6846\u67b6&#xff1a;<\/span><\/p>\n<ul>\n<li>vLLM &#043; vLLM-Ascend&#xff1a;\u57fa\u4e8ePyTorch\u751f\u6001\u7684\u9ad8\u6027\u80fd\u63a8\u7406\u6846\u67b6&#xff0c;\u652f\u6301\u8fde\u7eed\u6279\u5904\u7406\u548cPagedAttention\u3002\u6700\u7ec8\u56e0910A\u786c\u4ef6\u7b97\u5b50\u5e93\u7f3a\u5931&#xff08;SwiGlu\u7b49\u5173\u952e\u7b97\u5b50\u4e0d\u652f\u6301&#xff09;\u800c\u5931\u8d25\u3002<\/li>\n<li>llama.cpp &#043; CANN\u540e\u7aef&#xff1a;\u7eafC&#043;&#043;\u5b9e\u73b0\u7684\u8f7b\u91cf\u7ea7\u63a8\u7406\u6846\u67b6\u3002\u56e0CANN 9.1.0-beta.1\u4e0ellama.cpp\u6700\u65b0\u4ee3\u7801\u5934\u6587\u4ef6\u4e0d\u517c\u5bb9&#xff08;aclnn_fused_infer_attention_score_v2.h\u7f3a\u5931&#xff09;&#xff0c;\u4e14GCC 7.3.0\u4e0d\u652f\u6301ARM NEON x2\/x4 intrinsics\u800c\u7f16\u8bd1\u5931\u8d25\u3002<\/li>\n<li>PyTorch Native &#043; torch_npu &#043; transformers&#xff1a;\u6700\u7ec8\u6210\u529f\u65b9\u6848\u3002\u57fa\u4e8e\u534e\u4e3a\u539f\u751fPyTorch NPU\u540e\u7aef&#xff0c;\u901a\u8fc7transformers\u7684device_map&#061;&#034;auto&#034;\u5b9e\u73b0\u591a\u5361\u6a21\u578b\u5e76\u884c&#xff0c;\u6210\u529f\u90e8\u7f72Qwen3-32B Dense\u6a21\u578b\u3002<\/li>\n<\/ul>\n<p style=\"text-align:start\">\u00a0<\/p>\n<h2 style=\"text-align:start\"><span style=\"color:#366091\"><span style=\"color:#366091\">\u4e8c\u3001\u6d4b\u8bd5\u73af\u5883<\/span><\/span><\/h2>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">2.1 \u786c\u4ef6\u73af\u5883<\/span><\/span><\/h3>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:216pt\">\n<p>\u9879\u76ee<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:216pt\">\n<p>\u914d\u7f6e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u670d\u52a1\u5668\u578b\u53f7<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u9cb2\u9e4fCPU &#043; 8\u5361910A NPU<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>CPU\u67b6\u6784<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>ARM aarch64<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>NPU\u578b\u53f7<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u6607\u817e910PremiumA \u00d7 8\u5361<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>NPU\u663e\u5b58<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u5355\u536132GB HBM2&#xff08;\u603b\u91cf256GB&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>NPU\u9a71\u52a8<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>25.5.0&#xff08;\u5347\u7ea7\u540e&#xff09;<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align:start\">\u00a0<\/p>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">2.2 \u8f6f\u4ef6\u73af\u5883&#xff08;\u6700\u7ec8\u6210\u529f\u65b9\u6848&#xff09;<\/span><\/span><\/h3>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:144pt\">\n<p>\u7ec4\u4ef6<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:144pt\">\n<p>\u7248\u672c<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:144pt\">\n<p>\u72b6\u6001<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u64cd\u4f5c\u7cfb\u7edf<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>EulerOS 2.0 (SP8) \/ Ubuntu 22.04<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u2705<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>CANN<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>8.5.0&#xff08;\u5bb9\u5668\u5185&#xff09;<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u2705<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>Python<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>3.11.6&#xff08;\u5bb9\u5668\u5185&#xff09;<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u2705<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>PyTorch<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>2.1.0&#043;cpu<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u2705<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>torch_npu<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>2.1.0.post18.dev20251112<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u2705<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>transformers<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>4.51.0&#xff08;\u6700\u7ec8\u7a33\u5b9a\u7248&#xff09;<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u2705<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>accelerate<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>0.30.0<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u2705<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>Flask<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u6700\u65b0\u7248<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u2705<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align:start\">\u00a0<\/p>\n<h2 style=\"text-align:start\"><span style=\"color:#366091\"><span style=\"color:#366091\">\u4e09\u3001\u6d4b\u8bd5\u76ee\u6807\u4e0e\u6a21\u578b\u77e9\u9635<\/span><\/span><\/h2>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u6d4b\u8bd5\u76ee\u6807&#xff1a;\u5728910A\u670d\u52a1\u5668\u4e0a\u627e\u5230\u80fd\u591f\u7a33\u5b9a\u8fd0\u884c\u3001\u4e14\u53c2\u6570\u89c4\u6a21\u5c3d\u53ef\u80fd\u5927\u7684\u5f00\u6e90\u5927\u8bed\u8a00\u6a21\u578b&#xff0c;\u5e76\u9a8c\u8bc1\u5176\u591a\u5361\u5e76\u884c\u63a8\u7406\u80fd\u529b\u3002<\/span><\/p>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">3.1 \u6d4b\u8bd5\u6a21\u578b\u77e9\u9635<\/span><\/span><\/h3>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:72pt\">\n<p>\u6a21\u578b<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:72pt\">\n<p>\u67b6\u6784<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:72pt\">\n<p>\u53c2\u6570\u91cf<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:72pt\">\n<p>\u5c42\u6570<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:72pt\">\n<p>\u6a21\u6001<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:72pt\">\n<p>\u6d4b\u8bd5\u7ed3\u679c<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>Qwen3.6-27B<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>Dense<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>27B<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>64\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u591a\u6a21\u6001(\u6587\u672c&#043;\u56fe\u50cf&#043;\u89c6\u9891)<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u274c transformers\u521d\u59cb\u5316\u5361\u4f4f&#xff08;vision\u6a21\u5757&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>Qwen3-30B-A3B<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>MoE<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>30B\u603b\/3B\u6fc0\u6d3b<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>48\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u7eaf\u6587\u672c<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u274c \u52a0\u8f7d\u6210\u529f&#xff0c;\u63a8\u7406\u5361\u4f4f&#xff08;MoE\u8def\u7531\u7b97\u5b50\u4e0d\u652f\u6301&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>Qwen3.5-35B-A3B<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>MoE<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>35B\u603b\/3B\u6fc0\u6d3b<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>48\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u7eaf\u6587\u672c<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u274c transformers 4.51.0\u4e0d\u652f\u6301qwen3_5_moe\u67b6\u6784<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>Qwen3.5-27B<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>Dense<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>27B<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>64\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u7eaf\u6587\u672c<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u274c transformers 4.51.0\u4e0d\u652f\u6301qwen3_5\u67b6\u6784<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>Qwen2.5-14B-Instruct<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>Dense<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>14B<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>48\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u7eaf\u6587\u672c<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u2705 2\u5361\/4\u5361\/8\u5361\u5747\u9a8c\u8bc1\u6210\u529f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>Qwen3-32B<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>Dense<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>32B<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>64\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u7eaf\u6587\u672c<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u2705 8\u5361\u9a8c\u8bc1\u6210\u529f&#xff08;\u6700\u7ec8\u751f\u4ea7\u65b9\u6848&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>Qwen3-32B<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>Dense<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>32B<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>64\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u7eaf\u6587\u672c<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u274c 4\u5361OOM&#xff08;910A\u8fde\u7eed\u5185\u5b58\u9650\u5236&#xff09;<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"text-align:start\"><span style=\"color:#366091\"><span style=\"color:#366091\">\u56db\u3001\u5404\u65b9\u6848\u8be6\u7ec6\u6d4b\u8bd5\u8fc7\u7a0b<\/span><\/span><\/h2>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">4.1 vLLM-Ascend\u65b9\u6848&#xff08;\u7ea610\u5c0f\u65f6&#xff0c;\u6700\u7ec8\u5931\u8d25&#xff09;<\/span><\/span><\/h3>\n<p style=\"text-align:start\"><span style=\"color:#000000\">vLLM-Ascend\u662f\u534e\u4e3a\u4e0e\u793e\u533a\u5408\u4f5c\u7684\u9ad8\u6027\u80fd\u63a8\u7406\u6846\u67b6&#xff0c;\u5b98\u65b9\u660e\u786e\u6807\u6ce8910A&#034;\u6682\u65e0\u8ba1\u5212&#034;\u652f\u6301\u3002\u4f46\u57fa\u4e8e\u6280\u672f\u63a2\u7d22\u76ee\u7684&#xff0c;\u4ecd\u8fdb\u884c\u4e86\u5b8c\u6574\u5c1d\u8bd5\u3002<\/span><\/p>\n<ul>\n<li>CANN\u5b89\u88c5&#xff1a;CANN 9.0.0\u5b89\u88c5\u56e0\u9a71\u52a8\u517c\u5bb9\u6027\u68c0\u67e5\u5931\u8d25&#xff1b;CANN 9.1.0-beta.1\u901a\u8fc7RPM\u5305\u5b89\u88c5\u6210\u529f&#xff0c;\u4f46\u7f3a\u5c11ATB\/NNAL\u52a0\u901f\u5e93\u3002<\/li>\n<li>Python\u73af\u5883&#xff1a;\u5bbf\u4e3b\u673aPython 3.7.0\u592a\u8001&#xff0c;\u7f16\u8bd1\u5b89\u88c5Python 3.10.13&#xff0c;\u521b\u5efa\u865a\u62df\u73af\u5883vllm-910a-env\u3002<\/li>\n<li>torch_npu\u9002\u914d&#xff1a;\u7ecf\u53862.1.0\u21922.4.0\u21922.5.1\u4e09\u4e2a\u7248\u672c\u8fed\u4ee3&#xff0c;\u6700\u7ec82.5.1\u914d\u5408\u5347\u7ea7\u540e\u7684\u9a71\u52a8\u624d\u80fd\u6b63\u5e38\u5de5\u4f5c\u3002<\/li>\n<li>vLLM\u7f16\u8bd1&#xff1a;vLLM 0.7.3\u6e90\u7801\u5b89\u88c5&#xff0c;\u4fee\u6539setup.py\u786c\u7f16\u7801\u7248\u672c\u53f7\u7ed5\u8fc7Git\u68c0\u6d4b&#xff1b;\u8bbe\u7f6eVLLM_TARGET_DEVICE&#061;empty\u3002<\/li>\n<li>vLLM-Ascend\u5b89\u88c5&#xff1a;pip install vllm-ascend&#061;&#061;0.7.3&#xff0c;\u81ea\u52a8\u5b89\u88c5torch 2.5.1\u3001torch-npu 2.5.1\u7b49\u4f9d\u8d56\u3002<\/li>\n<li>\u6a21\u578b\u914d\u7f6e\u95ee\u9898&#xff1a;Qwen3.6-27B\u7684text_config\u4e3adict\u7c7b\u578b&#xff0c;vLLM\u7684get_hf_text_config\u65ad\u8a00\u5931\u8d25&#xff1b;\u6253\u8865\u4e01\u517c\u5bb9\u3002<\/li>\n<li>tokenizer\u95ee\u9898&#xff1a;transformers 5.9.0\u79fb\u9664\u4e86all_special_tokens_extended&#xff0c;vLLM 0.7.3\u8fd8\u5728\u4f7f\u7528&#xff1b;\u6253\u8865\u4e01\u517c\u5bb9\u3002<\/li>\n<li>ATB\/NNAL\u7f3a\u5931&#xff1a;libatb.so\u7f3a\u5931&#xff0c;\u5b89\u88c5NNAL 9.1.0-beta.1\u5931\u8d25&#xff1b;\u521b\u5efa\u8f6f\u94fe\u63a5\u3001\u8bbe\u7f6eLD_PRELOAD\u7b49\u5747\u672a\u89e3\u51b3\u3002<\/li>\n<li>\u81f4\u547d\u9519\u8bef&#xff1a;SwiGlu\u7b97\u5b50&#xff1a;aclnnSwiGlu failed: socVersion [ascend910] does not support opType [SwiGlu]\u3002910A\u786c\u4ef6CANN 9.1.0-beta.1\u7b97\u5b50\u5e93\u4e0d\u652f\u6301SwiGlu&#xff0c;\u8fd9\u662fvLLM-Ascend\u4f9d\u8d56ATB\u7b97\u5b50\u52a0\u901f\u5e93\u7684\u56fa\u6709\u7f3a\u9677&#xff0c;\u65e0\u6cd5\u7ed5\u8fc7\u3002<\/li>\n<\/ul>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u7ed3\u8bba&#xff1a;vLLM-Ascend 0.7.3\u5b98\u65b9\u8981\u6c42CANN 8.1.RC1&#xff0c;\u4e0e910A\u7684CANN 9.1.0-beta.1\u4e0d\u5339\u914d&#xff0c;\u4e14910A\u7b97\u5b50\u5e93\u7f3a\u5c11SwiGlu\u7b49\u5173\u952e\u7b97\u5b50\u3002<\/span><\/p>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">4.2 llama.cpp &#043; CANN\u540e\u7aef\u65b9\u6848&#xff08;\u7f16\u8bd1\u5931\u8d25&#xff09;<\/span><\/span><\/h3>\n<ul>\n<li>CMake\u914d\u7f6e&#xff1a;CANN 9.1.0-beta.1\u8bc6\u522b\u6b63\u5e38&#xff0c;SOC_VERSION&#061;Ascend910PremiumA&#xff0c;CANN\u540e\u7aef\u5df2\u5305\u542b\u3002<\/li>\n<li>\u7f16\u8bd1\u9519\u8bef1&#xff1a;aclnn_fused_infer_attention_score_v2.h\u5934\u6587\u4ef6\u7f3a\u5931\u3002llama.cpp\u6700\u65b0\u4ee3\u7801(b9260)\u9488\u5bf9CANN 8.5.T63\u5f00\u53d1&#xff0c;CANN 9.1.0 beta\u7684ACLNN API\u6709\u53d8\u5316\u3002<\/li>\n<li>\u7f16\u8bd1\u9519\u8bef2&#xff1a;GCC 7.3.0\u4e0d\u652f\u6301ARM NEON x2\/x4 intrinsics&#xff08;vld1q_s16_x2\u7b49&#xff09;&#xff0c;\u9700\u8981GCC 9&#043;\u3002<\/li>\n<li>\u964d\u7ea7\u5c1d\u8bd5&#xff1a;\u5c1d\u8bd5\u56de\u9000\u5230b8547\u7248\u672c&#xff0c;\u4f46910A\u517c\u5bb9\u6027\u4ecd\u4e0d\u660e\u786e\u3002<\/li>\n<\/ul>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u7ed3\u8bba&#xff1a;llama.cpp CANN\u540e\u7aef\u5728910A &#043; CANN 9.1.0-beta.1 &#043; GCC 7.3.0\u73af\u5883\u4e0b\u7f16\u8bd1\u5931\u8d25&#xff0c;\u9700\u8981\u5347\u7ea7GCC\u6216\u7b49\u5f85\u5b98\u65b9\u9002\u914d\u3002<\/span><\/p>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">4.3 PyTorch Native &#043; torch_npu &#043; transformers\u65b9\u6848&#xff08;\u6210\u529f&#xff09;<\/span><\/span><\/h3>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u57fa\u4e8e\u6210\u90fd\u667a\u7b97\u4e2d\u5fc3\u63d0\u4f9b\u7684mindie_910a:2.3.0 Docker\u955c\u50cf&#xff0c;\u5185\u7f6eCANN 8.5.0 &#043; PyTorch 2.1.0 &#043; torch_npu 2.1.0&#xff0c;\u4e0e\u9a71\u52a825.5.0\u5b8c\u7f8e\u517c\u5bb9\u3002<\/span><\/p>\n<ul>\n<li>\u955c\u50cf\u52a0\u8f7d&#xff1a;docker load -i mindie_230_910a.tar \u2192 mindie_910a:2.3.0<\/li>\n<li>\u5bb9\u5668\u542f\u52a8&#xff1a;\u6302\u8f7dNPU\u8bbe\u5907\u3001\u9a71\u52a8\u3001\u65e5\u5fd7\u76ee\u5f55&#xff0c;-v \/data:\/home\u6620\u5c04\u6a21\u578b\u76ee\u5f55<\/li>\n<li>PyTorch\u5347\u7ea7&#xff1a;\u5bb9\u5668\u5185PyTorch 2.1.0\u4e0etransformers 5.2.0\u4e0d\u517c\u5bb9&#xff0c;\u964d\u7ea7transformers\u52304.41.2\/4.51.0<\/li>\n<li>accelerate\u95ee\u9898&#xff1a;transformers 5.2.0\u7684accelerate\u68c0\u6d4b\u903b\u8f91\u6709bug&#xff0c;\u624b\u52a8\u521b\u5efaaccelerate.py stub\u6587\u4ef6\u7ed5\u8fc7<\/li>\n<li>device_map\u5206\u914d&#xff1a;\u624b\u52a8\u6784\u5efadevice_map\u5b57\u5178&#xff0c;\u5c0664\u5c42\u5747\u5300\u5206\u914d\u5230\u5404NPU&#xff0c;embed_tokens\u548clm_head\u5fc5\u987b\u5728\u540c\u4e00\u8bbe\u5907&#xff08;\u5171\u4eab\u6743\u91cd&#xff09;<\/li>\n<li>910A\u5173\u952e\u9650\u5236&#xff1a;do_sample&#061;False&#xff08;greedy decoding&#xff09;&#xff1a;910A\u7684MultinomialWithReplacement AICPU\u7b97\u5b50\u6709bug&#xff0c;\u5fc5\u987b\u7981\u7528temperature\/top_p\/top_k\u91c7\u6837<\/li>\n<li>attention\u5b9e\u73b0&#xff1a;attn_implementation&#061;&#034;eager&#034;&#xff1a;\u907f\u514dsliding window attention\u5728sdpa\u4e0b\u7684\u517c\u5bb9\u6027\u95ee\u9898<\/li>\n<\/ul>\n<h2 style=\"text-align:start\"><span style=\"color:#366091\"><span style=\"color:#366091\">\u4e94\u3001\u5361\u6570\u914d\u7f6e\u5c1d\u8bd5\u8bb0\u5f55<\/span><\/span><\/h2>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u9488\u5bf9Qwen3-32B Dense\u6a21\u578b&#xff08;64\u5c42&#xff0c;5120 hidden_size&#xff0c;FP16\u7ea664GB\u6743\u91cd&#xff09;&#xff0c;\u7cfb\u7edf\u6027\u5730\u6d4b\u8bd5\u4e861\u5361\/2\u5361\/4\u5361\/8\u5361\u914d\u7f6e&#xff1a;<\/span><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:72pt\">\n<p>\u5361\u6570<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:72pt\">\n<p>\u6bcf\u5361\u5c42\u6570<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:72pt\">\n<p>\u6bcf\u5361\u6743\u91cd<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:72pt\">\n<p>\u603bHBM<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:72pt\">\n<p>\u7ed3\u679c<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:72pt\">\n<p>\u539f\u56e0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>1\u5361<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>64\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>~64GB<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>32GB<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u274c OOM<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u6743\u91cd\u8fdc\u8d85\u5355\u5361\u5bb9\u91cf<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>2\u5361<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>32\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>~32GB<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>64GB<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u274c OOM<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u6bcf\u536132GB &gt; \u5b9e\u9645\u53ef\u7528\u8fde\u7eed\u5185\u5b58<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>4\u5361<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>16\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>~16GB<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>128GB<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u274c OOM\/\u788e\u7247<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>910A PyTorch NPU\u5206\u914d\u5668\u65e0\u6cd5\u5206\u914d16GB\u8fde\u7eed\u5757&#xff0c;max_split_size_mb\u53c2\u6570\u65e0\u6cd5\u89e3\u51b3<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>6\u5361<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>10-11\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>~10-11GB<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>192GB<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u23f8 \u672a\u6d4b\u8bd5<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u7406\u8bba\u53ef\u884c&#xff0c;\u75592\u5361\u7ed9\u5176\u4ed6\u4efb\u52a1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>8\u5361<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>8\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>~8GB<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>256GB<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u2705 \u6210\u529f<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:72pt\">\n<p>\u6bcf\u53618GB\u6743\u91cd&#xff0c;\u4f59\u91cf24GB\u7528\u4e8eKV Cache\u548c\u5e76\u53d1<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align:start\">\u00a0<\/p>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u5173\u952e\u53d1\u73b0&#xff1a;910A\u5355\u5361\u867d\u7136\u6807\u79f032GB HBM&#xff0c;\u4f46PyTorch NPU\u540e\u7aef\u5b9e\u9645\u53ef\u7528\u7684\u8fde\u7eed\u5185\u5b58\u5757\u7ea6\u4e3a15-16GB&#xff08;\u53d7\u5206\u914d\u5668\u9650\u5236&#xff09;\u3002\u56e0\u6b644\u5361\u6bcf\u536116\u5c42&#xff08;\u7ea616GB&#xff09;\u7684\u914d\u7f6e\u4f1a\u89e6\u53d1OOM&#xff0c;\u800c8\u5361\u6bcf\u53618\u5c42&#xff08;\u7ea68GB&#xff09;\u5219\u5b8c\u5168\u5728\u5b89\u5168\u8303\u56f4\u5185\u3002<\/span><\/p>\n<p style=\"text-align:start\">\u00a0<\/p>\n<h2 style=\"text-align:start\"><span style=\"color:#366091\"><span style=\"color:#366091\">\u516d\u3001\u5173\u952e\u95ee\u9898\u8e29\u5751\u8bb0\u5f55<\/span><\/span><\/h2>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u95ee\u98981&#xff1a;transformers\u7248\u672c\u517c\u5bb9\u6027<br \/>\ntransformers 5.2.0\u8981\u6c42PyTorch \u22652.4&#xff0c;\u4f46\u5bb9\u5668\u5185PyTorch 2.1.0\u4e0eCANN 8.5.0\u7ed1\u5b9a&#xff0c;\u5347\u7ea7PyTorch\u4f1a\u7834\u574fNPU\u517c\u5bb9\u6027\u3002\u89e3\u51b3\u65b9\u6848&#xff1a;\u964d\u7ea7transformers\u52304.51.0&#xff08;\u652f\u6301PyTorch 2.1.0\u4e14\u652f\u6301Qwen3\u67b6\u6784&#xff09;\u3002<\/span><\/p>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u95ee\u98982&#xff1a;accelerate\u6a21\u5757\u7f3a\u5931<br \/>\ntransformers 5.2.0\u7684device_map\u68c0\u6d4b\u903b\u8f91\u6709bug&#xff0c;\u5373\u4f7f\u5b89\u88c5\u4e86accelerate 0.34.2\u4e5f\u62a5\u9519&#034;requires accelerate&#034;\u3002\u89e3\u51b3\u65b9\u6848&#xff1a;\u624b\u52a8\u521b\u5efaaccelerate.py stub\u6587\u4ef6&#xff0c;\u6ce8\u5165is_accelerate_available&#061;True\u548ccheck_and_set_device_map\u51fd\u6570\u3002<\/span><\/p>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u95ee\u98983&#xff1a;tied parameters\u8bbe\u5907\u5206\u914d<br \/>\nlm_head.weight\u548cmodel.embed_tokens.weight\u5171\u4eab\u6743\u91cd&#xff0c;device_map\u4e2d\u5fc5\u987b\u5206\u914d\u5230\u540c\u4e00NPU\u8bbe\u5907&#xff0c;\u5426\u5219\u4f1a\u62a5&#034;Tied parameters are on different devices&#034;\u9519\u8bef\u3002<\/span><\/p>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u95ee\u98984&#xff1a;bfloat16\u4e0d\u652f\u6301<br \/>\nQwen3\u7cfb\u5217\u6a21\u578bconfig\u9ed8\u8ba4torch_dtype&#061;bfloat16&#xff0c;910A\u786c\u4ef6\u4e0d\u652f\u6301bfloat16\u3002\u89e3\u51b3\u65b9\u6848&#xff1a;\u5f3a\u5236config.torch_dtype&#061;torch.float16&#xff0c;\u5e76\u5728\u52a0\u8f7d\u540e\u904d\u5386\u53c2\u6570\u8f6c\u6362\u6b8b\u7559bfloat16\u3002<\/span><\/p>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u95ee\u98985&#xff1a;MultinomialWithReplacement AICPU\u7b97\u5b50bug<br \/>\n910A\u7684CANN 8.5.0\u4e2dMultinomialWithReplacement\u7b97\u5b50\u5b9e\u73b0\u6709\u7f3a\u9677&#xff0c;do_sample&#061;True\u65f6\u89e6\u53d1ERR99999 UNKNOWN application exception\u3002\u89e3\u51b3\u65b9\u6848&#xff1a;\u5f3a\u5236do_sample&#061;False&#xff08;greedy decoding&#xff09;&#xff0c;\u7981\u7528temperature\/top_p\/top_k\u3002<\/span><\/p>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u95ee\u98986&#xff1a;Sliding Window Attention<br \/>\nQwen3\u4f7f\u7528sliding window attention&#xff0c;transformers\u7684sdpa\u5b9e\u73b0\u4e0d\u652f\u6301\u3002\u89e3\u51b3\u65b9\u6848&#xff1a;attn_implementation&#061;&#034;eager&#034;&#xff0c;\u4f7f\u7528\u7eafPyTorch\u5b9e\u73b0\u3002<\/span><\/p>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u95ee\u98987&#xff1a;MoE\u6a21\u578b\u8def\u7531\u7b97\u5b50\u4e0d\u652f\u6301<br \/>\nQwen3-30B-A3B&#xff08;MoE&#xff09;\u52a0\u8f7d\u6210\u529f\u4f46\u63a8\u7406\u5361\u4f4f&#xff0c;910A\u4e0d\u652f\u6301MoE\u7684topk\/gate\u8def\u7531\u7b97\u5b50\u3002\u89e3\u51b3\u65b9\u6848&#xff1a;\u653e\u5f03MoE\u6a21\u578b&#xff0c;\u6539\u7528Dense\u6a21\u578b\u3002<\/span><\/p>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u95ee\u98988&#xff1a;\u591a\u6a21\u6001\u6a21\u578b\u521d\u59cb\u5316\u5361\u4f4f<br \/>\nQwen3.6-27B\u542bvision encoder&#xff0c;transformers\u521d\u59cb\u5316\u65f6\u6784\u5efa\u56fe\u50cf\u5904\u7406\u6a21\u5757\u8017\u65f6\u6781\u957f&#xff08;30\u5206\u949f&#043;\u65e0\u8f93\u51fa&#xff09;\u3002\u89e3\u51b3\u65b9\u6848&#xff1a;\u653e\u5f03\u591a\u6a21\u6001\u6a21\u578b&#xff0c;\u6539\u7528\u7eaf\u6587\u672c\u6a21\u578b\u3002<\/span><\/p>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u95ee\u98989&#xff1a;Docker\u955c\u50cf\u6587\u4ef6\u635f\u574f<br \/>\nmindie_230_910a.tar\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u635f\u574f&#xff08;unexpected EOF&#xff09;&#xff0c;\u91cd\u65b0\u4e0b\u8f7d\u5b8c\u6574\u955c\u50cf\u540e\u89e3\u51b3\u3002<\/span><\/p>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u95ee\u989810&#xff1a;\u9a71\u52a8\u7248\u672c\u4e0d\u5339\u914d<br \/>\n\u521d\u59cb\u9a71\u52a823.0.0\u4e0eCANN 8.5.0\u4e0d\u517c\u5bb9&#xff0c;\u5bfc\u81f4AICPU ops\u52a0\u8f7d\u5931\u8d25&#xff08;507033\/E39006&#xff09;\u3002\u89e3\u51b3\u65b9\u6848&#xff1a;\u5347\u7ea7\u9a71\u52a8\u523025.5.0\u3002<\/span><\/p>\n<p style=\"text-align:start\">\u00a0<\/p>\n<h2 style=\"text-align:start\"><span style=\"color:#366091\"><span style=\"color:#366091\">\u4e03\u3001\u6700\u7ec8\u6210\u529f\u65b9\u6848&#xff1a;Qwen3-32B 8\u5361\u90e8\u7f72<\/span><\/span><\/h2>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">7.1 \u90e8\u7f72\u67b6\u6784<\/span><\/span><\/h3>\n<p style=\"text-align:start\"><span style=\"color:#000000\">\u91c7\u7528Flask &#043; PyTorch Native &#043; torch_npu &#043; transformers\u67b6\u6784&#xff0c;8\u5361\u6a21\u578b\u5e76\u884c&#xff08;Model Parallelism&#xff09;&#xff0c;\u6bcf\u5361\u627f\u8f7d8\u5c42Transformer\u3002<\/span><\/p>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:216pt\">\n<p>\u63a8\u7406\u6846\u67b6<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:216pt\">\n<p>PyTorch Native &#043; torch_npu<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>API\u5c42<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>Flask (threaded&#061;True)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u5e76\u884c\u7b56\u7565<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u6a21\u578b\u5e76\u884c&#xff08;Model Parallelism&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u5361\u6570<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>8\u5361&#xff08;NPU 0-7&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u6bcf\u5361\u8d1f\u8f7d<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>8\u5c42 &#043; \u90e8\u5206\u5171\u4eab\u6743\u91cd<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">7.2 \u5173\u952e\u914d\u7f6e\u53c2\u6570<\/span><\/span><\/h3>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:216pt\">\n<p>\u6a21\u578b\u8def\u5f84<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:216pt\">\n<p>\/home\/models\/Qwen3-32B<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u6570\u636e\u7c7b\u578b<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>torch.float16&#xff08;910A\u4e0d\u652f\u6301bfloat16&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>device_map<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u624b\u52a8\u5206\u914d&#xff0c;8\u5361\u54048\u5c42<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>attention\u5b9e\u73b0<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>eager&#xff08;\u907f\u514dsliding window\u4e0d\u517c\u5bb9&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u91c7\u6837\u7b56\u7565<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>do_sample&#061;False&#xff08;greedy decoding&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>\u6700\u5927\u4e0a\u4e0b\u6587<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>512-4096 tokens&#xff08;\u53d7KV Cache\u663e\u5b58\u9650\u5236&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>API\u7aef\u53e3<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:216pt\">\n<p>8000<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">7.3 \u670d\u52a1\u542f\u52a8\u547d\u4ee4<\/span><\/span><\/h3>\n<p style=\"text-align:start\"><span style=\"color:#000000\">export ASCEND_RT_VISIBLE_DEVICES&#061;0,1,2,3,4,5,6,7<br \/>\ncd \/home &amp;&amp; python qwen_server_32b_8card.py<\/span><\/p>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">7.4 API\u6d4b\u8bd5\u793a\u4f8b<\/span><\/span><\/h3>\n<p style=\"text-align:start\"><span style=\"color:#000000\">curl -H &#034;Content-Type: application\/json&#034; -d &#039;{<br \/>\n\u00a0\u00a0&#034;model&#034;: &#034;Qwen3-32B&#034;,<br \/>\n\u00a0\u00a0&#034;messages&#034;: [<br \/>\n\u00a0\u00a0\u00a0\u00a0{&#034;role&#034;: &#034;system&#034;, &#034;content&#034;: &#034;\u4f60\u662f\u4e00\u4e2a\u6709\u5e2e\u52a9\u7684\u52a9\u624b&#034;},<br \/>\n\u00a0\u00a0\u00a0\u00a0{&#034;role&#034;: &#034;user&#034;, &#034;content&#034;: &#034;\u8bf7\u7528\u4e00\u53e5\u8bdd\u4ecb\u7ecd\u81ea\u5df1&#034;}<br \/>\n\u00a0\u00a0],<br \/>\n\u00a0\u00a0&#034;max_tokens&#034;: 128<br \/>\n}&#039; http:\/\/localhost:8000\/v1\/chat\/completions<\/span><\/p>\n<h2 style=\"text-align:start\"><span style=\"color:#366091\"><span style=\"color:#366091\">\u516b\u3001\u7ed3\u8bba\u4e0e\u5efa\u8bae<\/span><\/span><\/h2>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">8.1 \u6d4b\u8bd5\u7ed3\u8bba<\/span><\/span><\/h3>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:144pt\">\n<p>vLLM-Ascend\u65b9\u6848<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:144pt\">\n<p>\u274c \u4e0d\u53ef\u884c<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:144pt\">\n<p>910A\u7b97\u5b50\u5e93\u7f3a\u5c11SwiGlu\u7b49\u5173\u952e\u7b97\u5b50&#xff0c;vLLM-Ascend\u5b98\u65b9\u660e\u786e\u4e0d\u652f\u6301910A<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>llama.cpp\u65b9\u6848<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u274c \u4e0d\u53ef\u884c<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>CANN 9.1.0-beta.1\u4e0ellama.cpp\u5934\u6587\u4ef6\u4e0d\u517c\u5bb9&#xff0c;GCC 7.3.0\u4e0d\u652f\u6301NEON x2\/x4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>PyTorch Native\u65b9\u6848<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u2705 \u53ef\u884c<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u57fa\u4e8etransformers &#043; torch_npu&#xff0c;8\u5361\u6a21\u578b\u5e76\u884c&#xff0c;\u6210\u529f\u90e8\u7f72Qwen3-32B<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>MoE\u6a21\u578b<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u274c \u4e0d\u652f\u6301<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>910A\u4e0d\u652f\u6301MoE\u8def\u7531\u7b97\u5b50&#xff08;topk\/gate&#xff09;&#xff0c;Qwen3-30B-A3B\/Qwen3.5-35B-A3B\u5747\u5931\u8d25<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u591a\u6a21\u6001\u6a21\u578b<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u274c \u4e0d\u652f\u6301<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>Qwen3.6-27B\u542bvision encoder&#xff0c;transformers\u521d\u59cb\u5316\u5361\u4f4f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>Dense\u6a21\u578b<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u2705 \u652f\u6301<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>Qwen2.5-14B\u548cQwen3-32B Dense\u67b6\u6784\u9a8c\u8bc1\u6210\u529f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u00a0<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u00a0<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:144pt\">\n<p>\u00a0<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">8.2 \u5173\u952e\u9650\u5236<\/span><\/span><\/h3>\n<ul>\n<li>\u91c7\u6837\u9650\u5236&#xff1a;\u5fc5\u987b\u7981\u7528do_sample&#xff08;temperature\/top_p\/top_k\u65e0\u6548&#xff09;&#xff0c;\u53ea\u80fd\u4f7f\u7528greedy decoding<\/li>\n<li>\u7cbe\u5ea6\u9650\u5236&#xff1a;\u4ec5\u652f\u6301float16&#xff0c;\u4e0d\u652f\u6301bfloat16\/FP8\/INT8\u91cf\u5316<\/li>\n<li>\u5e76\u53d1\u9650\u5236&#xff1a;Flask threaded\u6a21\u5f0f&#xff0c;\u771f\u5b9e\u5e76\u53d1\u80fd\u529b\u7ea61-2 req\/s&#xff08;NPU\u7b97\u529b\u74f6\u9888&#xff09;<\/li>\n<li>\u4e0a\u4e0b\u6587\u9650\u5236&#xff1a;max_tokens\u5efa\u8bae\u22644096&#xff0c;\u66f4\u5927\u4e0a\u4e0b\u6587\u53ef\u80fd\u89e6\u53d1OOM<\/li>\n<li>\u6a21\u578b\u9650\u5236&#xff1a;\u4ec5\u652f\u6301\u7eaf\u6587\u672cDense\u6a21\u578b&#xff0c;\u4e0d\u652f\u6301MoE\/\u591a\u6a21\u6001<\/li>\n<\/ul>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">8.3 \u540e\u7eed\u4f18\u5316\u5efa\u8bae<\/span><\/span><\/h3>\n<ul>\n<li>\u6027\u80fd\u4f18\u5316&#xff1a;\u4f7f\u7528gunicorn\u66ff\u4ee3Flask\u5f00\u53d1\u670d\u52a1\u5668&#xff0c;\u6216\u6539\u7528\u5f02\u6b65\u6846\u67b6&#xff08;\u5982FastAPI &#043; uvicorn&#xff09;\u63d0\u5347\u5e76\u53d1\u80fd\u529b<\/li>\n<li>\u663e\u5b58\u4f18\u5316&#xff1a;\u63a2\u7d22910A\u539f\u751fINT8\u91cf\u5316&#xff08;\u901a\u8fc7\u534e\u4e3aCloudMatrix-Infer\u6216NPU-INT8\u5e93&#xff09;&#xff0c;\u53ef\u5c06\u6a21\u578b\u538b\u7f29\u81f31\/4&#xff0c;\u652f\u6301\u66f4\u5927\u4e0a\u4e0b\u6587<\/li>\n<li>\u6a21\u578b\u5347\u7ea7&#xff1a;\u8ddf\u8e2atransformers 4.57.1&#043;\u5bf9Qwen3.5\u7cfb\u5217\u7684\u652f\u6301&#xff0c;\u4f46\u5347\u7ea7\u9700\u8c28\u614e\u9a8c\u8bc1PyTorch\u517c\u5bb9\u6027<\/li>\n<li>\u591a\u5361\u4f18\u5316&#xff1a;\u6d4b\u8bd56\u5361\u914d\u7f6e&#xff08;\u75592\u5361\u7ed9\u5176\u4ed6\u4efb\u52a1&#xff09;&#xff0c;\u9a8c\u8bc1Qwen3-32B\u57286\u5361\u4e0a\u7684\u7a33\u5b9a\u6027<\/li>\n<li>\u751f\u4ea7\u90e8\u7f72&#xff1a;\u521b\u5efasystemd\u670d\u52a1\u6587\u4ef6&#xff0c;\u5b9e\u73b0\u5f00\u673a\u81ea\u542f&#xff1b;\u914d\u7f6eNginx\u53cd\u5411\u4ee3\u7406&#xff0c;\u589e\u52a0API\u9650\u6d41\u548c\u8ba4\u8bc1<\/li>\n<li>\u5f02\u6784\u96c6\u7fa4&#xff1a;\u8003\u8651\u4f7f\u7528GPUStack\u7b49\u4e2d\u95f4\u5c42\u7edf\u4e00\u7ba1\u7406910A&#xff08;PyTorch Native&#xff09;\u4e0e5090\/4090&#xff08;vLLM&#xff09;\u5f02\u6784\u96c6\u7fa4<\/li>\n<\/ul>\n<h2 style=\"text-align:start\"><span style=\"color:#366091\"><span style=\"color:#366091\">\u4e5d\u3001\u9644\u5f55<\/span><\/span><\/h2>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">9.1 \u5173\u952e\u547d\u4ee4\u8bb0\u5f55<\/span><\/span><\/h3>\n<p style=\"text-align:start\"><span style=\"color:#000000\"># \u542f\u52a8\u5bb9\u5668<br \/>\ndocker run -it &#8211;ipc&#061;host &#8211;name&#061;mindie &#8211;shm-size&#061;80G &#8211;net&#061;host &#8211;privileged&#061;true \\\\<br \/>\n\u00a0\u00a0&#8211;device&#061;\/dev\/davinci_manager \\\\<br \/>\n\u00a0\u00a0&#8211;device&#061;\/dev\/devmm_svm \\\\<br \/>\n\u00a0\u00a0&#8211;device&#061;\/dev\/hisi_hdc \\\\<br \/>\n\u00a0\u00a0-v \/usr\/local\/Ascend\/driver:\/usr\/local\/Ascend\/driver \\\\<br \/>\n\u00a0\u00a0-v \/usr\/local\/Ascend\/add-ons\/:\/usr\/local\/Ascend\/add-ons\/ \\\\<br \/>\n\u00a0\u00a0-v \/usr\/local\/sbin\/npu-smi:\/usr\/local\/sbin\/npu-smi \\\\<br \/>\n\u00a0\u00a0-v \/var\/log\/npu\/slog\/:\/var\/log\/npu\/slog \\\\<br \/>\n\u00a0\u00a0-v \/data:\/home \\\\<br \/>\n\u00a0\u00a0mindie_910a:2.3.0 \/bin\/bash<\/p>\n<p># \u9a8c\u8bc1NPU<br \/>\nnpu-smi info<\/p>\n<p># \u9a8c\u8bc1PyTorch NPU<br \/>\npython -c &#034;import torch; import torch_npu; print(torch.randn(2,2).npu())&#034;<\/p>\n<p># \u542f\u52a8\u670d\u52a1<br \/>\nexport ASCEND_RT_VISIBLE_DEVICES&#061;0,1,2,3,4,5,6,7<br \/>\ncd \/home &amp;&amp; python qwen_server_32b_8card.py<\/p>\n<p># \u6d4b\u8bd5API<br \/>\ncurl -H &#034;Content-Type: application\/json&#034; -d &#039;{<br \/>\n\u00a0\u00a0&#034;model&#034;: &#034;Qwen3-32B&#034;,<br \/>\n\u00a0\u00a0&#034;messages&#034;: [{&#034;role&#034;:&#034;user&#034;,&#034;content&#034;:&#034;\u4f60\u597d&#034;}],<br \/>\n\u00a0\u00a0&#034;max_tokens&#034;: 128<br \/>\n}&#039; http:\/\/localhost:8000\/v1\/chat\/completions<\/span><\/p>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">9.2 \u7248\u672c\u517c\u5bb9\u6027\u77e9\u9635<\/span><\/span><\/h3>\n<table cellspacing=\"0\">\n<tbody>\n<tr>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:86.4pt\">\n<p>\u7ec4\u4ef6<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:86.4pt\">\n<p>vLLM\u65b9\u6848<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:86.4pt\">\n<p>llama.cpp\u65b9\u6848<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:86.4pt\">\n<p>PyTorch Native\u65b9\u6848<\/p>\n<\/td>\n<td style=\"border-color:#4f81bd;vertical-align:top;width:86.4pt\">\n<p>\u5907\u6ce8<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>CANN<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>9.1.0-beta.1<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>9.1.0-beta.1<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>8.5.0&#xff08;\u5bb9\u5668\u5185&#xff09;<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>910A\u9700CANN 8.5&#043;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>PyTorch<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>2.5.1<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>N\/A<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>2.1.0<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>\u5bb9\u5668\u51852.1.0\u7a33\u5b9a<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>transformers<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>5.9.0<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>N\/A<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>4.51.0<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>4.51.0\u652f\u6301Qwen3<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>\u6a21\u578b\u683c\u5f0f<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>HuggingFace<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>GGUF<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>HuggingFace<\/p>\n<\/td>\n<td style=\"border-color:currentcolor #4f81bd #4f81bd;vertical-align:top;width:86.4pt\">\n<p>Native\u65b9\u6848\u6700\u7075\u6d3b<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"text-align:start\"><span style=\"color:#4f81bd\"><span style=\"color:#4f81bd\">9.3 \u53c2\u8003\u6587\u6863<\/span><\/span><\/h3>\n<ul>\n<li>vLLM-Ascend\u5b98\u65b9\u6587\u6863&#xff1a;https:\/\/vllm-ascend.readthedocs.io\/<\/li>\n<li>llama.cpp CANN\u540e\u7aef\u6587\u6863&#xff1a;https:\/\/github.com\/ggml-org\/llama.cpp\/blob\/master\/docs\/backend\/CANN.md<\/li>\n<li>\u534e\u4e3aCANN\u6587\u6863&#xff1a;https:\/\/www.hiascend.com\/software\/cann<\/li>\n<li>Qwen\u6a21\u578b\u6587\u6863&#xff1a;https:\/\/qwen.readthedocs.io\/<\/li>\n<\/ul>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u62a5\u544a\u7f16\u53f7RPT-910A-20260531-002\u6d4b\u8bd5\u65e5\u671f2026\u5e745\u670830\u65e5-31\u65e5\u670d\u52a1\u5668bms-ytcs910a-260529 (\u9cb2\u9e4fCPU  8\u5361910A NPU)\u62a5\u544a\u7248\u672cV2.0 (\u7efc\u5408\u7248)\u4e00\u3001\u6d4b\u8bd5\u6982\u8ff0\u672c\u6b21\u6d4b\u8bd5\u5386\u65f6\u7ea612\u5c0f\u65f6&#xff0c;\u7cfb\u7edf\u6027\u5730\u9a8c\u8bc1\u4e86\u5728\u534e\u4e3a\u6607\u817e910A NPU\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u670d\u52a1\u7684\u53ef\u884c\u6027\u3002\u6d4b\u8bd5\u5148\u540e\u5c1d\u8bd5\u4e86\u4e09\u79cd\u4e3b\u6d41\u63a8\u7406\u6846\u67b6&#xff1a;vLLM  vLLM-Ascend&#xff1a;\u57fa\u4e8ePyTorch\u751f\u6001\u7684\u9ad8\u6027\u80fd\u63a8\u7406\u6846\u67b6&#xff0c;\u652f<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,51,44],"topic":[],"class_list":["post-81444","post","type-post","status-publish","format-standard","hentry","category-server","tag-43","tag-51","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u9cb2\u9e4fCPU + 8\u5361910A NPU\u670d\u52a1\u5668\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u90e8\u7f72\u6d4b\u8bd5\u62a5\u544a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/81444.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u9cb2\u9e4fCPU + 8\u5361910A NPU\u670d\u52a1\u5668\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u90e8\u7f72\u6d4b\u8bd5\u62a5\u544a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u62a5\u544a\u7f16\u53f7RPT-910A-20260531-002\u6d4b\u8bd5\u65e5\u671f2026\u5e745\u670830\u65e5-31\u65e5\u670d\u52a1\u5668bms-ytcs910a-260529 (\u9cb2\u9e4fCPU 8\u5361910A NPU)\u62a5\u544a\u7248\u672cV2.0 (\u7efc\u5408\u7248)\u4e00\u3001\u6d4b\u8bd5\u6982\u8ff0\u672c\u6b21\u6d4b\u8bd5\u5386\u65f6\u7ea612\u5c0f\u65f6&#xff0c;\u7cfb\u7edf\u6027\u5730\u9a8c\u8bc1\u4e86\u5728\u534e\u4e3a\u6607\u817e910A NPU\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u670d\u52a1\u7684\u53ef\u884c\u6027\u3002\u6d4b\u8bd5\u5148\u540e\u5c1d\u8bd5\u4e86\u4e09\u79cd\u4e3b\u6d41\u63a8\u7406\u6846\u67b6&#xff1a;vLLM vLLM-Ascend&#xff1a;\u57fa\u4e8ePyTorch\u751f\u6001\u7684\u9ad8\u6027\u80fd\u63a8\u7406\u6846\u67b6&#xff0c;\u652f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/81444.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-24T18:01:12+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81444.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/81444.html\",\"name\":\"\u9cb2\u9e4fCPU + 8\u5361910A NPU\u670d\u52a1\u5668\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u90e8\u7f72\u6d4b\u8bd5\u62a5\u544a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-24T18:01:12+00:00\",\"dateModified\":\"2026-07-24T18:01:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/81444.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/81444.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81444.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u9cb2\u9e4fCPU + 8\u5361910A NPU\u670d\u52a1\u5668\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u90e8\u7f72\u6d4b\u8bd5\u62a5\u544a\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u9cb2\u9e4fCPU + 8\u5361910A NPU\u670d\u52a1\u5668\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u90e8\u7f72\u6d4b\u8bd5\u62a5\u544a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/81444.html","og_locale":"zh_CN","og_type":"article","og_title":"\u9cb2\u9e4fCPU + 8\u5361910A NPU\u670d\u52a1\u5668\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u90e8\u7f72\u6d4b\u8bd5\u62a5\u544a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u62a5\u544a\u7f16\u53f7RPT-910A-20260531-002\u6d4b\u8bd5\u65e5\u671f2026\u5e745\u670830\u65e5-31\u65e5\u670d\u52a1\u5668bms-ytcs910a-260529 (\u9cb2\u9e4fCPU 8\u5361910A NPU)\u62a5\u544a\u7248\u672cV2.0 (\u7efc\u5408\u7248)\u4e00\u3001\u6d4b\u8bd5\u6982\u8ff0\u672c\u6b21\u6d4b\u8bd5\u5386\u65f6\u7ea612\u5c0f\u65f6&#xff0c;\u7cfb\u7edf\u6027\u5730\u9a8c\u8bc1\u4e86\u5728\u534e\u4e3a\u6607\u817e910A NPU\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u670d\u52a1\u7684\u53ef\u884c\u6027\u3002\u6d4b\u8bd5\u5148\u540e\u5c1d\u8bd5\u4e86\u4e09\u79cd\u4e3b\u6d41\u63a8\u7406\u6846\u67b6&#xff1a;vLLM vLLM-Ascend&#xff1a;\u57fa\u4e8ePyTorch\u751f\u6001\u7684\u9ad8\u6027\u80fd\u63a8\u7406\u6846\u67b6&#xff0c;\u652f","og_url":"https:\/\/www.wsisp.com\/helps\/81444.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-24T18:01:12+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/81444.html","url":"https:\/\/www.wsisp.com\/helps\/81444.html","name":"\u9cb2\u9e4fCPU + 8\u5361910A NPU\u670d\u52a1\u5668\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u90e8\u7f72\u6d4b\u8bd5\u62a5\u544a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-24T18:01:12+00:00","dateModified":"2026-07-24T18:01:12+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/81444.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/81444.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/81444.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u9cb2\u9e4fCPU + 8\u5361910A NPU\u670d\u52a1\u5668\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u90e8\u7f72\u6d4b\u8bd5\u62a5\u544a"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/81444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=81444"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/81444\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=81444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=81444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=81444"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=81444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}