{"id":2657,"date":"2026-08-31T18:00:00","date_gmt":"2026-08-31T10:00:00","guid":{"rendered":"https:\/\/www.o6s.net\/?p=2657"},"modified":"2026-09-01T16:06:42","modified_gmt":"2026-09-01T08:06:42","slug":"%e6%9e%81%e9%80%9f%e4%b8%8a%e6%89%8b%ef%bc%81openeuler-24-03-%e6%90%ad%e5%bb%ba-llama-cpp-%e7%8e%af%e5%a2%83%e5%8f%8a-benchmark-%e6%80%a7%e8%83%bd%e5%ae%9e%e6%b5%8b","status":"publish","type":"post","link":"https:\/\/www.o6s.net\/index.php\/2026\/08\/31\/%e6%9e%81%e9%80%9f%e4%b8%8a%e6%89%8b%ef%bc%81openeuler-24-03-%e6%90%ad%e5%bb%ba-llama-cpp-%e7%8e%af%e5%a2%83%e5%8f%8a-benchmark-%e6%80%a7%e8%83%bd%e5%ae%9e%e6%b5%8b\/","title":{"rendered":"\u6781\u901f\u4e0a\u624b\uff01openEuler 24.03 \u642d\u5efa llama.cpp \u73af\u5883\u53ca Benchmark \u6027\u80fd\u5b9e\u6d4b"},"content":{"rendered":"<section style=\"text-align: center;\" nodeleaf=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2665\" src=\"https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/cfcd208495d565ef66e7dff9f98764da.png\" width=\"1280\" height=\"540\" srcset=\"https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/cfcd208495d565ef66e7dff9f98764da.png 1280w, https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/cfcd208495d565ef66e7dff9f98764da-300x127.png 300w, https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/cfcd208495d565ef66e7dff9f98764da-1024x432.png 1024w, https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/cfcd208495d565ef66e7dff9f98764da-768x324.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/section>\n<section data-role=\"outer\" label=\"edit by 135editor\" data-pm-slice=\"0 0 []\">\n<section data-role=\"paragraph\">\n<section data-role=\"outer\" label=\"edit by 135editor\" data-pm-slice=\"0 0 []\">\n<section data-role=\"paragraph\">\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"caret-color: red;font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\u76ee\u524d\uff0cOpenAtom openEuler\uff08\u7b80\u79f0\u201copenEuler\u201d\u6216\u201c\u5f00\u6e90\u6b27\u62c9\u201d\uff0924.03 \u5df2<\/span><\/span><strong style=\"caret-color: red;font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\u539f\u751f\u652f\u6301 llama.cpp<\/span><\/strong><span style=\"caret-color: red;font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\u3002\u7ee7\u4e0a\u4e00\u7bc7\u300a<a class=\"normal_text_link mp_article_text_link\" target=\"_blank\" style=\"\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzkyMjYzNjU0Ng==&amp;mid=2247521413&amp;idx=1&amp;sn=1fb65d6159e3caa19ea4a1f2b5bbc45d&amp;scene=21#wechat_redirect\" textvalue=\"\u624b\u628a\u624b\u5b9e\u6d4b\uff01openEuler 24.03 \u90e8\u7f72 SGLang\uff0cBenchmark \u6570\u636e\u51fa\u7089\" data-itemshowtype=\"0\" linktype=\"text\" data-linktype=\"2\">\u624b\u628a\u624b\u5b9e\u6d4b\uff01openEuler 24.03 \u90e8\u7f72 SGLang\uff0cBenchmark \u6570\u636e\u51fa\u7089<\/a>\u300b\u4e4b\u540e\uff0c\u672c\u6587\u5c06\u7ee7\u7eed\u56f4\u7ed5 AI \u63a8\u7406\u6846\u67b6\u5c55\u5f00\u5b9e\u6d4b\uff0c\u5e26\u4f60<\/span><\/span><strong style=\"caret-color: red;font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\u5728 openEuler 24.03 \u73af\u5883\u4e0b\u4ece\u96f6\u642d\u5efa llama.cpp\u3002<\/span><\/strong><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\"><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u672c\u6587\u4ece\u6700\u5e72\u51c0\u7684 openEuler \u548c CANN \u57fa\u7840\u955c\u50cf\u5f00\u59cb\uff0c\u8be6\u7ec6\u4ecb\u7ecd llama.cpp \u7684\u73af\u5883\u51c6\u5907\u3001\u6e90\u7801\u7f16\u8bd1\u53ca\u63a8\u7406\u670d\u52a1\u542f\u52a8\uff0c\u5e76\u901a\u8fc7\u4e00\u8f6e Random Benchmark \u5b9e\u6d4b\u5176\u63a8\u7406\u6027\u80fd\u3002\u7a76\u7adf\u5728 openEuler \u4e0a\u90e8\u7f72 llama.cpp \u7684\u8fc7\u7a0b\u662f\u5426\u987a\u7545\uff0c\u5b9e\u9645\u6027\u80fd\u8868\u73b0\u5982\u4f55\uff1f\u4e0b\u9762\u5c31\u4e00\u8d77\u52a8\u624b\u8bd5\u8bd5\u3002<\/span><\/span><\/p>\n<hr style=\"border-width: 0px 0px 1px;border-style: none none solid;border-color: rgba(255, 255, 255, 0.18);border-image: initial;height: 1px;font-size: 14px;text-decoration-thickness: initial;font-family: -apple-system, BlinkMacSystemFont, system-ui, Ubuntu, sans-serif;\">\n<h2 data-line=\"12\" dir=\"auto\" style=\"line-height:1.6;font-size:17px;\"><span leaf=\"\"><br \/><\/span><\/h2>\n<section data-role=\"title\" data-id=\"174851\">\n<section style=\"margin: 10px auto;\">\n<section style=\"display: flex;align-items: center;\">\n<section style=\"flex-shrink: 0;display: flex;align-items: center;padding-right: 5px;box-sizing:border-box;\">\n<section style=\"width: 5px;height: 18px;background-color: #0879e2;box-sizing:border-box;\" data-ignore-width=\"\"><span leaf=\"\"><br \/><\/span><\/section>\n<section style=\"width: 5px;height: 18px;background-color: #f8cd58;margin-left: -1px;margin-top: -10px;box-sizing:border-box;\" data-ignore-width=\"\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<section style=\"display: flex;justify-content: space-between;width: 100%;max-width:100% !important;box-sizing:border-box;\" data-width=\"100%\">\n<section>\n<section style=\"font-size: 18px;color: #0879e2;text-align: center;\"><strong data-brushtype=\"text\"><span leaf=\"\">\u00a0<\/span><span style=\"font-size: 18px;\"><span leaf=\"\">\u4e00\u3001\u73af\u5883\u51c6\u5907<\/span><\/span><\/strong><\/section>\n<\/section>\n<section>\n<section style=\"font-size: 14px;color: #0879e2;text-align: center;\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"width: 100%;height: 1px;border-top: 1px solid #0879e2;max-width:100% !important;box-sizing:border-box;\" data-width=\"100%\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<\/section>\n<h2 data-line=\"12\" dir=\"auto\" style=\"line-height:1.6;font-size:17px;\"><span leaf=\"\"><br \/><\/span><\/h2>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u672c\u6b21\u5b9e\u6d4b\u7684<\/span><strong><span leaf=\"\">\u5bbf\u4e3b\u673a\u73af\u5883<\/span><\/strong><span leaf=\"\">\u4e3a\uff1a<\/span><\/span><\/p>\n<table style=\"border-collapse:collapse;width:573px;\">\n<tbody>\n<tr style=\"height:14.0pt;\">\n<td data-colwidth=\"149\" width=\"149\" style=\"height: 14pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;font-weight: bold;\">\u9879\u76ee<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"424\" width=\"169\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;font-weight: bold;\">\u7248\u672c\u4fe1\u606f<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"height:26.0pt;\">\n<td data-colwidth=\"149\" width=\"149\" style=\"height: 26pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">OS<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"424\" width=\"169\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">openEuler release 24.03 \u00a0 (LTS-SP4)<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"height:14.0pt;\">\n<td data-colwidth=\"149\" width=\"149\" style=\"height: 14pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">\u5185\u6838<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"424\" width=\"169\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">6.6.0<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"height:14.0pt;\">\n<td data-colwidth=\"149\" width=\"149\" style=\"height: 14pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">Docker<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"424\" width=\"169\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">18.09.0<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"height:14.0pt;\">\n<td data-colwidth=\"149\" width=\"149\" style=\"height: 14pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">NPU \u9a71\u52a8<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"424\" width=\"169\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">26.0.rc1<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"height:14.0pt;\">\n<td data-colwidth=\"149\" width=\"149\" style=\"height: 14pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">NPU \u56fa\u4ef6<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"424\" width=\"169\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">7.7.0.10.220<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<section style=\"color: rgb(51, 65, 85);font-size: medium;letter-spacing: 0.5px;text-decoration-thickness: initial;margin-bottom: 24px;overflow-x: auto;font-family: -apple-system, BlinkMacSystemFont, sans-serif;height: 0px;\"><span leaf=\"\"><br \/><\/span><\/section>\n<p style=\"text-align:left;\"><strong style=\"font-size: 16px;letter-spacing: 0.25px;text-align: justify;caret-color: red;\"><span style=\"color: #0879e2;\"><span leaf=\"\">\u258f1.\u786e\u4fdd\u5bbf\u4e3b\u673a\u4f7f\u7528 openEuler \u56fd\u5185\u52a0\u901f yum \u6e90<\/span><\/span><\/strong><\/p>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\ud83d\udda5\ufe0f<\/span><strong><span leaf=\"\">\u00a0\u5bbf\u4e3b\u673a\u6267\u884c<\/span><\/strong><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u8fd0\u884c\u00a0<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 13px;color: #c7254e;letter-spacing: normal;font-family:Consolas, Menlo, monospace;\"><span style=\"font-size:13px;\"><span leaf=\"\">cat \/etc\/yum.repos.d\/openEuler.repo<\/span><\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u00a0\u68c0\u67e5\uff0c\u5982\u679c\u6587\u4ef6\u4e0d\u5b58\u5728\u6216\u8005\u4f7f\u7528\u7684\u6e90\u4e0d\u662f openEuler \u56fd\u5185\u955c\u50cf\uff0c\u53ef\u4ee5\u6309\u5982\u4e0b\u4fee\u6539\uff0c\u63d0\u5347\u00a0<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 13px;color: #c7254e;letter-spacing: normal;font-family:Consolas, Menlo, monospace;\"><span style=\"font-size:13px;\"><span leaf=\"\">yum install<\/span><\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u00a0\u4e0b\u8f7d\u901f\u5ea6\u3002<\/span><\/span><\/p>\n<p style=\"line-height:1.6;\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u4ee5\u4e0b\u662f openEuler 24.03 LTS SP4 \u955c\u50cf\u6e90\u914d\u7f6e\uff1a<\/span><\/span><\/p>\n<section data-role=\"outer\" label=\"edit by 135editor\" data-pm-slice=\"0 0 []\">\n<section data-role=\"paragraph\">\n<section data-role=\"outer\" label=\"edit by 135editor\" data-pm-slice=\"0 0 []\">\n<section data-role=\"paragraph\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"ini\"><code><span leaf=\"\"><span class=\"code-snippet__comment\">#generic-repos is licensed under the Mulan PSL v2.<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#Youcan use this software according to the terms and conditions of the Mulan PSL v2.<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#You may obtain a copy of Mulan PSL v2 at:<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u00a0 \u00a0http:\/\/license.coscl.org.cn\/MulanPSL2<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#THIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#PURPOSE.<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#See the Mulan PSL v2 for more details.<\/span><\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">[OS]<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">name<\/span>=OS<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">baseurl<\/span>=https:\/\/mirrors.huaweicloud.com\/openeuler\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/OS\/<span class=\"code-snippet__variable\">$basearch<\/span>\/<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#metalink=https:\/\/mirrors.openeuler.org\/metalink?repo=$releasever\/OS&amp;arch=$basearch<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">metadata_expire<\/span>=<span class=\"code-snippet__number\">1<\/span>h<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">enabled<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgcheck<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgkey<\/span>=http:\/\/repo.openeuler.org\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/OS\/<span class=\"code-snippet__variable\">$basearch<\/span>\/RPM-GPG-KEY-openEuler<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">[everything]<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">name<\/span>=everything<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">baseurl<\/span>=https:\/\/mirrors.huaweicloud.com\/openeuler\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/everything\/<span class=\"code-snippet__variable\">$basearch<\/span>\/<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#metalink=https:\/\/mirrors.openeuler.org\/metalink?repo=$releasever\/everything&amp;arch=$basearch<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">metadata_expire<\/span>=<span class=\"code-snippet__number\">1<\/span>h<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">enabled<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgcheck<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgkey<\/span>=http:\/\/repo.openeuler.org\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/everything\/<span class=\"code-snippet__variable\">$basearch<\/span>\/RPM-GPG-KEY-openEuler<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">[EPOL]<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">name<\/span>=EPOL<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">baseurl<\/span>=https:\/\/mirrors.huaweicloud.com\/openeuler\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/EPOL\/main\/<span class=\"code-snippet__variable\">$basearch<\/span>\/<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#metalink=https:\/\/mirrors.openeuler.org\/metalink?repo=$releasever\/EPOL\/main&amp;arch=$basearch<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">metadata_expire<\/span>=<span class=\"code-snippet__number\">1<\/span>h<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">enabled<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgcheck<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgkey<\/span>=http:\/\/repo.openeuler.org\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/OS\/<span class=\"code-snippet__variable\">$basearch<\/span>\/RPM-GPG-KEY-openEuler<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">[debuginfo]<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">name<\/span>=debuginfo<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">baseurl<\/span>=https:\/\/mirrors.huaweicloud.com\/openeuler\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/debuginfo\/<span class=\"code-snippet__variable\">$basearch<\/span>\/<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#metalink=https:\/\/mirrors.openeuler.org\/metalink?repo=$releasever\/debuginfo&amp;arch=$basearch<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">metadata_expire<\/span>=<span class=\"code-snippet__number\">1<\/span>h<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">enabled<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgcheck<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgkey<\/span>=http:\/\/repo.openeuler.org\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/debuginfo\/<span class=\"code-snippet__variable\">$basearch<\/span>\/RPM-GPG-KEY-openEuler<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">[source]<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">name<\/span>=source<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">baseurl<\/span>=https:\/\/mirrors.huaweicloud.com\/openeuler\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/source\/<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#metalink=https:\/\/mirrors.openeuler.org\/metalink?repo=$releasever&amp;arch=source<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">metadata_expire<\/span>=<span class=\"code-snippet__number\">1<\/span>h<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">enabled<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgcheck<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgkey<\/span>=http:\/\/repo.openeuler.org\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/source\/RPM-GPG-KEY-openEuler<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">[update]<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">name<\/span>=update<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">baseurl<\/span>=https:\/\/mirrors.huaweicloud.com\/openeuler\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/update\/<span class=\"code-snippet__variable\">$basearch<\/span>\/<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#metalink=https:\/\/mirrors.openeuler.org\/metalink?repo=$releasever\/update&amp;arch=$basearch<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">metadata_expire<\/span>=<span class=\"code-snippet__number\">1<\/span>h<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">enabled<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgcheck<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgkey<\/span>=http:\/\/repo.openeuler.org\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/OS\/<span class=\"code-snippet__variable\">$basearch<\/span>\/RPM-GPG-KEY-openEuler<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">[update-source]<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">name<\/span>=update-source<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">baseurl<\/span>=https:\/\/mirrors.huaweicloud.com\/openeuler\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/update\/source\/<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">#metalink=https:\/\/mirrors.openeuler.org\/metalink?repo=$releasever&amp;arch=source<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">metadata_expire<\/span>=<span class=\"code-snippet__number\">1<\/span>h<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">enabled<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgcheck<\/span>=<span class=\"code-snippet__number\">1<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attr\">gpgkey<\/span>=http:\/\/repo.openeuler.org\/openEuler-<span class=\"code-snippet__number\">24.03<\/span>-LTS-SP4\/source\/RPM-GPG-KEY-openEuler<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<h3 data-line=\"98\" dir=\"auto\" style=\"font-size:17px;\"><span style=\"font-size: 16px;letter-spacing: 0.25px;\"><strong><span style=\"font-size: 16px;letter-spacing: 0.25px;color: #0879e2;\"><span leaf=\"\">\u258f2. \u5b89\u88c5 Docker<\/span><\/span><\/strong><\/span><\/h3>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p data-line=\"100\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\ud83d\udda5\ufe0f\u00a0<\/span><strong><span leaf=\"\">\u5bbf\u4e3b\u673a\u6267\u884c<\/span><\/strong><\/span><\/p>\n<p data-line=\"100\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p data-line=\"102\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">openEuler 24.03 \u8f6f\u4ef6\u4ed3\u91cc\u6709 Docker\uff0c\u76f4\u63a5\u5b89\u88c5\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u5b89\u88c5 Docker<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__built_in\">sudo<\/span>\u00a0dnf install -y docker<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u542f\u52a8 Docker \u5e76\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__built_in\">sudo<\/span>\u00a0systemctl\u00a0<span class=\"code-snippet__built_in\">enable<\/span>\u00a0--now docker<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f<\/span><\/span><\/code><code><span leaf=\"\">docker --version<\/span><\/code><\/pre>\n<\/section>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<h3 data-line=\"115\" dir=\"auto\" style=\"font-size:17px;\"><span style=\"font-size: 16px;letter-spacing: 0.25px;\"><strong><span style=\"letter-spacing: 0.25px;color: #0879e2;\"><span leaf=\"\">\u258f3. \u914d\u7f6e\u514d sudo \u8fd0\u884c\uff08\u53ef\u9009\uff09<\/span><\/span><\/strong><\/span><\/h3>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p data-line=\"117\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\ud83d\udda5\ufe0f<\/span><strong><span leaf=\"\">\u00a0\u5bbf\u4e3b\u673a\u6267\u884c<\/span><\/strong><\/span><\/p>\n<p data-line=\"117\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p data-line=\"119\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\u4e3a\u4e86\u65b9\u4fbf\u65e5\u5e38\u64cd\u4f5c\uff0c\u5efa\u8bae\u5c06\u5f53\u524d\u7528\u6237\u52a0\u5165\u00a0<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 17px;color: #c7254e;letter-spacing: normal;font-family:Consolas, Menlo, monospace;\"><span style=\"font-size:13px;\"><span leaf=\"\">docker<\/span><\/span><\/code><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\u00a0\u7ec4\uff0c\u8fd9\u6837\u8fd0\u884c\u547d\u4ee4\u65f6\u65e0\u9700\u6bcf\u6b21\u90fd\u8f93\u5165\u00a0<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">sudo<\/span><\/code><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u5c06\u5f53\u524d\u7528\u6237\u52a0\u5165 docker \u7ec4<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__built_in\">sudo<\/span>\u00a0usermod -aG docker\u00a0<span class=\"code-snippet__variable\">$USER<\/span><\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u5237\u65b0\u7ec4\u6743\u9650\u4f7f\u914d\u7f6e\u7acb\u5373\u751f\u6548<\/span><\/span><\/code><code><span leaf=\"\">newgrp docker<\/span><\/code><\/pre>\n<\/section>\n<p data-line=\"119\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p data-line=\"119\" dir=\"auto\"><strong style=\"font-size: 16px;letter-spacing: 0.25px;caret-color: red;\"><span style=\"color: #0879e2;\"><span leaf=\"\">\u258f4. \u62c9\u53d6 openEuler 24.03\u4e0e CANN \u57fa\u7840\u955c\u50cf<\/span><\/span><\/strong><\/p>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p data-line=\"131\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\ud83d\udda5\ufe0f\u00a0<\/span><strong><span leaf=\"\">\u5bbf\u4e3b\u673a\u6267\u884c<\/span><\/strong><\/span><\/p>\n<p data-line=\"131\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u672c\u6587\u4f7f\u7528\u57fa\u4e8e openEuler 24.03 SP4 \u4e0e Python 3.11 \u7684\u534e\u4e3a\u5b98\u65b9 CANN 9.0.0 \u5bb9\u5668\u955c\u50cf\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"apache\"><code><span leaf=\"\"><span class=\"code-snippet__attribute\">docker<\/span>\u00a0pull swr.cn-south-<span class=\"code-snippet__number\">1<\/span>.myhuaweicloud.com\/ascendhub\/cann:<span class=\"code-snippet__number\">9<\/span>.<span class=\"code-snippet__number\">0<\/span>.<span class=\"code-snippet__number\">0<\/span>-<span class=\"code-snippet__number\">910<\/span>b-openeuler24.<span class=\"code-snippet__number\">03<\/span>-py3.<span class=\"code-snippet__number\">11<\/span>-devel<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><strong style=\"font-size: 16px;letter-spacing: 0.25px;caret-color: red;\"><span style=\"color: #0879e2;\"><span leaf=\"\">\u258f5. \u786c\u4ef6\u4e0e\u9a71\u52a8<\/span><\/span><\/strong><\/p>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p data-line=\"141\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\ud83d\udda5\ufe0f\u00a0<\/span><strong><span leaf=\"\">\u5bbf\u4e3b\u673a\u6267\u884c<\/span><\/strong><\/span><\/p>\n<p data-line=\"141\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p data-line=\"143\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\u786e\u4fdd\u5bbf\u4e3b\u673a\u5df2\u6b63\u786e\u5b89\u88c5\u6607\u817e\u9a71\u52a8\uff0cNPU \u8bbe\u5907\u53ef\u89c1\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"shell\"><code><span leaf=\"\"><span class=\"code-snippet__meta\">#<\/span>\u00a0\u67e5\u770b NPU \u8bbe\u5907<\/span><\/code><code><span leaf=\"\">ls \/dev\/davinci*<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__meta\">#<\/span>\u00a0\u9884\u671f\u8f93\u51fa\uff1a\/dev\/davinci0 \u00a0\/dev\/davinci2 \u00a0\/dev\/davinci_manager ...<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"># \u67e5\u770b NPU \u72b6\u6001<\/span><\/code><code><span leaf=\"\">npu-smi info<\/span><\/code><\/pre>\n<\/section>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\u8fd0\u884c\u00a0<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">npu-smi info<\/span><\/code><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\u00a0\u786e\u8ba4 NPU \u8bbe\u5907\u72b6\u6001\u6b63\u5e38\uff1a<\/span><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\"><br \/><\/span><\/span><\/p>\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.3424170616113744\" data-s=\"300,640\" data-type=\"png\" data-w=\"844\" type=\"block\" data-imgfileid=\"100037798\" data-aistatus=\"1\" src=\"https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/640-fc462ea1.png\"><\/section>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\"><br \/><\/span><\/span><\/p>\n<h3 data-line=\"158\" dir=\"auto\" style=\"line-height:1.6;font-size:17px;\"><span style=\"font-size: 16px;letter-spacing: 0.25px;\"><strong><span style=\"font-size: 16px;letter-spacing: 0.25px;color: #0879e2;\"><span leaf=\"\">\u258f6. \u6a21\u578b\u6743\u91cd\u51c6\u5907<\/span><\/span><\/strong><\/span><\/h3>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\ud83d\udda5\ufe0f\u00a0<\/span><strong><span leaf=\"\">\u5bbf\u4e3b\u673a\u6267\u884c<\/span><\/strong><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\u5c06\u6a21\u578b\u6743\u91cd\u653e\u5230\u5bbf\u4e3b\u673a\u7edf\u4e00\u76ee\u5f55\uff0c\u540e\u7eed\u5bb9\u5668\u6302\u8f7d\u4f7f\u7528\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"apache\"><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u4ee5 Qwen3-0.6B \u4e3a\u4f8b<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attribute\">ls<\/span>\u00a0\/home\/models\/Qwen3-<span class=\"code-snippet__number\">0<\/span>.<span class=\"code-snippet__number\">6<\/span>B\/<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u9884\u671f\u5305\u542b\uff1aconfig.json \u00a0tokenizer.json \u00a0model*.safetensors ...<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><strong style=\"font-size: 16px;letter-spacing: 0.25px;caret-color: red;\"><span style=\"color: #0879e2;\"><span leaf=\"\">\u258f7. \u56fd\u5185\u955c\u50cf\u52a0\u901f<\/span><\/span><\/strong><\/p>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p data-line=\"172\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;\"><span leaf=\"\">\u5728\u5bb9\u5668\u5185\u64cd\u4f5c\u524d\uff0c\u5148\u89c4\u5212\u597d\u955c\u50cf\u914d\u7f6e\u3002\u4ee5\u4e0b\u955c\u50cf\u7b56\u7565\u5c06\u5728\u540e\u7eed\u5404\u6846\u67b6\u6b65\u9aa4\u4e2d\u9010\u4e00\u5e94\u7528\uff1a<\/span><\/span><\/p>\n<hr style=\"border-width: 0px 0px 1px;border-style: none none solid;border-color: rgba(255, 255, 255, 0.18);border-image: initial;height: 1px;font-size: 14px;text-decoration-thickness: initial;font-family: -apple-system, BlinkMacSystemFont, system-ui, Ubuntu, sans-serif;\">\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.2593984962406015\" data-s=\"300,640\" data-type=\"png\" data-w=\"1064\" type=\"block\" data-imgfileid=\"100037800\" data-aistatus=\"1\" src=\"https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/640-bb4ddccd.png\"><\/section>\n<section data-role=\"paragraph\">\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<\/section>\n<section data-role=\"title\" data-id=\"174851\">\n<section style=\"margin: 10px auto;\">\n<section style=\"display: flex;align-items: center;\">\n<section style=\"flex-shrink: 0;display: flex;align-items: center;padding-right: 5px;box-sizing:border-box;\">\n<section style=\"width: 5px;height: 18px;background-color: #0879e2;box-sizing:border-box;\" data-ignore-width=\"\"><span leaf=\"\"><br \/><\/span><\/section>\n<section style=\"width: 5px;height: 18px;background-color: #f8cd58;margin-left: -1px;margin-top: -10px;box-sizing:border-box;\" data-ignore-width=\"\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<section style=\"display: flex;justify-content: space-between;width: 100%;max-width:100% !important;box-sizing:border-box;\" data-width=\"100%\">\n<section>\n<section style=\"font-size: 18px;color: #0879e2;text-align: center;\"><span style=\"font-size:18px;\"><strong data-brushtype=\"text\"><span leaf=\"\">\u4e8c\u3001llama.cpp \u63a8\u7406\u73af\u5883\u642d\u5efa<\/span><\/strong><\/span><\/section>\n<\/section>\n<section>\n<section style=\"font-size: 14px;color: #0879e2;text-align: center;\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"width: 100%;height: 1px;border-top: 1px solid #0879e2;max-width:100% !important;box-sizing:border-box;\" data-width=\"100%\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<\/section>\n<h2 data-line=\"183\" dir=\"auto\" style=\"line-height:1.6;font-size:17px;\"><span leaf=\"\"><br \/><\/span><\/h2>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-size: 15px;letter-spacing: 0.25px;caret-color: red;\"><span leaf=\"\">\u672c\u6b21 llama.cpp \u7f16\u8bd1\u73af\u5883\u4f4d\u4e8e\u5bb9\u5668\u5185\u90e8\uff0c\u5bb9\u5668\u955c\u50cf\u57fa\u4e8e openEuler 24.03 LTS SP4 \u6784\u5efa\uff0c\u5df2\u7ecf\u914d\u7f6e\u597d\u6607\u817e\u9a71\u52a8\u548c CANN\uff0c\u65e0\u9700\u505a\u4efb\u4f55\u914d\u7f6e\u3002<\/span><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">llama.cpp \u662f\u7eaf C++ \u5b9e\u73b0\uff0c\u901a\u8fc7 GGML_CANN \u540e\u7aef\u9a71\u52a8\u6607\u817e NPU\uff0c\u5b83\u9700\u8981\u7f16\u8bd1\u6e90\u7801\uff0c\u4e14\u6a21\u578b\u5fc5\u987b\u662f GGUF \u683c\u5f0f\u3002<\/span><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\"><br \/><\/span><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u7248\u672c\u914d\u5957\uff1a<\/span><\/span><\/strong><\/p>\n<table style=\"border-collapse:collapse;width:563px;\">\n<tbody>\n<tr style=\"height:14.0pt;\">\n<td data-colwidth=\"139\" width=\"69\" style=\"height: 14pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;font-weight: bold;\">\u7ec4\u4ef6<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"424\" width=\"175\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;font-weight: bold;\">\u7248\u672c<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"height:26.0pt;\">\n<td data-colwidth=\"139\" width=\"69\" style=\"height: 26pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">llama.cpp<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"424\" width=\"175\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">master \u5206\u652f\uff08\u6700\u65b0\uff09<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"height:23.0pt;\">\n<td data-colwidth=\"139\" width=\"69\" style=\"height: 23pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">CANN\uff08\u5bb9\u5668\u5185\uff09<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"424\" width=\"175\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">9.0.0<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"height:23.0pt;\">\n<td data-colwidth=\"139\" width=\"69\" style=\"height: 23pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">GGUF \u91cf\u5316<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"424\" width=\"175\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">f16\uff08\u4e5f\u652f\u6301 q8_0 \/ q4_0\uff09<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<h3 data-line=\"197\" dir=\"auto\" style=\"line-height: 1.6;text-align: justify;line-height:1.6;font-size:17px;\"><span style=\"color: #0879e2;text-shadow: none;letter-spacing: 0.25px;font-size: 16px;\"><strong><span leaf=\"\">\u258fStep 1\uff1a\u542f\u52a8\u5bb9\u5668<\/span><\/strong><\/span><\/h3>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\ud83d\udda5\ufe0f\u00a0<\/span><strong><span leaf=\"\">\u5bbf\u4e3b\u673a\u6267\u884c<\/span><\/strong><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u542f\u52a8\u5bb9\u5668\u5e76\u6302\u8f7d NPU \u8bbe\u5907\u3001\u6a21\u578b\u76ee\u5f55\u7b49\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"apache\"><code><span leaf=\"\"><span class=\"code-snippet__attribute\">docker<\/span>\u00a0run -d\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 --name llama-cpp-ascend-<span class=\"code-snippet__number\">910<\/span>b\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 --device=\/dev\/davinci2\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 --device=\/dev\/davinci_manager\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 --device=\/dev\/devmm_svm\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 --device=\/dev\/hisi_hdc\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -v \/usr\/local\/dcmi:\/usr\/local\/dcmi:ro\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -v \/usr\/local\/bin\/npu-smi:\/usr\/local\/bin\/npu-smi:ro\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -v \/usr\/local\/Ascend\/driver:\/usr\/local\/Ascend\/driver:ro\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -v \/etc\/ascend_install.info:\/etc\/ascend_install.info:ro\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -v \/home\/models:\/models\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -v $(pwd)\/llamacpp-workspace:\/workspace\/home\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -v $(pwd)\/pip-cache:\/root\/.cache\/pip\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -w \/workspace\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -p\u00a0<span class=\"code-snippet__number\">8001<\/span>:<span class=\"code-snippet__number\">8001<\/span>\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 --shm-size=<span class=\"code-snippet__number\">16<\/span>g\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 --ulimit memlock=-<span class=\"code-snippet__number\">1<\/span>\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 --ulimit stack=<span class=\"code-snippet__number\">67108864<\/span>\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -e OMP_NUM_THREADS=<span class=\"code-snippet__number\">8<\/span>\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 swr.cn-south-<span class=\"code-snippet__number\">1<\/span>.myhuaweicloud.com\/ascendhub\/cann:<span class=\"code-snippet__number\">9<\/span>.<span class=\"code-snippet__number\">0<\/span>.<span class=\"code-snippet__number\">0<\/span>-<span class=\"code-snippet__number\">910<\/span>b-openeuler24.<span class=\"code-snippet__number\">03<\/span>-py3.<span class=\"code-snippet__number\">11<\/span>-devel\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 sleep infinity<\/span><\/code><\/pre>\n<\/section>\n<section data-id=\"14\">\n<section style=\"border-width: 1px 1px 1px 3px;border-style: solid;border-color: #bfbfbf #bfbfbf #bfbfbf #0879e2;border-radius: 3px;padding: 10px;margin: 10px 0px;box-sizing:border-box;\">\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;\">\u989d\u5916\u6302\u8f7d\u00a0<\/span><\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;\">llamacpp-workspace\u00a0<\/span><\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;\">\u7528\u4e8e\u6301\u4e45\u5316\u6e90\u7801\u548c\u7f16\u8bd1\u4ea7\u7269\uff0c\u4e8c\u6b21\u90e8\u7f72\u53ef\u8df3\u8fc7\u7f16\u8bd1\u3002<\/span><\/span><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;\">-v \/home\/models:\/models<\/span><\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;\">\u00a0\u6302\u8f7d\u5bbf\u4e3b\u673a\u7684\u6a21\u578b\u6743\u91cd\u8def\u5f84\uff0c\u540e\u7eed\u542f\u52a8\u63a8\u7406\u670d\u52a1\u7528\u5f97\u5230\uff0c\u7528\u6237\u53ef\u81ea\u884c\u914d\u7f6e\u8fd9\u4e2a\u8def\u5f84\u3002<\/span><\/span><\/span><\/p>\n<\/section>\n<\/section>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<h4 data-line=\"240\" dir=\"auto\" style=\"line-height:1.6;font-size:17px;\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u8fdb\u5165\u5bb9\u5668<\/span><\/span><\/strong><\/h4>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\ud83d\udce6<\/span><strong><span leaf=\"\">\u00a0\u5bb9\u5668\u5185\u6267\u884c<\/span><\/strong><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"apache\"><code><span leaf=\"\"><span class=\"code-snippet__attribute\">docker<\/span>\u00a0exec -it llama-cpp-ascend-<span class=\"code-snippet__number\">910<\/span>b bash -l<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<h3 data-line=\"270\" dir=\"auto\" style=\"line-height: 1.6;text-align: justify;line-height:1.6;font-size:17px;\"><span style=\"color: #0879e2;text-shadow: none;letter-spacing: 0.25px;font-size: 16px;\"><strong><span leaf=\"\">\u258fStep 2\uff1a\u7f16\u8bd1 llama.cpp<\/span><\/strong><\/span><\/h3>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\ud83d\udce6\u00a0<\/span><strong><span leaf=\"\">\u5bb9\u5668\u5185\u6267\u884c<\/span><\/strong><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><strong><span leaf=\"\"><br \/><\/span><\/strong><\/span><\/p>\n<p data-line=\"252\" dir=\"auto\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u5148 source CANN \u73af\u5883\u53d8\u91cf\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u5bb9\u5668\u5185\u6267\u884c\u2014\u2014\u5148 source CANN \u73af\u5883\u53d8\u91cf<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__built_in\">source<\/span>\u00a0\/usr\/local\/Ascend\/ascend-toolkit\/set_env.sh<\/span><\/code><\/pre>\n<\/section>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<\/section>\n<section data-role=\"paragraph\"><span leaf=\"\" style=\"line-height: 1.6;font-weight: bold;color: rgb(51, 51, 51);text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\">2.1 \u5b89\u88c5\u7f16\u8bd1\u5de5\u5177\u94fe<\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u66ff\u6362 yum \u6e90\u5e76\u5b89\u88c5\u7f16\u8bd1\u4f9d\u8d56\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u66ff\u6362 openEuler \u56fd\u5185\u52a0\u901f yum \u6e90<\/span><\/span><\/code><code><span leaf=\"\">sed -i -e\u00a0<span class=\"code-snippet__string\">'s|https:\/\/repo.openeuler.org\/|https:\/\/mirrors.huaweicloud.com\/openeuler\/|'<\/span>\u00a0<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0-e\u00a0<span class=\"code-snippet__string\">'\/^metalink=\/s\/^\/#\/'<\/span>\u00a0\/etc\/yum.repos.d\/openEuler.repo<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u5b89\u88c5\u7f16\u8bd1\u4f9d\u8d56<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__built_in\">command<\/span>\u00a0-v cmake \u00a0&gt;\/dev\/null 2&gt;&amp;1 || dnf install -y cmake<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__built_in\">command<\/span>\u00a0-v git \u00a0 \u00a0&gt;\/dev\/null 2&gt;&amp;1 || dnf install -y git<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__built_in\">command<\/span>\u00a0-v gcc \u00a0 \u00a0&gt;\/dev\/null 2&gt;&amp;1 || dnf install -y gcc gcc-c++ make<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__built_in\">command<\/span>\u00a0-v ccache &gt;\/dev\/null 2&gt;&amp;1 || dnf install -y ccache<\/span><\/code><\/pre>\n<\/section>\n<p style=\"line-height: 1.6;\"><code data-pm-slice=\"0 0 []\"><span leaf=\"\" style=\"font-weight: 400;color: rgb(51, 51, 51);text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\">ccache<\/span><\/code><span leaf=\"\" style=\"font-weight: 400;color: rgb(51, 51, 51);text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\">\u00a0\u53ef\u4ee5\u7f13\u5b58\u7f16\u8bd1\u4e2d\u95f4\u6587\u4ef6\uff0c\u589e\u91cf\u7f16\u8bd1\u65f6\u5927\u5e45\u52a0\u901f\u3002<\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<h4 data-line=\"277\" dir=\"auto\" style=\"line-height:1.6;font-size:17px;\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">2.2 \u514b\u9686\u6e90\u7801<\/span><\/span><\/strong><\/h4>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u901a\u8fc7 GitHub \u955c\u50cf\u4ee3\u7406\u52a0\u901f\u62c9\u53d6\u6e90\u7801\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span leaf=\"\">git\u00a0<span class=\"code-snippet__built_in\">clone<\/span>\u00a0--depth 1 <\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 https:\/\/ghfast.top\/https:\/\/github.com\/ggml-org\/llama.cpp.git <\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \/workspace\/home\/llama.cpp<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__built_in\">cd<\/span>\u00a0\/workspace\/home\/llama.cpp<\/span><\/code><\/pre>\n<\/section>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">2.3 \u7f16\u8bd1\uff08CANN \u540e\u7aef\uff09<\/span><\/span><\/strong><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u4f7f\u7528 CMake \u914d\u7f6e\u5e76\u7f16\u8bd1 llama.cpp\uff0c\u542f\u7528 CANN \u540e\u7aef\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"apache\"><code><span leaf=\"\"><span class=\"code-snippet__attribute\">cmake<\/span>\u00a0-B build -DGGML_CANN=<span class=\"code-snippet__literal\">on<\/span>\u00a0-DCMAKE_BUILD_TYPE=release\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attribute\">cmake<\/span>\u00a0--build build --config release -j $(nproc)<\/span><\/code><\/pre>\n<\/section>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u7f16\u8bd1\u65f6\u95f4\u53d6\u51b3\u4e8e\u673a\u5668\u6027\u80fd\uff0c\u901a\u5e38\u5728\u51e0\u5206\u949f\u5230\u5341\u51e0\u5206\u949f\u3002<\/span><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<h4 data-line=\"300\" dir=\"auto\" style=\"line-height:1.6;font-size:17px;\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">2.4 \u9a8c\u8bc1\u7f16\u8bd1\u4ea7\u7269<\/span><\/span><\/strong><\/h4>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u786e\u8ba4\u7f16\u8bd1\u4ea7\u7269\u5df2\u6b63\u786e\u751f\u6210\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span leaf=\"\"><span class=\"code-snippet__built_in\">ls<\/span>\u00a0-lh build\/bin\/llama-server<\/span><\/code><code><span leaf=\"\">build\/bin\/llama-server --version<\/span><\/code><\/pre>\n<\/section>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u7f16\u8bd1\u5b8c\u6210\u540e\uff0c\u786e\u8ba4<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">\u00a0llama-server\u00a0<\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u5df2\u6b63\u786e\u751f\u6210\u5e76\u67e5\u770b\u7248\u672c\u4fe1\u606f\uff1a<\/span><\/span><\/p>\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.604735883424408\" data-s=\"300,640\" data-type=\"png\" data-w=\"549\" style=\"width:100%;\" type=\"block\" data-backw=\"549\" data-backh=\"332\" data-imgfileid=\"100037802\" data-aistatus=\"1\" src=\"https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/640-087e9697.png\"><\/section>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\"><br \/><\/span><\/span><\/p>\n<section style=\"margin-top: 0px;margin-bottom: 16px;color: rgb(187, 190, 191);font-size: 14px;text-decoration-thickness: initial;line-height: 1.6;font-family: -apple-system, BlinkMacSystemFont, system-ui, Ubuntu, sans-serif;\" dir=\"auto\" nodeleaf=\"\"><span><\/span><\/section>\n<p style=\"line-height:1.6;\" dir=\"auto\"><strong style=\"color: rgb(8, 121, 226);font-size: 16px;letter-spacing: 0.25px;background-color: transparent;\"><span leaf=\"\">\u258fStep 3\uff1a\u51c6\u5907 GGUF \u6a21\u578b<\/span><\/strong><\/p>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">llama.cpp \u53ea\u652f\u6301 GGUF \u683c\u5f0f\u3002\u5982\u679c\u4f60\u7684\u6a21\u578b\u76ee\u5f55\u4e2d\u5df2\u6709<\/span><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;background-color: #fafafa;\"><span leaf=\"\">\u00a0<\/span><span leaf=\"\" style=\"line-height: 1.6;background: rgb(241, 243, 249);border-radius: 4px;padding: 1px 5px;font-size: 14px;color: rgb(199, 37, 78);letter-spacing: 1.5px;font-family: Consolas, Menlo, monospace;\">.gguf<\/span><\/span><span leaf=\"\">\u00a0\u6587\u4ef6\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\uff1b\u5426\u5219\u9700\u8981\u4ece HuggingFace safetensors \u683c\u5f0f\u8f6c\u6362\u3002<\/span><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u56fd\u5185\u7528\u6237\u63a8\u8350\u4ece ModelScope \u76f4\u63a5\u4e0b\u8f7d GGUF \u683c\u5f0f\u7684\u6743\u91cd\uff0c\u901f\u5ea6\u8f83\u5feb\uff0c\u672c\u6587\u4f7f\u7528\u7684\u662f ModelScope \u4e0a\u7684\u00a0<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">unsloth\/Qwen3.5-9B-GGUF<\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\uff0c\u4e0d\u9700\u8981\u8f6c\u6362\u3002<\/span><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u60c5\u51b5 A\uff1a\u5df2\u6709 GGUF \u6587\u4ef6<\/span><\/span><\/strong><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"apache\"><code><span leaf=\"\"><span class=\"code-snippet__attribute\">ls<\/span>\u00a0\/models\/Qwen3-<span class=\"code-snippet__number\">0<\/span>.<span class=\"code-snippet__number\">6<\/span>B\/*.gguf<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u76f4\u63a5\u4f7f\u7528\u5df2\u6709\u7684 gguf \u6587\u4ef6<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u60c5\u51b5 B\uff1a\u9700\u8981\u8f6c\u6362<\/span><\/span><\/strong><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"apache\"><code><span leaf=\"\"><span class=\"code-snippet__attribute\">pip<\/span>\u00a0install numpy sentencepiece transformers\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -i https:\/\/mirrors.huaweicloud.com\/repository\/pypi\/simple<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attribute\">python3<\/span>\u00a0\/workspace\/home\/llama.cpp\/convert_hf_to_gguf.py \/models\/Qwen3-<span class=\"code-snippet__number\">0<\/span>.<span class=\"code-snippet__number\">6<\/span>B\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 --outfile \/models\/Qwen3-<span class=\"code-snippet__number\">0<\/span>.<span class=\"code-snippet__number\">6<\/span>B\/Qwen3-<span class=\"code-snippet__number\">0<\/span>.<span class=\"code-snippet__number\">6<\/span>B-f16.gguf\u00a0<span class=\"code-snippet__punctuation\"><\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 --outtype f16<\/span><\/code><\/pre>\n<\/section>\n<section data-id=\"14\">\n<section style=\"border-width: 1px 1px 1px 3px;border-style: solid;border-color: #bfbfbf #bfbfbf #bfbfbf #0879e2;border-radius: 3px;padding: 10px;margin: 10px 0px;box-sizing:border-box;\">\n<p style=\"text-align:justify;line-height: 1.6;\"><span style=\"color:#7f7f7f;\"><em><strong><span style=\"text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;\">\u6ce8\u610f\uff1a<\/span><\/span><\/span><\/strong><span style=\"font-weight: 400;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 14px;\">CANN9.0.0 \u540e\u7aef\u76ee\u524d\u652f\u6301 f16 \/ q8_0 \/ q4_0 \u91cf\u5316\u7c7b\u578b\uff0c\u5176\u4ed6\u91cf\u5316\u683c\u5f0f\u9700\u8981\u81ea\u884c\u6d4b\u8bd5\uff0c\u4e0d\u4e00\u5b9a\u80fd\u7528\u3002<\/span><\/span><\/span><\/em><\/span><\/p>\n<\/section>\n<\/section>\n<p data-line=\"377\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<h3 data-line=\"384\" dir=\"auto\" style=\"font-size: 17px;line-height: 1.6;text-align: justify;line-height:1.6;\"><span style=\"color: #0879e2;text-shadow: none;letter-spacing: 0.25px;font-size: 16px;\"><strong><span leaf=\"\">\u258fStep 4\uff1a\u542f\u52a8\u63a8\u7406\u670d\u52a1<\/span><\/strong><\/span><\/h3>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\ud83d\udce6<\/span><strong><span leaf=\"\">\u00a0\u5bb9\u5668\u5185\u6267\u884c<\/span><\/strong><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u542f\u52a8 llama.cpp \u63a8\u7406\u670d\u52a1\uff0c\u540e\u53f0\u8fd0\u884c\u5e76\u5c06\u65e5\u5fd7\u5199\u5165\u6587\u4ef6\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"css\"><code><span leaf=\"\"><span class=\"code-snippet__selector-tag\">source<\/span>\u00a0\/usr\/local\/Ascend\/ascend-toolkit\/set_env<span class=\"code-snippet__selector-class\">.sh<\/span><\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\">\/workspace\/home\/llama<span class=\"code-snippet__selector-class\">.cpp<\/span>\/build\/bin\/llama-server <\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__attr\">--model<\/span>\u00a0\/models\/unsloth\/Qwen3.<span class=\"code-snippet__number\">5<\/span>-<span class=\"code-snippet__number\">9<\/span>B-GGUF\/Qwen3.<span class=\"code-snippet__number\">5<\/span>-<span class=\"code-snippet__number\">9<\/span>B-Q8_0<span class=\"code-snippet__selector-class\">.gguf<\/span>\u00a0<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__attr\">--host<\/span>\u00a0<span class=\"code-snippet__number\">0.0<\/span>.<span class=\"code-snippet__number\">0.0<\/span>\u00a0<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__attr\">--port<\/span>\u00a0<span class=\"code-snippet__number\">8001<\/span>\u00a0<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__attr\">--n-gpu-layers<\/span>\u00a0<span class=\"code-snippet__number\">99<\/span>\u00a0<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__attr\">--split-mode<\/span>\u00a0<span class=\"code-snippet__attribute\">none<\/span>\u00a0<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__attr\">--ctx-size<\/span>\u00a0<span class=\"code-snippet__number\">8192<\/span>\u00a0<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__attr\">--alias<\/span>\u00a0Qwen3.<span class=\"code-snippet__number\">5<\/span>-<span class=\"code-snippet__number\">9<\/span>B <\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 &gt; \/workspace\/logs\/llama_server<span class=\"code-snippet__selector-class\">.log<\/span>\u00a0<span class=\"code-snippet__number\">2<\/span>&gt;&amp;<span class=\"code-snippet__number\">1<\/span>\u00a0&amp;<\/span><\/code><\/pre>\n<\/section>\n<section data-id=\"170294\">\n<section style=\"margin: 10px auto;\">\n<section style=\"background-color: #f5f9ff;padding: 20px 15px;box-sizing:border-box;\">\n<section data-autoskip=\"1\" style=\"text-align: justify;line-height:1.75em;letter-spacing: 1.5px;font-size:14px;color:#333333;background-color: transparent;\" data-role=\"list\">\n<section data-role=\"list\">\n<p dir=\"auto\"><strong><span leaf=\"\">&gt;&gt;\u53c2\u6570\u8bf4\u660e\uff1a<\/span><\/strong><\/p>\n<section data-role=\"list\">\n<section data-role=\"list\">\n<section data-role=\"list\">\n<ul style=\"list-style-type: disc;margin:0px;padding:0 0 0 30px;list-style-position:outside;\" class=\"list-paddingleft-1\">\n<li>\n<p><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">--n-gpu-layers 99<\/span><\/code><span leaf=\"\">\uff1a\u5c06\u5168\u90e8\u5c42\u653e\u5230 NPU \u4e0a\uff0899 \u8868\u793a\u201c\u5168\u90e8\u201d\uff09<\/span><\/p>\n<\/li>\n<li>\n<p><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">--split-mode layer<\/span><\/code><span leaf=\"\">\uff1a\u591a\u5361\u65f6\u6309\u5c42\u5207\u5206\uff1b\u5355\u5361\u573a\u666f\u53ef\u6539\u4e3a\u00a0<\/span><span leaf=\"\" style=\"box-sizing: border-box;text-align: justify;line-height: 1.75em;background: rgb(241, 243, 249);border-radius: 4px;padding: 1px 5px;font-size: 14px;color: rgb(199, 37, 78);letter-spacing: 1.5px;font-family: Consolas, Menlo, monospace;\">none<\/span><\/p>\n<\/li>\n<li>\n<p><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">--ctx-size 8192<\/span><\/code><span leaf=\"\">\uff1a\u4e0a\u4e0b\u6587\u7a97\u53e3\u5927\u5c0f<\/span><\/p>\n<\/li>\n<\/ul>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<h3 data-line=\"435\" dir=\"auto\" style=\"line-height: 1.6;text-align: justify;line-height:1.6;font-size:17px;\"><span style=\"color: #0879e2;text-shadow: none;letter-spacing: 0.25px;font-size: 16px;\"><strong><span leaf=\"\">\u258fStep 5\uff1a\u9a8c\u8bc1\u670d\u52a1<\/span><\/strong><\/span><\/h3>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">5.1 \u7b49\u5f85\u5c31\u7eea<\/span><\/span><\/strong><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span leaf=\"\"><span class=\"code-snippet__keyword\">while<\/span>\u00a0! curl -fsS http:\/\/127.0.0.1:8001\/health 2&gt;\/dev\/null;\u00a0<span class=\"code-snippet__keyword\">do<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__built_in\">echo<\/span>\u00a0<span class=\"code-snippet__string\">\"\u7b49\u5f85\u670d\u52a1\u5c31\u7eea...\"<\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__built_in\">sleep<\/span>\u00a05<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">done<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__built_in\">echo<\/span>\u00a0<span class=\"code-snippet__string\">\"\u670d\u52a1\u5df2\u5c31\u7eea\uff01\"<\/span><\/span><\/code><code><span leaf=\"\">curl -s http:\/\/127.0.0.1:8001\/v1\/models | python -m json.tool<\/span><\/code><\/pre>\n<\/section>\n<p style=\"line-height:1.6;\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">5.2 curl \u63a8\u7406\u9a8c\u8bc1<\/span><\/span><\/strong><\/p>\n<p style=\"line-height:1.6;\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u53d1\u9001\u4e00\u6761\u6d4b\u8bd5\u8bf7\u6c42\uff0c\u9a8c\u8bc1\u63a8\u7406\u670d\u52a1\u662f\u5426\u6b63\u5e38\u54cd\u5e94\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"cpp\"><code><span leaf=\"\">curl -sS http:<span class=\"code-snippet__comment\">\/\/127.0.0.1:8001\/v1\/chat\/completions <\/span><\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -H \"Content-Type: application\/json\" <\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 -d '{<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0<span class=\"code-snippet__string\">\"model\"<\/span>:\u00a0<span class=\"code-snippet__string\">\"Qwen3-0.6B\"<\/span>,<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0<span class=\"code-snippet__string\">\"messages\"<\/span>: [{<span class=\"code-snippet__string\">\"role\"<\/span>:\u00a0<span class=\"code-snippet__string\">\"user\"<\/span>,\u00a0<span class=\"code-snippet__string\">\"content\"<\/span>:\u00a0<span class=\"code-snippet__string\">\"\u8bf7\u7528\u4e00\u53e5\u8bdd\u4ecb\u7ecd\u534e\u4e3a\u6607\u817e\u3002\"<\/span>}],<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0<span class=\"code-snippet__string\">\"max_tokens\"<\/span>:\u00a0<span class=\"code-snippet__number\">256<\/span>,<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0<span class=\"code-snippet__string\">\"temperature\"<\/span>:\u00a0<span class=\"code-snippet__number\">0<\/span>,<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0<span class=\"code-snippet__string\">\"chat_template_kwargs\"<\/span>: {<span class=\"code-snippet__string\">\"enable_thinking\"<\/span>:\u00a0<span class=\"code-snippet__literal\">false<\/span>}<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 }'<\/span><\/code><\/pre>\n<\/section>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u63a8\u7406\u9a8c\u8bc1\u8fd4\u56de\u7ed3\u679c\u5982\u4e0b\uff1a<\/span><\/span><\/p>\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.22854914196567863\" data-s=\"300,640\" data-type=\"png\" data-w=\"1282\" type=\"block\" data-imgfileid=\"100037804\" data-aistatus=\"1\" src=\"https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/640-30077b4f.png\"><\/section>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<h3 data-line=\"505\" dir=\"auto\" style=\"line-height: 1.6;text-align: justify;line-height:1.6;font-size:17px;\"><span style=\"color: #0879e2;text-shadow: none;letter-spacing: 0.25px;font-size: 16px;\"><strong><span leaf=\"\">\u258fStep 6\uff1a\u8fd0\u884c Benchmark<\/span><\/strong><\/span><\/h3>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\ud83d\udce6\u00a0<span textstyle=\"\" style=\"font-weight: bold;\">\u5bb9\u5668\u5185\u6267\u884c<\/span><\/span><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\"><br \/><\/span><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">llama.cpp \u4f7f\u7528\u5185\u7f6e\u7684\u00a0<\/span><span style=\"box-sizing: border-box;text-align: justify;line-height: 1.75em;background: rgb(241, 243, 249);border-radius: 4px;padding: 1px 5px;font-size: 14px;color: rgb(199, 37, 78);letter-spacing: 1.5px;font-family: Consolas, Menlo, monospace;\"><span leaf=\"\" style=\"box-sizing: border-box;text-align: justify;line-height: 1.75em;background: rgb(241, 243, 249);border-radius: 4px;padding: 1px 5px;font-size: 14px;color: rgb(199, 37, 78);letter-spacing: 1.5px;font-family: Consolas, Menlo, monospace;\">llama-bench<\/span><\/span><span leaf=\"\">\u00a0\u5de5\u5177\uff0c\u8f93\u51fa pp\uff08prefill \u541e\u5410\uff09\u548c tg\uff08decode \u901f\u5ea6\uff09\uff0c\u7528\u4e8e\u6027\u80fd\u6d4b\u8bd5\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"swift\"><code><span leaf=\"\">source\u00a0<span class=\"code-snippet__regexp\">\/usr\/<\/span>local<span class=\"code-snippet__regexp\">\/Ascend\/<\/span>ascend<span class=\"code-snippet__operator\">-<\/span>toolkit<span class=\"code-snippet__operator\">\/<\/span>set_env.sh<\/span><\/code><code><span leaf=\"\"><br><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__regexp\">\/workspace\/<\/span>home<span class=\"code-snippet__regexp\">\/llama.cpp\/<\/span>build<span class=\"code-snippet__regexp\">\/bin\/<\/span>llama<span class=\"code-snippet__operator\">-<\/span>bench <\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__operator\">-<\/span>m\u00a0<span class=\"code-snippet__regexp\">\/models\/<\/span>unsloth<span class=\"code-snippet__regexp\">\/Qwen3.5-9B-GGUF\/<\/span><span class=\"code-snippet__type\">Qwen3<\/span>.<span class=\"code-snippet__number\">5<\/span><span class=\"code-snippet__operator\">-<\/span>9B<span class=\"code-snippet__operator\">-<\/span><span class=\"code-snippet__type\">Q8_0<\/span>.gguf <\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__operator\">-<\/span>n\u00a0<span class=\"code-snippet__number\">512<\/span>\u00a0<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__operator\">-<\/span>p\u00a0<span class=\"code-snippet__number\">2048<\/span>\u00a0<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__operator\">-<\/span>r\u00a0<span class=\"code-snippet__number\">3<\/span>\u00a0<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__operator\">-<\/span>ngl\u00a0<span class=\"code-snippet__number\">99<\/span>\u00a0<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__operator\">-<\/span>sm none <\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0\u00a0<span class=\"code-snippet__operator\">|<\/span>\u00a0tee\u00a0<span class=\"code-snippet__regexp\">\/workspace\/<\/span>logs<span class=\"code-snippet__operator\">\/<\/span>llama_cpp_benchmark.txt<\/span><\/code><\/pre>\n<\/section>\n<section data-id=\"170294\">\n<section style=\"margin: 10px auto;\">\n<section style=\"background-color: #f5f9ff;padding: 20px 15px;box-sizing:border-box;\">\n<section data-autoskip=\"1\" style=\"text-align: justify;line-height:1.75em;letter-spacing: 1.5px;font-size:14px;color:#333333;background-color: transparent;\" data-role=\"list\">\n<section data-role=\"list\">\n<p dir=\"auto\"><strong><span leaf=\"\">&gt;&gt;\u53c2\u6570\u8bf4\u660e\uff1a<\/span><\/strong><\/p>\n<section data-role=\"list\">\n<section data-role=\"list\">\n<section data-role=\"list\">\n<ul style=\"list-style-type: disc;margin:0px;padding:0 0 0 30px;list-style-position:outside;\" class=\"list-paddingleft-2\">\n<li>\n<p style=\"line-height:1.6;\"><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">-p<\/span><\/code><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\uff1aprefill\uff08prompt processing\uff09\u6d4b\u8bd5\u957f\u5ea6<\/span><\/span><\/p>\n<\/li>\n<li>\n<p style=\"line-height:1.6;\"><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">-n<\/span><\/code><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\uff1adecode\uff08text generation\uff09\u6d4b\u8bd5\u957f\u5ea6<\/span><\/span><\/p>\n<\/li>\n<li>\n<p style=\"line-height:1.6;\"><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">-r 3<\/span><\/code><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\uff1a\u6bcf\u9879\u6d4b\u8bd5\u91cd\u590d 3 \u6b21\u53d6\u5e73\u5747<\/span><\/span><\/p>\n<\/li>\n<li>\n<p style=\"line-height:1.6;\"><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">-ngl 99<\/span><\/code><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\uff1a\u5168\u90e8\u5c42\u653e NPU<\/span><\/span><\/p>\n<\/li>\n<li>\n<p style=\"line-height:1.6;\"><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">-sm layer<\/span><\/code><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\uff1a\u591a\u5361\u6309\u5c42\u5207\u5206\uff0c\u5355\u5361\u53ef\u76f4\u63a5\u586b none<\/span><\/span><\/p>\n<\/li>\n<li>\n<p style=\"text-align:justify;line-height: 1.6;\"><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 14px;color: #c7254e;letter-spacing: 1.5px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">-m<\/span><\/code><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\uff1a\u6a21\u578b\u6743\u91cd\u6587\u4ef6\u8def\u5f84\uff0cGGUF \u683c\u5f0f\uff0c\u53ef\u4ee5\u4f7f\u7528 ModelScope \u6216\u8005 HF \u7b49\u5de5\u5177\u4e0b\u8f7d\uff0c\u8fd9\u91cc\u4e0d\u518d\u8d58\u8ff0\u3002<\/span><\/span><\/p>\n<\/li>\n<\/ul>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u8f93\u51fa\u4e2d\u7684 pp \u5bf9\u5e94 prefill \u541e\u5410\uff08tokens\/s\uff09\uff0ctg \u5bf9\u5e94 decode \u901f\u5ea6\uff08tokens\/s\uff09\uff0c\u5206\u522b\u4e0e vLLM \/ SGLang \u7684 TTFT \u548c TPOT \u542b\u4e49\u5bf9\u5e94\u3002<\/span><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">Benchmark \u6d4b\u8bd5\u7ed3\u679c\uff1a<\/span><\/span><\/strong><\/p>\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.28680479825517996\" data-s=\"300,640\" data-type=\"png\" data-w=\"917\" style=\"width:100%;\" type=\"block\" data-backw=\"578\" data-backh=\"166\" data-imgfileid=\"100037806\" data-aistatus=\"1\" src=\"https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/640-31ccb6e6.png\"><\/section>\n<p style=\"line-height:1.6;\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\"><br \/><\/span><\/span><\/strong><\/p>\n<p style=\"line-height: 1.6;\" dir=\"auto\"><strong><span data-pm-slice=\"0 0 []\"><span leaf=\"\" style=\"font-weight: 400;color: rgb(51, 51, 51);text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\">\u53ef\u4ee5\u4fee\u6539\u00a0<\/span><\/span><code style=\"line-height: 1.6;background: rgb(241, 243, 249);border-radius: 4px;padding: 1px 5px;font-size: 14px;color: rgb(199, 37, 78);letter-spacing: 1.5px;font-family: Consolas, Menlo, monospace;\"><span leaf=\"\" style=\"background: rgb(241, 243, 249);border-radius: 4px;padding: 1px 5px;font-size: 14px;color: rgb(199, 37, 78);letter-spacing: 1.5px;font-family: Consolas, Menlo, monospace;\">-n<\/span><\/code><span leaf=\"\" style=\"font-weight: 400;color: rgb(51, 51, 51);text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\">\u00a0<\/span><code style=\"font-weight: bold;line-height: 1.6;background: rgb(241, 243, 249);border-radius: 4px;padding: 1px 5px;font-size: 14px;color: rgb(199, 37, 78);letter-spacing: 1.5px;font-family: Consolas, Menlo, monospace;\"><span leaf=\"\" style=\"font-weight: bold;line-height: 1.6;background: rgb(241, 243, 249);border-radius: 4px;padding: 1px 5px;font-size: 14px;color: rgb(199, 37, 78);letter-spacing: 1.5px;font-family: Consolas, Menlo, monospace;\">-p<\/span><\/code><span leaf=\"\" style=\"font-weight: 400;color: rgb(51, 51, 51);text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\">\u00a0\u53c2\u6570\uff0c\u6d4b\u8bd5\u4e0d\u540c\u573a\u666f\u4e0b\u7684\u6027\u80fd\uff1a<\/span><\/strong><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">a. \u957f\u4e0a\u4e0b\u6587\u8f93\u5165<\/span><\/span><\/strong><\/p>\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.07119741100323625\" data-s=\"300,640\" data-type=\"png\" data-w=\"927\" type=\"block\" data-imgfileid=\"100037808\" data-aistatus=\"1\" src=\"https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/640-4c32cbcf.png\"><\/section>\n<p style=\"line-height:1.6;\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\"><br \/><\/span><\/span><\/strong><\/p>\n<section style=\"line-height:1.6;\" dir=\"auto\" nodeleaf=\"\"><span><\/span><\/section>\n<p style=\"line-height: 1.6;\" dir=\"auto\"><span leaf=\"\" style=\"font-weight: bold;color: rgb(51, 51, 51);text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\">b<\/span><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\" data-pm-slice='1 1 [\"para\",{\"tagName\":\"section\",\"attributes\":{\"data-role\":\"outer\",\"label\":\"edit by 135editor\",\"data-pm-slice\":\"0 0 []\"},\"namespaceURI\":\"http:\/\/www.w3.org\/1999\/xhtml\"},\"para\",{\"tagName\":\"section\",\"attributes\":{\"data-role\":\"paragraph\"},\"namespaceURI\":\"http:\/\/www.w3.org\/1999\/xhtml\"},\"para\",{\"tagName\":\"section\",\"attributes\":{\"data-role\":\"outer\",\"class\":\"article135\",\"label\":\"edit by 135editor\",\"data-pm-slice\":\"0 0 []\"},\"namespaceURI\":\"http:\/\/www.w3.org\/1999\/xhtml\"},\"para\",{\"tagName\":\"section\",\"attributes\":{\"data-role\":\"paragraph\",\"class\":\"\"},\"namespaceURI\":\"http:\/\/www.w3.org\/1999\/xhtml\"},\"para\",{\"tagName\":\"p\",\"attributes\":{\"style\":\"line-height:1.6;\",\"dir\":\"auto\"},\"namespaceURI\":\"http:\/\/www.w3.org\/1999\/xhtml\"},\"node\",{\"tagName\":\"strong\",\"attributes\":{},\"namespaceURI\":\"http:\/\/www.w3.org\/1999\/xhtml\"},\"node\",{\"tagName\":\"span\",\"attributes\":{\"style\":\"color: #333333; text-shadow: none; letter-spacing: 0.25px; font-size: 15px;\"},\"namespaceURI\":\"http:\/\/www.w3.org\/1999\/xhtml\"}]'>.\u00a0<\/span><\/span><\/strong><span leaf=\"\" style=\"font-weight: bold;color: rgb(51, 51, 51);text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\">\u957f\u6587\u672c\u751f\u6210<\/span><\/p>\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.0915032679738562\" data-s=\"300,640\" data-type=\"png\" data-w=\"918\" type=\"block\" data-imgfileid=\"100037810\" data-aistatus=\"1\" src=\"https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/640-76f238ba.png\"><\/section>\n<p dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p dir=\"auto\"><span style=\"color: #0879e2;text-shadow: none;letter-spacing: 0.25px;font-size: 16px;\"><strong><span leaf=\"\">\u258fStep 7\uff1a\u6e05\u7406<\/span><\/strong><\/span><\/p>\n<p dir=\"auto\"><span style=\"color: #0879e2;text-shadow: none;letter-spacing: 0.25px;font-size: 16px;\"><strong><span leaf=\"\"><br \/><\/span><\/strong><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\ud83d\udce6\u00a0<\/span><strong><span leaf=\"\">\u5bb9\u5668\u5185 + \ud83d\udda5\ufe0f \u5bbf\u4e3b\u673a<\/span><\/strong><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u6d4b\u8bd5\u5b8c\u6210\u540e\uff0c\u505c\u6b62\u670d\u52a1\u5e76\u6e05\u7406\u5bb9\u5668\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li>\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"powershell\"><code><span leaf=\"\">pkill\u00a0<span class=\"code-snippet__operator\">-f<\/span>\u00a0llama<span class=\"code-snippet__literal\">-server<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">exit<\/span><\/span><\/code><code><span leaf=\"\">docker stop llama<span class=\"code-snippet__literal\">-cpp-ascend-910b<\/span><\/span><\/code><code><span leaf=\"\">docker\u00a0<span class=\"code-snippet__built_in\">rm<\/span>\u00a0llama<span class=\"code-snippet__literal\">-cpp-ascend-910b<\/span><\/span><\/code><\/pre>\n<\/section>\n<section data-role=\"paragraph\">\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<\/section>\n<section data-role=\"title\" data-id=\"174851\">\n<section style=\"margin: 10px auto;\">\n<section style=\"display: flex;align-items: center;\">\n<section style=\"flex-shrink: 0;display: flex;align-items: center;padding-right: 5px;box-sizing:border-box;\">\n<section style=\"width: 5px;height: 18px;background-color: #0879e2;box-sizing:border-box;\" data-ignore-width=\"\"><span leaf=\"\"><br \/><\/span><\/section>\n<section style=\"width: 5px;height: 18px;background-color: #f8cd58;margin-left: -1px;margin-top: -10px;box-sizing:border-box;\" data-ignore-width=\"\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<section style=\"display: flex;justify-content: space-between;width: 100%;max-width:100% !important;box-sizing:border-box;\" data-width=\"100%\">\n<section>\n<section style=\"font-size: 18px;color: #0879e2;text-align: center;\"><strong data-brushtype=\"text\"><span leaf=\"\">\u4e09\u3001\u5173\u952e\u6307\u6807\u89e3\u8bfb<\/span><\/strong><\/section>\n<\/section>\n<section>\n<section style=\"font-size: 14px;color: #0879e2;text-align: center;\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"width: 100%;height: 1px;border-top: 1px solid #0879e2;max-width:100% !important;box-sizing:border-box;\" data-width=\"100%\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<\/section>\n<section data-role=\"paragraph\">\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<\/section>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u4ee5\u4e0b\u662f Benchmark \u8f93\u51fa\u4e2d\u5404\u9879\u6307\u6807\u7684\u542b\u4e49\uff1a<\/span><\/span><\/p>\n<table style=\"border-collapse:collapse;width:583px;\">\n<tbody>\n<tr style=\"height:14.0pt;\">\n<td data-colwidth=\"231\" width=\"149\" style=\"height: 14pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;font-weight: bold;\">\u6307\u6807\u540d<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"352\" width=\"169\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;font-weight: bold;\">\u542b\u4e49<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"height:39.0pt;\">\n<td data-colwidth=\"231\" width=\"149\" style=\"height: 39pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">1\/pp \u00a0 (prefill)<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"352\" width=\"169\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">\u9996 token \u5ef6\u8fdf \/ \u9884\u586b\u5145\u541e\u5410<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"height:39.0pt;\">\n<td data-colwidth=\"231\" width=\"149\" style=\"height: 39pt;\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">1\/tg \u00a0 (decode)<\/span><\/span><\/section>\n<\/td>\n<td data-colwidth=\"352\" width=\"169\">\n<section><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 13px;\">\u6bcf token \u8017\u65f6 \/ \u89e3\u7801\u901f\u5ea6<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<hr style=\"border-width: 0px 0px 1px;border-style: none none solid;border-color: rgba(255, 255, 255, 0.18);border-image: initial;height: 1px;font-size: 14px;text-decoration-thickness: initial;font-family: -apple-system, BlinkMacSystemFont, system-ui, Ubuntu, sans-serif;\">\n<section data-role=\"title\" data-id=\"174851\">\n<section style=\"margin: 10px auto;\">\n<section style=\"display: flex;align-items: center;\">\n<section style=\"flex-shrink: 0;display: flex;align-items: center;padding-right: 5px;box-sizing:border-box;\">\n<section style=\"width: 5px;height: 18px;background-color: #0879e2;box-sizing:border-box;\" data-ignore-width=\"\"><span leaf=\"\"><br \/><\/span><\/section>\n<section style=\"width: 5px;height: 18px;background-color: #f8cd58;margin-left: -1px;margin-top: -10px;box-sizing:border-box;\" data-ignore-width=\"\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<section style=\"display: flex;justify-content: space-between;width: 100%;max-width:100% !important;box-sizing:border-box;\" data-width=\"100%\">\n<section>\n<section style=\"font-size: 18px;color: #0879e2;text-align: center;\"><strong data-brushtype=\"text\"><span leaf=\"\">\u56db\u3001\u5e38\u89c1\u95ee\u9898\u4e0e\u8e29\u5751<\/span><\/strong><\/section>\n<\/section>\n<section>\n<section style=\"font-size: 14px;color: #0879e2;text-align: center;\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"width: 100%;height: 1px;border-top: 1px solid #0879e2;max-width:100% !important;box-sizing:border-box;\" data-width=\"100%\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<\/section>\n<h2 data-line=\"537\" dir=\"auto\" style=\"line-height:1.6;font-size:17px;\"><span leaf=\"\"><br \/><\/span><\/h2>\n<h3 data-line=\"472\" dir=\"auto\" style=\"line-height:1.6;font-size:17px;\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">1. yum install \u6162<\/span><\/span><\/strong><\/h3>\n<p style=\"line-height:1.6;\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u73b0\u8c61\uff1a<\/span><\/span><\/strong><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u00a0<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 13.2px;color: #c7254e;letter-spacing: 0.4px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">yum install xxx<\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u00a0\u8f6f\u4ef6\u5305\u65f6\uff0c\u4e0b\u8f7d\u901f\u5ea6\u7f13\u6162\u3002<\/span><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u539f\u56e0\uff1a<\/span><\/span><\/strong><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u7cfb\u7edf\u9ed8\u8ba4\u7684 yum \u6e90\u53ef\u80fd\u662f\u00a0<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 13.2px;color: #c7254e;letter-spacing: 0.4px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">repo.openeuler.org<\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\uff0c\u901f\u5ea6\u8f83\u6162\u3002<\/span><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u4fee\u590d\uff1a<\/span><\/span><\/strong><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u00a0\u66ff\u6362 openEuler \u56fd\u5185\u52a0\u901f yum \u6e90\uff1a<\/span><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\n<li><\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span leaf=\"\">sed -i -e\u00a0<span class=\"code-snippet__string\">'s|https:\/\/repo.openeuler.org\/|https:\/\/mirrors.huaweicloud.com\/openeuler\/|'<\/span>\u00a0<\/span><\/code><code><span leaf=\"\">\u00a0 \u00a0 \u00a0 \u00a0-e\u00a0<span class=\"code-snippet__string\">'\/^metalink=\/s\/^\/#\/'<\/span>\u00a0\/etc\/yum.repos.d\/openEuler.repo<\/span><\/code><\/pre>\n<\/section>\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<h3 data-line=\"485\" dir=\"auto\" style=\"font-size:17px;\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">2. CANN \u540e\u7aef GGUF \u91cf\u5316\u9650\u5236<\/span><\/span><\/strong><\/h3>\n<p data-line=\"487\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u73b0\u8c61\uff1a<\/span><\/span><\/strong><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u00a0\u4f7f\u7528\u00a0<\/span><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;background-color: #fafafa;\"><span leaf=\"\">q5_k_m<\/span><\/span><span leaf=\"\">\u00a0\u7b49\u91cf\u5316\u683c\u5f0f\u8fd0\u884c\u65f6\u62a5\u9519\u3002<\/span><\/span><\/p>\n<p data-line=\"489\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u539f\u56e0\uff1a<\/span><\/span><\/strong><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u00a0CANN \u540e\u7aef\u7684 GGML \u5b9e\u73b0\u4ec5\u652f\u6301 f16 \/ q8_0 \/ q4_0 \u4e09\u79cd\u91cf\u5316\u683c\u5f0f\u3002<\/span><\/span><\/p>\n<p data-line=\"491\" dir=\"auto\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u4fee\u590d\uff1a<\/span><\/span><\/strong><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u00a0\u8f6c\u6362\u65f6\u4f7f\u7528\u00a0<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 13.2px;color: #c7254e;letter-spacing: 0.4px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">--outtype f16<\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u3001<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 13.2px;color: #c7254e;letter-spacing: 0.4px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">q8_0\u00a0<\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u6216\u00a0<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 13.2px;color: #c7254e;letter-spacing: 0.4px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">q4_0<\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u3002<\/span><\/span><\/p>\n<p data-line=\"491\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<h3 data-line=\"493\" dir=\"auto\" style=\"text-align: justify;font-size:17px;\"><strong><span style=\"color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">3. \u56fd\u5185\u7f51\u7edc\u955c\u50cf\u914d\u7f6e\u6c47\u603b<\/span><\/span><\/strong><\/h3>\n<hr style=\"border-width: 0px 0px 1px;border-style: none none solid;border-color: rgba(255, 255, 255, 0.18);border-image: initial;height: 1px;font-size: 14px;text-decoration-thickness: initial;font-family: -apple-system, BlinkMacSystemFont, system-ui, Ubuntu, sans-serif;\">\n<section style=\"text-align: center;\" nodeleaf=\"\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.27218934911242604\" data-s=\"300,640\" data-type=\"png\" data-w=\"1014\" type=\"block\" data-imgfileid=\"100037812\" data-aistatus=\"1\" src=\"https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/640-740955ad.png\"><\/section>\n<section data-role=\"paragraph\">\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<\/section>\n<section data-role=\"title\" data-id=\"174851\">\n<section style=\"margin: 10px auto;\">\n<section style=\"display: flex;align-items: center;\">\n<section style=\"flex-shrink: 0;display: flex;align-items: center;padding-right: 5px;box-sizing:border-box;\">\n<section style=\"width: 5px;height: 18px;background-color: #0879e2;box-sizing:border-box;\" data-ignore-width=\"\"><span leaf=\"\"><br \/><\/span><\/section>\n<section style=\"width: 5px;height: 18px;background-color: #f8cd58;margin-left: -1px;margin-top: -10px;box-sizing:border-box;\" data-ignore-width=\"\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<section style=\"display: flex;justify-content: space-between;width: 100%;max-width:100% !important;box-sizing:border-box;\" data-width=\"100%\">\n<section>\n<section style=\"font-size: 18px;color: #0879e2;text-align: center;\"><strong data-brushtype=\"text\"><span leaf=\"\">\u4e94\u3001\u603b\u7ed3<\/span><\/strong><\/section>\n<\/section>\n<section>\n<section style=\"font-size: 14px;color: #0879e2;text-align: center;\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"width: 100%;height: 1px;border-top: 1px solid #0879e2;max-width:100% !important;box-sizing:border-box;\" data-width=\"100%\"><span leaf=\"\"><br \/><\/span><\/section>\n<\/section>\n<\/section>\n<section data-role=\"paragraph\">\n<p><span leaf=\"\"><br \/><\/span><\/p>\n<\/section>\n<section data-role=\"paragraph\">\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u672c\u6587\u4ecb\u7ecd\u4e86\u4ece\u73af\u5883\u6784\u5efa\u5230\u6027\u80fd\u9a8c\u8bc1\u7684\u5168\u8fc7\u7a0b\u3002\u4ee5 openEuler 24.03 SP4 \u4e3a\u7edf\u4e00\u7684\u64cd\u4f5c\u7cfb\u7edf\u5e95\u5ea7\uff0c\u9010\u6b65\u5b8c\u6210\u4e86 Docker \u73af\u5883\u7684\u90e8\u7f72\u4ee5\u53ca llama.cpp \u7684\u7f16\u8bd1\u548c\u4f7f\u7528\uff0c\u5e76\u5229\u7528 random \u6570\u636e\u96c6\u8dd1\u901a\u4e86 Benchmark \u6d4b\u8bd5\uff0c\u8f93\u51fa\u4e86pp\u3001tg \u5173\u952e\u6027\u80fd\u6307\u6807\uff0c<\/span><strong><span leaf=\"\">\u9a8c\u8bc1\u4e86\u6574\u5957\u73af\u5883\u7684\u53ef\u7528\u6027\u4e0e\u7a33\u5b9a\u6027\u3002<\/span><\/strong><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u867d\u7136\u4ece\u534e\u4e3a\u4e91\u56fd\u5185\u52a0\u901f\u6e90\u4e0b\u8f7d pip \u4f9d\u8d56\u6bd4\u8f83\u5feb\uff0c\u4e0d\u8fc7\u8fd8\u662f\u9700\u8981\u7b49 1\u30012 \u5206\u949f\uff0c\u5982\u679c\u662f\u9996\u6b21\u6784\u5efa\u4f1a\u7b49\u66f4\u4e45\uff0c\u800c\u4e14 llama.cpp \u8fd8\u9700\u8981\u672c\u5730\u7f16\u8bd1\uff0c\u8017\u65f6\u6bd4\u8f83\u957f\u3002<\/span><\/span><\/p>\n<p style=\"line-height:1.6;\" dir=\"auto\"><span leaf=\"\"><br \/><\/span><\/p>\n<p style=\"text-align:justify;line-height: 1.6;\" dir=\"auto\"><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u4e3a\u4e86\u66f4\u65b9\u4fbf\u5f00\u53d1\u8005\u4f7f\u7528\uff0c\u63a5\u4e0b\u6765\uff0copenEuler \u793e\u533a\u5c06\u5f15\u5165 llama.cpp, vllm, sglang\u4e3b\u6d41\u63a8\u7406\u6846\u67b6, \u76f4\u63a5\u901a\u8fc7\u00a0<\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 13.2px;color: #c7254e;letter-spacing: 0.4px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">yum\u00a0<\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u6216<\/span><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;background-color: #fafafa;\"><span leaf=\"\">\u00a0<\/span><\/span><\/span><code style=\"background: #f1f3f9;border-radius: 4px;padding: 1px 5px;font-size: 13.2px;color: #c7254e;letter-spacing: 0.4px;font-family:Consolas, Menlo, monospace;\"><span leaf=\"\">dnf\u00a0<\/span><\/code><span style=\"font-weight: 400;color: #333333;text-shadow: none;letter-spacing: 0.25px;font-size: 15px;\"><span leaf=\"\">\u5373\u53ef<\/span><strong><span leaf=\"\">\u4e00\u952e\u5b89\u88c5\u914d\u7f6e\uff0c\u5b9e\u73b0\u5f00\u7bb1\u5373\u7528<\/span><\/strong><span leaf=\"\">\uff0c\u8bf7\u6301\u7eed\u5173\u6ce8 openEuler \u793e\u533a\u52a8\u6001\u3002<\/span><\/span><\/p>\n<section data-role=\"paragraph\" style='-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-family: \"PingFang SC NEW\", system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'>\n<p style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><br \/><\/span><\/p>\n<\/section>\n<section data-role=\"splitline\" data-id=\"99072\" data-pm-slice=\"0 0 []\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background-color: rgb(255, 255, 255);font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;\">\n<section data-ignore-width=\"\" nodeleaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 10px auto;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box;overflow-wrap: break-word !important;width: 50px;\"><img decoding=\"async\" alt=\"\u56fe\u7247\" class=\"rich_pages wxw-img __bg_gif\" data-ratio=\"0.11320754716981132\" data-type=\"jpeg\" data-w=\"424\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box;overflow-wrap: break-word !important;vertical-align: baseline;height: auto !important;display: block;width: 50px !important;visibility: visible !important;\" data-width=\"100%\" data-imgfileid=\"100037668\" data-aistatus=\"1\" src=\"https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/09\/640-7976610b.gif\"><\/section>\n<\/section>\n<section data-id=\"119344\" data-pm-slice=\"0 0 []\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background-color: rgb(255, 255, 255);font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;\">\n<section style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 10px auto;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\n<section style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 5px 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;border-top: 1px solid rgb(8, 121, 226);border-bottom: 1px solid rgb(8, 121, 226);\">\n<section style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px 0px -10px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;display: flex;justify-content: space-between;\">\n<section data-ignore-width=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box;overflow-wrap: break-word !important;width: 10px;height: 10px;border-width: 0px;border-radius: 0px 0px 100%;border-style: solid;border-color: rgb(242, 248, 255);background-color: rgb(242, 248, 255);\">\n<p style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><br \/><\/span><\/p>\n<\/section>\n<section data-ignore-width=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box;overflow-wrap: break-word !important;width: 10px;height: 10px;border-width: 0px;border-radius: 0px 0px 0px 100%;border-style: solid;border-color: rgb(242, 248, 255);background-color: rgb(242, 248, 255);\">\n<p style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><br \/><\/span><\/p>\n<\/section>\n<\/section>\n<section style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 15px 20px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;border: 0px solid rgb(242, 250, 255);background-color: rgb(242, 250, 255);\">\n<section data-autoskip=\"1\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;text-align: justify;line-height: 1.75em;letter-spacing: 1.5px;font-size: 14px;color: rgb(51, 51, 51);background: transparent;\">\n<p style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;\"><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><strong style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span textstyle=\"\" style=\"font-size: 15px;font-style: italic;\">\u5173\u4e8e openEuler AI \u5317\u5411\u6846\u67b6\u9002\u914d\u4f18\u5316\u4e13\u9879<\/span><\/span><\/strong><\/span><\/p>\n<p style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;\"><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u00a0 \u00a0\u00a0<span textstyle=\"\" style=\"color: rgb(136, 136, 136);font-style: italic;\">\u672c\u4e13\u9879\u805a\u7126 openEuler \u7cfb\u7edf AI \u5317\u5411\u8f6f\u4ef6\u751f\u6001\u9002\u914d\u4e0e\u6027\u80fd\u4f18\u5316\uff0c\u56f4\u7ed5\u5927\u3001\u4e2d\u3001\u5c0f\u6a21\u578b\u5168\u573a\u666f\u63a8\u7406\u3001\u8bad\u7ec3\u9700\u6c42\uff0c\u5b8c\u6210 SGLang\u3001Ollama\u3001vLLM\u3001PaddleOCR \u7b49\u4e3b\u6d41 AI \u6846\u67b6\u53ca\u5de5\u5177\u94fe\u7684\u9002\u914d\u517c\u5bb9\u4e0e\u6027\u80fd\u8c03\u4f18\uff0c\u8986\u76d6\u5927\u6a21\u578b\u63a8\u7406\u52a0\u901f\u3001\u8f7b\u91cf\u5316\u6a21\u578b\u90e8\u7f72\u3001\u5411\u91cf\u8bed\u4e49\u7f16\u7801\u3001\u8bed\u4e49\u91cd\u6392\u3001\u591a\u573a\u666f OCR \u8bc6\u522b\u7b49\u6838\u5fc3AI\u80fd\u529b\u3002\u4e13\u9879\u6253\u901a\u7cfb\u7edf\u5c42\u4e0e AI \u5e94\u7528\u6846\u67b6\u7684\u9002\u914d\u58c1\u5792\uff0c\u89e3\u51b3 openEuler \u73af\u5883\u4e0b AI \u6a21\u578b\u6846\u67b6\u90e8\u7f72\u517c\u5bb9\u5dee\u3001\u8fd0\u884c\u4f4e\u6548\u3001\u9002\u914d\u788e\u7247\u5316\u7b49\u95ee\u9898\uff0c\u642d\u5efa\u6807\u51c6\u5316\u3001\u9ad8\u6027\u80fd\u3001\u5168\u9002\u914d\u7684\u5317\u5411 AI \u8f6f\u4ef6\u6808\uff0c\u5145\u5206\u91ca\u653e\u7cfb\u7edf\u5f02\u6784\u7b97\u529b\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u5f00\u7bb1\u5373\u7528\u7684\u5927\u6a21\u578b\u5f00\u53d1\u3001\u5fae\u8c03\u4e0e\u90e8\u7f72\u73af\u5883\uff0c\u5b8c\u5584\u4ece\u5e95\u5c42\u7b97\u529b\u5230\u4e0a\u5c42 AI \u5e94\u7528\u7684\u5168\u94fe\u8def\u751f\u6001\u652f\u6491\u3002<\/span><\/span><\/span><\/p>\n<\/section>\n<\/section>\n<section style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: -10px 0px 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;display: flex;justify-content: space-between;\">\n<section data-ignore-width=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box;overflow-wrap: break-word !important;width: 10px;height: 10px;border-width: 0px;border-radius: 0px 100% 0px 0px;border-style: solid;border-color: rgb(242, 248, 255);background-color: rgb(242, 248, 255);\">\n<p style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><br \/><\/span><\/p>\n<\/section>\n<section data-ignore-width=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box;overflow-wrap: break-word !important;width: 10px;height: 10px;border-width: 0px;border-radius: 100% 0px 0px;border-style: solid;border-color: rgb(242, 248, 255);background-color: rgb(242, 248, 255);\">\n<p style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><br \/><\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p data-pm-slice=\"0 0 []\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;background-color: rgb(255, 255, 255);font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;\"><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;font-size: 14px;color: rgb(127, 127, 127);\"><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgb(127, 127, 127);font-size: 14px;letter-spacing: 0.544px;text-align: center;caret-color: rgb(255, 0, 0);text-decoration-thickness: initial;font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;display: inline !important;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">-END-<\/span><\/span><\/span><\/span><\/p>\n<p data-pm-slice=\"0 0 []\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;background-color: rgb(255, 255, 255);font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><br \/><\/span><\/p>\n<p data-pm-slice=\"2 2 []\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;background-color: rgb(255, 255, 255);font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;\"><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span textstyle=\"\" style=\"font-size: 12px;color: rgb(178, 178, 178);\">\u4f9b\u7a3f | \u6b27\u9633\u5e86<\/span><\/span><\/span><\/p>\n<p data-pm-slice=\"2 2 []\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;background-color: rgb(255, 255, 255);font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;\"><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span textstyle=\"\" style=\"font-size: 12px;color: rgb(178, 178, 178);\">\u7f16\u8f91 | \u4e18\u4e91<\/span><\/span><\/span><\/p>\n<p data-pm-slice=\"0 0 []\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;background-color: rgb(255, 255, 255);font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;\"><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span textstyle=\"\" style=\"font-size: 12px;color: rgb(178, 178, 178);\">\u6821\u5ba1\u00a0<\/span><\/span><\/span><span data-pm-slice='1 1 [\"para\",{\"tagName\":\"p\",\"attributes\":{\"style\":\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0); margin: 0px; padding: 0px; outline: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgba(0, 0, 0, 0.9); font-family: \"PingFang SC\", system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif; font-size: 17px;     letter-spacing: 0.544px;        background-color: rgb(255, 255, 255); text-decoration-thickness: initial;   text-align: left; box-sizing: border-box !important; overflow-wrap: break-word !important;\",\"data-pm-slice\":\"0 0 []\"},\"namespaceURI\":\"http:\/\/www.w3.org\/1999\/xhtml\"}]' style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span textstyle=\"\" style=\"font-size: 12px;color: rgb(178, 178, 178);\">| \u8d75\u5bb6\u9e92\u3001\u90d1\u632f\u5b87\u3001\u5218\u5f66\u98de<\/span><\/span><\/span><\/p>\n<p style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: left;line-height: 1.6;font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><br \/><\/span><\/p>\n<section data-id=\"103303\" data-pm-slice=\"0 0 []\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background-color: rgb(255, 255, 255);font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;\">\n<section style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 10px auto;padding: 16px 0px 0px;outline: 0px;max-width: 100%;box-sizing: border-box;overflow-wrap: break-word !important;text-align: center;\">\n<section data-width=\"100%\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px 0px -16px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box;overflow-wrap: break-word !important;width: 677px;height: 1px;background: rgb(8, 121, 226);\">\n<p style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><br \/><\/span><\/p>\n<\/section>\n<section style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;display: inline-block;\">\n<section data-brushtype=\"text\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 4px 1em;outline: 0px;max-width: 100%;box-sizing: border-box;overflow-wrap: break-word !important;font-size: 16px;letter-spacing: 1.5px;color: rgb(255, 255, 255);background: rgb(8, 121, 226);\"><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u5f80\u671f\u63a8\u8350<\/span><\/span><\/section>\n<\/section>\n<\/section>\n<p style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;\"><span data-pm-slice='1 1 [\"para\",{\"tagName\":\"p\",\"attributes\":{},\"namespaceURI\":\"http:\/\/www.w3.org\/1999\/xhtml\"}]' style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><\/span><\/p>\n<\/section>\n<p data-pm-slice=\"0 0 []\" style='-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;color: rgba(0, 0, 0, 0.9);font-family: \"PingFang SC NEW\", system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><span leaf=\"\" style='-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-family: mp-quote, \"PingFang SC\", system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;line-height: 1.6;letter-spacing: 0.034em;font-style: normal;font-weight: normal;'><a class=\"normal_text_link mp_article_text_link\" target=\"_blank\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;text-decoration: none;-webkit-user-drag: none;cursor: default;max-width: 100%;color: rgb(44, 128, 245);box-sizing: border-box !important;overflow-wrap: break-word !important;\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzkyMjYzNjU0Ng==&amp;mid=2247521325&amp;idx=1&amp;sn=f83a76b2eb1a16c33275a5768bb7c3e9&amp;scene=21#wechat_redirect\" textvalue=\"\u4e00\u6587\u5b9e\u6d4b\uff01openEuler 24.03 \u642d\u5efa vLLM\uff0cBenchmark \u6570\u636e\u76f4\u89c2\u51fa\u7089\" data-itemshowtype=\"0\" linktype=\"text\" data-linktype=\"2\"><span textstyle=\"\" style=\"font-size: 14px;color: rgb(44, 128, 245);\">\u4e00\u6587\u5b9e\u6d4b\uff01openEuler 24.03 \u642d\u5efa vLLM\uff0cBenchmark \u6570\u636e\u76f4\u89c2\u51fa\u7089<\/span><\/a><\/span><\/p>\n<p data-pm-slice=\"0 0 []\" style='-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;color: rgba(0, 0, 0, 0.9);font-family: \"PingFang SC NEW\", system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;'><span leaf=\"\" style='-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-family: mp-quote, \"PingFang SC\", system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;line-height: 1.6;letter-spacing: 0.034em;font-style: normal;font-weight: normal;'><a class=\"normal_text_link mp_article_text_link\" target=\"_blank\" style=\"color: rgb(44, 128, 245);\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzkyMjYzNjU0Ng==&amp;mid=2247521413&amp;idx=1&amp;sn=1fb65d6159e3caa19ea4a1f2b5bbc45d&amp;scene=21#wechat_redirect\" textvalue=\"\u624b\u628a\u624b\u5b9e\u6d4b\uff01openEuler 24.03 \u90e8\u7f72 SGLang\uff0cBenchmark \u6570\u636e\u51fa\u7089\" data-itemshowtype=\"0\" linktype=\"text\" data-linktype=\"2\"><span textstyle=\"\" style=\"font-size: 14px;color: rgb(44, 128, 245);\">\u624b\u628a\u624b\u5b9e\u6d4b\uff01openEuler 24.03 \u90e8\u7f72 SGLang\uff0cBenchmark \u6570\u636e\u51fa\u7089<\/span><\/a><\/span><\/p>\n<p data-pm-slice=\"0 0 []\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;background-color: rgb(255, 255, 255);font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><br \/><\/span><\/p>\n<p data-pm-slice=\"4 4 []\" style='-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: \"PingFang SC\", system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;background-color: rgb(255, 255, 255);text-align: center;'><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;font-size: 16px;text-decoration: underline;\"><strong style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><br \/><\/span><\/strong><\/span><\/p>\n<p data-pm-slice=\"4 4 []\" style='-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: \"PingFang SC\", system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;background-color: rgb(255, 255, 255);text-align: center;'><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;font-size: 16px;text-decoration: underline;\"><strong style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u5173\u6ce8\u6211\u4eec\uff0c\u4e86\u89e3\u66f4\u591a<\/span><\/strong><\/span><\/p>\n<p style='-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: \"PingFang SC\", system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;background-color: rgb(255, 255, 255);text-align: center;'><span style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;font-size: 16px;\"><strong style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span leaf=\"\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u25bc<\/span><\/strong><\/span><\/p>\n<section class=\"mp_profile_iframe_wrp\" nodeleaf=\"\" style='-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px 0px 24px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: \"PingFang SC\", system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;background-color: rgb(255, 255, 255);'><mp-common-profile class=\"js_uneditable custom_select_card mp_profile_iframe js_wx_tap_highlight\" data-pluginname=\"mpprofile\" data-nickname=\"OpenAtom openEuler\" data-alias=\"openEulercommunity\" data-index=\"0\" data-from=\"2\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/jqTxnpIZ2mB3yUtJwHZJOq1Cb0V6XEz7Z2oc3968I06XfbZuKrLrBpickoM8o4iciasibTlib7Wh7g8fwnWX1V4Qe3Q\/300?wx_fmt=png&amp;wxfrom=19\" data-signature=\"openEuler\u662f\u7531\u5f00\u653e\u539f\u5b50\u5f00\u6e90\u57fa\u91d1\u4f1a\u5b75\u5316\u7684\u5168\u573a\u666f\u5f00\u6e90\u64cd\u4f5c\u7cfb\u7edf\u9879\u76ee\uff0c\u9762\u5411\u6570\u5b57\u57fa\u7840\u8bbe\u65bd\u56db\u5927\u6838\u5fc3\u573a\u666f\uff08\u670d\u52a1\u5668\u3001\u4e91\u8ba1\u7b97\u3001\u8fb9\u7f18\u8ba1\u7b97\u3001\u5d4c\u5165\u5f0f\uff09\uff0c\u5168\u9762\u652f\u6301ARM\u3001x86\u3001RISC-V\u3001loongArch\u3001PowerPC\u3001SW-64\u7b49\u591a\u6837\u6027\u8ba1\u7b97\u67b6\u6784\u3002\" data-id=\"MzkyMjYzNjU0Ng==\" data-is_biz_ban=\"0\" data-origin_num=\"103\" data-biz_account_status=\"0\" data-service_type=\"1\" data-verify_status=\"2\"><\/mp-common-profile><\/section>\n<section class=\"mp_profile_iframe_wrp\" nodeleaf=\"\" style='-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px 0px 24px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: \"PingFang SC\", system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;background-color: rgb(255, 255, 255);'><mp-common-profile class=\"js_uneditable custom_select_card mp_profile_iframe js_wx_tap_highlight\" data-pluginname=\"mpprofile\" data-nickname=\"\u5f00\u653e\u539f\u5b50\" data-index=\"1\" data-from=\"2\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/xg2LGGaptYibWAtjD0I4rL3BqnaRibaNtiaiaGJKOica9fvNOGBmP3ruVra8s6RGjdH8ES332l31LeHf3NjMibydX2sBvLSeVpk9KNrP1uZXYicafk\/300?wx_fmt=png&amp;wxfrom=19\" data-signature=\"\u7e41\u8363\u5f00\u6e90\u4e8b\u4e1a\uff0c\u5171\u4eab\u5f00\u6e90\u4ef7\u503c\" data-id=\"Mzg4NDQ1NjkyNQ==\" data-is_biz_ban=\"0\" data-origin_num=\"83\" data-biz_account_status=\"0\" data-service_type=\"1\" data-verify_status=\"2\"><\/mp-common-profile><\/section>\n<section nodeleaf=\"\" style='-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgba(0, 0, 0, 0.9);font-size: 17px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.544px;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: \"PingFang SC\", system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", Arial, sans-serif;background-color: rgb(255, 255, 255);text-align: center;'><img decoding=\"async\" alt=\"\u56fe\u7247\" class=\"rich_pages wxw-img\" data-ratio=\"0.4166666666666667\" data-s=\"300,640\" data-type=\"png\" data-w=\"1080\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;vertical-align: bottom;height: auto !important;visibility: visible !important;width: 677px !important;\" type=\"block\" data-imgfileid=\"100034703\" data-aistatus=\"1\" src=\"https:\/\/www.o6s.net\/wp-content\/uploads\/2026\/07\/640-632eb180.png\"><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u524d\uff0cOpenAtom openEuler\uff08\u7b80\u79f0\u201copenEuler\u201d\u6216\u201c\u5f00\u6e90\u6b27\u62c9\u201d\uff0924.03 \u5df2\u539f\u751f\u652f\u6301  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2656,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-2657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-openeuler"],"_links":{"self":[{"href":"https:\/\/www.o6s.net\/index.php\/wp-json\/wp\/v2\/posts\/2657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.o6s.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.o6s.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.o6s.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.o6s.net\/index.php\/wp-json\/wp\/v2\/comments?post=2657"}],"version-history":[{"count":1,"href":"https:\/\/www.o6s.net\/index.php\/wp-json\/wp\/v2\/posts\/2657\/revisions"}],"predecessor-version":[{"id":2666,"href":"https:\/\/www.o6s.net\/index.php\/wp-json\/wp\/v2\/posts\/2657\/revisions\/2666"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.o6s.net\/index.php\/wp-json\/wp\/v2\/media\/2656"}],"wp:attachment":[{"href":"https:\/\/www.o6s.net\/index.php\/wp-json\/wp\/v2\/media?parent=2657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.o6s.net\/index.php\/wp-json\/wp\/v2\/categories?post=2657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.o6s.net\/index.php\/wp-json\/wp\/v2\/tags?post=2657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}