{"id":18457,"date":"2025-04-19T00:52:56","date_gmt":"2025-04-18T16:52:56","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/18457.html"},"modified":"2025-04-19T00:52:56","modified_gmt":"2025-04-18T16:52:56","slug":"%e3%80%90linux%e6%9c%8d%e5%8a%a1%e5%99%a8%e3%80%91%e5%a4%a7%e8%af%ad%e8%a8%80%e6%a8%a1%e5%9e%8b%e5%ae%9e%e6%88%98%e6%95%99%e7%a8%8b%ef%bc%9allms%e5%a4%a7%e6%a8%a1%e5%9e%8b%e5%bf%ab%e9%80%9f%e9%83%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/18457.html","title":{"rendered":"\u3010linux\u670d\u52a1\u5668\u3011\u5927\u8bed\u8a00\u6a21\u578b\u5b9e\u6218\u6559\u7a0b\uff1aLLMS\u5927\u6a21\u578b\u5feb\u901f\u90e8\u7f72\u5230\u4e2a\u4eba\u670d\u52a1\u5668_linux\u90e8\u7f72\u5927\u6a21\u578b"},"content":{"rendered":"<p>**\u8bfb\u8005\u798f\u5229 |** &#x1f449;2024\u6700\u65b0\u7248CSDN\u5927\u793c\u5305&#xff1a;\u300aAGI\u5927\u6a21\u578b\u5b66\u4e60\u8d44\u6e90\u5305\u300b\u514d\u8d39\u5206\u4eab<\/p>\n<h3>\u5f15\u8a00<\/h3>\n<p>\u8bf4\u5230\u5927\u8bed\u8a00\u6a21\u578b\u76f8\u4fe1\u5927\u5bb6\u90fd\u4e0d\u4f1a\u964c\u751f&#xff0c;\u5927\u578b\u8bed\u8a00\u6a21\u578b(LLMs)\u662f\u4eba\u5de5\u667a\u80fd\u6587\u672c\u5904\u7406\u7684\u4e3b\u8981\u7c7b\u578b,\u4e5f\u73b0\u5728\u6700\u6d41\u884c\u7684\u4eba\u5de5\u667a\u80fd\u5e94\u7528\u5f62\u6001\u3002ChatGPT\u5c31\u662f\u662f\u8fc4\u4eca\u4e3a\u6b62\u6700\u8457\u540d\u7684\u4f7f\u7528LLM\u7684\u5de5\u5177,\u5b83\u7531OpenAI\u7684GPT\u6a21\u578b\u7684\u7279\u522b\u8c03\u6574\u7248\u672c\u63d0\u4f9b\u52a8\u529b&#xff0c;\u800c\u4eca\u5929\u6211\u4eec\u5c31\u6765\u5e26\u5927\u5bb6\u4f53\u9a8c\u4e00\u4e0b\u90e8\u7f72\u5927\u6a21\u578b\u7684\u5b9e\u6218\u3002<\/p>\n<h5>\u6587\u7ae0\u76ee\u5f55<\/h5>\n<ul>\n<li>\u5f15\u8a00<\/li>\n<li>\u4e00\u3001\u9879\u76ee\u9009\u62e9\u4e0e\u7cfb\u7edf\u4ecb\u7ecd<\/li>\n<li>\n<ul>\n<li>1.1 \u9879\u76ee\u4ecb\u7ecd<\/li>\n<li>1.2 Tiny-Llama\u8bed\u8a00\u6a21\u578b<\/li>\n<li>1.3 \u8fdb\u5165\u7cfb\u7edf<\/li>\n<li>1.4 \u8fdb\u884c\u8fdc\u7a0b\u8fde\u63a5<\/li>\n<\/ul>\n<\/li>\n<li>\u4e8c\u3001\u90e8\u7f72LLMS\u5927\u6a21\u578b<\/li>\n<li>\n<ul>\n<li>2.1 \u62c9\u53d6\u4ee3\u7801\u5230\u73af\u5883<\/li>\n<li>2.2 \u81ea\u5b9a\u4e49\u7b97\u5b50\u90e8\u7f72<\/li>\n<li>\n<ul>\n<li>\u914d\u7f6eprotoc \u73af\u5883<\/li>\n<li>\u7b97\u5b50\u7f16\u8bd1\u90e8\u7f72<\/li>\n<li>\u4fee\u6539\u73af\u5883\u53d8\u91cf<\/li>\n<li>\u7f16\u8bd1\u8fd0\u884c&amp; \u4f9d\u8d56\u5b89\u88c5<\/li>\n<\/ul>\n<\/li>\n<li>2.3 \u63a8\u7406\u542f\u52a8<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001 \u9879\u76ee\u4f53\u9a8c<\/li>\n<\/ul>\n<h3>\u4e00\u3001\u9879\u76ee\u9009\u62e9\u4e0e\u7cfb\u7edf\u4ecb\u7ecd<\/h3>\n<h4>1.1 \u9879\u76ee\u4ecb\u7ecd<\/h4>\n<p>\u672c\u6765\u535a\u4e3b\u662f\u51c6\u5907\u6765\u90e8\u7f72\u4e00\u4e0b\u54b1\u4eec\u7684&#xff0c;\u6e05\u534e\u5927\u8bed\u8a00\u6a21\u578b\u955c\u50cf\u8fd9\u4e2a\u76ee\u524d\u4e5f\u662f\u975e\u5e38\u7684\u706b\u554a&#xff0c;\u5438\u5f15\u4e86\u5f88\u591a\u4eba\u7684\u6ce8\u610f\u5176\u4f18\u79c0\u7684\u6027\u80fd\u548cGPT3 \u4e0d\u76f8\u4e0a\u4e0b&#xff0c;\u4f46\u662f\u7531\u4e8e\u8003\u8651\u5230&#xff0c;\u5927\u90e8\u5206\u4eba\u7535\u8111\u5176\u5b9e\u8dd1\u5927\u6a21\u578b\u662f\u6709\u4e00\u70b9\u70b9\u5403\u529b\u7684&#xff0c;\u4e3a\u4e86\u8ba9\u66f4\u591a\u4eba\u6765\u5148\u8fc8\u51fa\u90e8\u7f72\u6a21\u578b\u7684\u7b2c\u4e00\u6b65&#xff0c;\u4e8e\u662f\u5c31\u51b3\u5b9a\u53bb gitee \u4e0a\u627e\u4e00\u4e2a\u5c0f\u578b\u4e00\u70b9\u7684\u5927\u6a21\u578b\u6765\u5b9e\u6218\u4e00\u4e0b\u3002<\/p>\n<h4>1.2 Tiny-Llama\u8bed\u8a00\u6a21\u578b<\/h4>\n<ul>\n<li class=\"task-list-item\"> \u679c\u4e0d\u5176\u7136\u521a\u641c\u7d22\u5c31\u53d1\u73b0 \u4e00\u4e2a\u57fa\u4e8e\u9999\u6a59\u6d3eAI Pro \u90e8\u7f72\u7684\u8bed\u8a00\u5927\u6a21\u578b\u9879\u76ee&#xff0c;\u8fd9\u4e0d\u6b63\u597d\u5417&#xff1f;\u76f4\u63a5\u5f00\u59cb<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165246-6802835e9be38.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li class=\"task-list-item\"> \u70b9\u8fdb\u53bb\u4e00\u770b\u53d1\u73b0\u8fd9\u662f\u5357\u4eac\u5927\u5b66\u5f00\u6e90\u7684\u4e00\u5957\u57fa\u4e8e\u9999\u6a59\u6d3e AIpro\u90e8\u7f72\u7684Tiny-Llama\u8bed\u8a00\u6a21\u578b<\/li>\n<li class=\"task-list-item\"> &#xff08;\u5f00\u6e90\u5730\u5740&#xff09;<\/li>\n<\/ul>\n<h4>1.3 \u8fdb\u5165\u7cfb\u7edf<\/h4>\n<p>\u8fd9\u91cc\u6211\u4eec\u9009\u62e9\u7684\u662fopenEuler&#xff0c;\u662f\u9999\u6a59\u6d3e\u7684\u8fd9\u5757\u677f\u5b50\u5185\u7f6e\u7684\u7cfb\u7edf\u3002\u4f46\u5176\u5b9e\u4ed6\u7684\u5185\u6838\u662fubuntu\u8fd9\u91cc\u53ef\u4ee5\u7ed9\u5927\u5bb6\u770b\u4e00\u4e0b&#xff0c;\u6240\u4ee5\u6211\u4eec\u7528 ubuntu \u670d\u52a1\u5668\u6765\u90e8\u7f72\u5e94\u8be5\u662f\u6ca1\u6709\u95ee\u9898\u7684\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165247-6802835f3aca7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>openEuler \u662f\u4e00\u7531\u4e2d\u56fd\u5f00\u6e90\u8f6f\u4ef6\u57fa\u91d1\u4f1a\u4e3b\u5bfc&#xff0c;\u4ee5Linux\u7a33\u5b9a\u7cfb\u7edf\u5185\u6838\u4e3a\u57fa\u7840,\u534e\u4e3a\u6df1\u5ea6\u53c2\u4e0e,\u9762\u5411\u670d\u52a1\u5668\u3001\u684c\u9762\u548c\u5d4c\u5165\u5f0f\u7b49\u7684\u4e00\u4e2a\u5f00\u6e90\u64cd\u4f5c\u7cfb\u7edf\u3002<\/li>\n<\/ul>\n<h4>1.4 \u8fdb\u884c\u8fdc\u7a0b\u8fde\u63a5<\/h4>\n<ul>\n<li>\n<p>\u8fd9\u91cc\u76f4\u63a5\u63d2\u7535\u542f\u52a8&#xff0c;\u9ed8\u8ba4\u7528\u6237\u540d HwHiAiUser\u3001\u5bc6\u7801 Mind&#064;123 \u5f53\u7136root\u5bc6\u7801\u4e5f\u662f\u4e00\u6837\u7684<\/p>\n<\/li>\n<li>\n<p>\u8fd9\u91cc\u6211\u4eec\u8fdb\u6765\u4e4b\u540e\u53ef\u4ee5\u76f4\u63a5\u9009\u62e9\u94fe\u63a5WiFi \u975e\u5e38\u4fbf\u6377<\/p>\n<\/li>\n<li>\n<p>\u5f53\u7136\u8fd9\u91cc\u5927\u5bb6\u5728\u8fd9\u91cc\u4e5f\u53ef\u4ee5\u9009\u62e9\u4e91\u670d\u52a1\u5668\u8fdc\u7a0b\u5b9e\u6218<\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165248-68028360b596c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li class=\"task-list-item\"> \u7136\u540e\u6211\u4eec\u6253\u5f00\u547d\u4ee4\u7a97\u67e5\u770bIP , \u7531\u4e8e\u7cfb\u7edf\u9ed8\u8ba4\u652f\u6301ssh \u8fdc\u7a0b\u8fde\u63a5&#xff0c;\u6240\u4ee5\u535a\u4e3b\u8fd9\u91cc\u5c31\u76f4\u63a5\u91c7\u7528 Sxhell \u8fdb\u884c\u8fde\u63a5<\/li>\n<li class=\"task-list-item\"> \u8f93\u5165ip \u9009\u62e9 HwHiAiUser \u767b\u5f55 \u5bc6\u7801 Mind&#064;123<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165249-68028361ca44c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u4e8c\u3001\u90e8\u7f72LLMS\u5927\u6a21\u578b<\/h3>\n<h4>2.1 \u62c9\u53d6\u4ee3\u7801\u5230\u73af\u5883<\/h4>\n<ul>\n<li>\u5148cd\u8fdb\u5165 cd ~\/samples \u76ee\u5f55<\/li>\n<li>\u4e4b\u540e\u76f4\u63a5\u5229\u7528git \u62c9\u53d6\u6211\u4eec\u7684\u9879\u76ee&#xff0c;git \u7531\u4e8e\u7cfb\u7edf\u955c\u50cf\u81ea\u5e26\u7684\u6709\u5c31\u4e0d\u7528\u6211\u4eec\u624b\u52a8\u5b89\u88c5\u4e86<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165250-680283624318e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>2.2 \u81ea\u5b9a\u4e49\u7b97\u5b50\u90e8\u7f72<\/h4>\n<h5>\u914d\u7f6eprotoc \u73af\u5883<\/h5>\n<ul>\n<li class=\"task-list-item\"> \u4f7f\u7528wget\u5de5\u5177\u4ece\u6307\u5b9a\u7684\u534e\u4e3a\u4e91\u94fe\u63a5\u4e0b\u8f7d protobuf-all-3.13.0.tar.gz\u6587\u4ef6<\/li>\n<\/ul>\n<p>wget  https:\/\/obs-9be7.obs.cn-east-2.myhuaweicloud.com\/wanzutao\/tiny-llama\/protobuf-all-3.13.0.tar.gz &#8211;no-check-certificate<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165250-68028362ae33b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li class=\"task-list-item\"> \u89e3\u538b\u521a\u521a\u4e0b\u8f7d\u7684\u6587\u4ef6<\/li>\n<\/ul>\n<p>tar -zxvf protobuf-all-3.13.0.tar.gz<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165251-6802836302117.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u8fd9\u91cc\u89e3\u538b\u901f\u5ea6\u975e\u5e38\u5feb&#xff0c;\u57fa\u672c\u4e00\u79d2\u5c31OK\u4e86<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165251-6802836346efb.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li class=\"task-list-item\"> \u8fdb\u5165 protobuf-3.13.0 \u6587\u4ef6\u5939\u4e2d<\/li>\n<\/ul>\n<p>cd protobuf-3.13.0<\/p>\n<p>\u66f4\u65b0apt\u5305\u7ba1\u7406\u5668\u7684\u8f6f\u4ef6\u5305\u5217\u8868<\/p>\n<p>apt-get update<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165251-68028363950c1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li class=\"task-list-item\"> \u4f7f\u7528apt-get\u5b89\u88c5\u5fc5\u8981\u7684\u6784\u5efa\u5de5\u5177&#xff0c;\u5305\u62ecautoconf\u3001automake\u548clibtool&#xff0c;\u8fd9\u4e9b\u5de5\u5177\u7528\u4e8e\u914d\u7f6e\u548c\u6784\u5efa\u5f00\u6e90\u9879\u76ee<\/li>\n<\/ul>\n<p>apt-get install autoconf automake libtool<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165252-6802836407588.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li class=\"task-list-item\"> \u751f\u6210\u914d\u7f6e\u811a\u672c configure , \u8fd0\u884c .\/configure \u751f\u6210\u4e00\u4e2aMakefile<\/li>\n<\/ul>\n<p>.\/autogen.sh<br \/>\n.\/configure<\/p>\n<ul>\n<li class=\"task-list-item\"> \u7f16\u8bd1\u6e90\u4ee3\u7801,\u7531\u4e8e \u9999\u6a59\u6d3e AIpro \u662f4\u683864\u4f4d\u5904\u7406\u5668&#043; AI\u5904\u7406\u5668\u652f\u63018\u4e2a\u7ebf\u7a0b&#xff0c;\u6211\u4eec\u6211\u4eec\u53ef\u4ee5\u5927\u80c6\u7684\u4f7f\u75284\u4e2a\u5e76\u884c\u8fdb\u7a0b\u8fdb\u884c\u7f16\u8bd1&#xff0c;\u4ee5\u52a0\u5feb\u7f16\u8bd1\u901f\u5ea6\u3002<\/li>\n<li>\u7f16\u8bd1\u8fd9\u91cc\u7684\u65f6\u5019\u5927\u5bb6\u5c31\u53ef\u4ee5\u653e\u677e\u653e\u677e\u4e86\u5927\u6982\u53ea\u9700\u898110\u51e0\u5206\u949f\u5c31\u597d\u4e86<\/li>\n<\/ul>\n<p>make -j4<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165252-68028364d4220.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li class=\"task-list-item\"> \u5c06\u7f16\u8bd1\u540e\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u548c\u5e93\u6587\u4ef6\u5b89\u88c5\u5230\u7cfb\u7edf\u6307\u5b9a\u7684\u4f4d\u7f6e<\/li>\n<\/ul>\n<p>make install<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165253-680283651a26c.gif\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li class=\"task-list-item\"> \u66f4\u65b0\u7cfb\u7edf\u5171\u4eab\u5e93\u7f13\u5b58\u7684\u5de5\u5177&#xff0c;\u68c0\u67e5protoc \u7248\u672c<\/li>\n<\/ul>\n<p>sudo ldconfig<\/p>\n<p>protoc &#8211;version<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165253-6802836539254.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>\u7b97\u5b50\u7f16\u8bd1\u90e8\u7f72<\/h5>\n<ul>\n<li class=\"task-list-item\"> \u5c06\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u5207\u6362\u5230 tiny_llama<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165253-680283659eed1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li class=\"task-list-item\"> \u8bbe\u7f6e\u4e86\u4e00\u4e2a\u73af\u5883\u53d8\u91cf ASCEND_PATH&#xff0c;\u5e76\u5c06\u5176\u503c\u8bbe\u4e3a \/usr\/local\/Ascend\/ascend-toolkit\/latest<\/li>\n<li class=\"task-list-item\"> export ASCEND_PATH&#061;\/usr\/local\/Ascend\/ascend-toolkit\/latest <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165253-68028365bec84.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<li class=\"task-list-item\"> \u5c06 custom_op\/matmul_integer_plugin.cc \u6587\u4ef6\u590d\u5236\u5230\u6307\u5b9a\u8def\u5f84<\/li>\n<\/ul>\n<p>cp custom_op\/matmul_integer_plugin.cc $ASCEND_PATH\/tools\/msopgen\/template\/custom_operator_sample\/DSL\/Onnx\/framework\/onnx_plugin\/<\/p>\n<ul>\n<li class=\"task-list-item\"> cd \u8fdb\u5165 \u76ee\u6807\u6587\u4ef6\u5939\u8fdb\u884c\u914d\u7f6e<\/li>\n<\/ul>\n<p>cd $ASCEND_PATH\/tools\/msopgen\/template\/custom_operator_sample\/DSL\/Onnx<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165253-68028365db443.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>\u4fee\u6539\u73af\u5883\u53d8\u91cf<\/h5>\n<ul>\n<li class=\"task-list-item\"> \u6253\u5f00build.sh&#xff0c;\u627e\u5230\u4e0b\u9762\u56db\u4e2a\u73af\u5883\u53d8\u91cf&#xff0c;\u89e3\u5f00\u6ce8\u91ca\u5e76\u4fee\u6539\u5982\u4e0b&#xff1a;<\/li>\n<\/ul>\n<p>#\u547d\u4ee4\u4e3a vim build.sh<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165254-68028366123f0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p># \u4fee\u6539\u5185\u5bb9\u4e3a<br \/>\nexport ASCEND_TENSOR_COMPILER_INCLUDE&#061;\/usr\/local\/Ascend\/ascend-toolkit\/latest\/include<br \/>\nexport TOOLCHAIN_DIR&#061;\/usr<br \/>\nexport AICPU_KERNEL_TARGET&#061;cust_aicpu_kernels<br \/>\nexport AICPU_SOC_VERSION&#061;Ascend310B4<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165254-680283664190c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165254-6802836692df5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>\u7f16\u8bd1\u8fd0\u884c&amp; \u4f9d\u8d56\u5b89\u88c5<\/h5>\n<ul>\n<li class=\"task-list-item\"> \u7f16\u8bd1\u6784\u5efa\u9879\u76ee,\u8fdb\u5165\u5230\u6784\u5efa\u8f93\u51fa\u76ee\u5f55\u4ee5\u540e\u7eed\u5904\u7406\u751f\u6210\u7684\u6587<\/li>\n<\/ul>\n<p>.\/build.sh<br \/>\ncd build_out\/<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165254-68028366be3d9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li class=\"task-list-item\"> \u751f\u6210\u6587\u4ef6\u5230 customize \u5230\u9ed8\u8ba4\u76ee\u5f55 $ASCEND_PATH\/opp\/vendors\/<\/li>\n<\/ul>\n<p>.\/custom_opp_ubuntu_aarch64.run<\/p>\n<ul>\n<li class=\"task-list-item\"> \u5220\u9664\u5197\u4f59\u6587\u4ef6<\/li>\n<\/ul>\n<p>cd $ASCEND_PATH\/opp\/vendors\/customize<br \/>\nrm -rf op_impl\/ op_proto\/<\/p>\n<p><img decoding=\"async\" src=\"2025-04-19lzkdphtignq.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u5b89\u88c5\u4f9d\u8d56&#xff1a;\u4ece\u6307\u5b9a\u7684\u534e\u4e3a\u4e91 PyPI \u955c\u50cf\u6e90\u5b89\u88c5\u6240\u9700\u7684 Python \u5305<\/li>\n<\/ul>\n<p>cd tiny_llama\/inference<br \/>\npip install -r requirements.txt -i https:\/\/mirrors.huaweicloud.com\/repository\/pypi\/simple<\/p>\n<ul>\n<li>\u5148cd \u56de\u5230\u6839\u76ee\u5f55&#xff0c;\u5728\u8fdb\u5165\u5bb6\u76ee\u5f55&#xff0c;\u627e\u5230\u54b1\u4eec\u7684 tiny_llama\/inference <img decoding=\"async\" src=\"2025-04-19hj1xyszxwxb.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<\/ul>\n<h4>2.3 \u63a8\u7406\u542f\u52a8<\/h4>\n<ul>\n<li class=\"task-list-item\"> \u4e0b\u8f7dtokenizer\u6587\u4ef6<\/li>\n<\/ul>\n<p>cd tokenizer<br \/>\nwget https:\/\/obs-9be7.obs.cn-east-2.myhuaweicloud.com\/wanzutao\/tiny-llama\/tokenizer.zip<br \/>\nunzip tokenizer.zip   <\/p>\n<p><img decoding=\"async\" src=\"2025-04-19gqkoptghct5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li class=\"task-list-item\"> \u83b7\u53d6onnx\u6a21\u578b\u6587\u4ef6<\/li>\n<\/ul>\n<p>cd ..\/model<br \/>\nwget https:\/\/obs-9be7.obs.cn-east-2.myhuaweicloud.com\/wanzutao\/tiny-llama\/tiny-llama.onnx<\/p>\n<ul>\n<li>\n<p>\u6211\u4eec\u5728\u590d\u5236\u4ee3\u7801\u7684\u65f6\u5019\u4e00\u5b9a\u8981\u4ed4\u7ec6\u55f7\u535a\u4e3b\u8fd9\u91cc\u5c11\u6253\u4e86\u4e00\u4e2aw \u5bfc\u81f4\u5e76\u6ca1\u6709\u83b7\u53d6\u5230\u6a21\u578b&#xff0c;\u540e\u671f\u627e\u4e86\u534a\u5929\u624d\u53d1\u73b0\u9519\u8bef\u6240\u4ee5\u63d0\u9192\u5927\u5bb6\u4e00\u5b9a\u8981\u6ce8\u610f\u597d\u6bcf\u4e00\u6b65 <img decoding=\"async\" src=\"2025-04-19jpomrxvxoaf.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>atc\u6a21\u578b\u8f6c\u6362<\/p>\n<\/li>\n<\/ul>\n<p>atc &#8211;framework&#061;5 &#8211;model&#061;&#034;.\/tiny-llama.onnx&#034;  &#8211;output&#061;&#034;tiny-llama&#034; &#8211;input_format&#061;ND &#8211;input_shape&#061;&#034;input_ids:1,1;attention_mask:1,1025;position_ids:1,1;past_key_values:22,2,1,4,1024,64&#034; &#8211;soc_version&#061;Ascend310B4 &#8211;precision_mode&#061;must_keep_origin_dtype<\/p>\n<p><img decoding=\"async\" src=\"2025-04-194ypcvztp4b2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u4e09\u3001 \u9879\u76ee\u4f53\u9a8c<\/h3>\n<p>\u597d\u4e86\u5230\u8fd9\u91cc\u6211\u4eec\u5c31\u7b97\u662f\u5927\u529f\u544a\u6210\u4e86&#xff0c;\u53ea\u9700\u8981\u542f\u52a8\u4e00\u4e0bmian\u6587\u4ef6\u5c31OK\u4e86<\/p>\n<ul>\n<li>\u5728 cd tiny_llama\/inference \u76ee\u5f55\u4e0b\u8fd0\u884c\u547d\u4ee4<\/li>\n<\/ul>\n<p>python3 main.py<\/p>\n<p><img decoding=\"async\" src=\"2025-04-19fmvfdauccip.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>\u6253\u5f00\u7f51\u5740\u8fdb\u884c\u8bbf\u95ee<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2025-04-19nv1ixatv4vj.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"2025-04-19pi5ipjpolgg.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>Tiny-Llama\u8fd9\u4e2a\u6a21\u578b\u7531\u4e8e\u5c3a\u5bf8\u975e\u5e38\u5c0f&#xff0c;\u53c2\u6570\u4e5f\u53ea\u67091.1B\u3002\u6240\u4ee5\u5728\u6211\u4eec\u90e8\u7f72Tiny-Llama\u8fd9\u4e2a\u5927\u8bed\u8a00\u6a21\u578b\u63a8\u7406\u8fc7\u7a0b\u4e2d&#xff0c;Ai Core\u7684\u5360\u7528\u7387\u53ea\u523060%\u5de6\u53f3&#xff0c;\u57fa\u672c\u662f\u4e00\u79d2\u4fe9\u4e2a\u8bcd\u5de6\u53f3&#xff0c;\u901f\u5ea6\u4e0a\u662f\u80af\u5b9a\u6ca1\u95ee\u9898\u7684\u3002\u540e\u671f\u53ef\u4ee5\u53bb\u8bd5\u8bd5\u5347\u7ea7\u4e00\u4e0b\u5185\u5b58\u53bb\u8dd1\u4e00\u4e0b\u5f53\u4e0b\u4e3b\u6d41\u7684 \u5343\u95ee7B\u6a21\u578b \u6216\u8005 \u6e05\u534e\u7b2c\u4e8c\u4ee3\u5927\u6a21\u578b\u62e5\u6709 60 \u4ebf\u53c2\u6570 ChatGLM2 \u611f\u89c9\u7528 OrangePi AIpro \u8fd9\u5757\u677f\u5b50\u4e5f\u662f\u6ca1\u95ee\u9898\u3002<\/p>\n<h4>\u5982\u4f55\u5b66\u4e60\u5927\u6a21\u578b AI &#xff1f;<\/h4>\n<p>\u7531\u4e8e\u65b0\u5c97\u4f4d\u7684\u751f\u4ea7\u6548\u7387&#xff0c;\u8981\u4f18\u4e8e\u88ab\u53d6\u4ee3\u5c97\u4f4d\u7684\u751f\u4ea7\u6548\u7387&#xff0c;\u6240\u4ee5\u5b9e\u9645\u4e0a\u6574\u4e2a\u793e\u4f1a\u7684\u751f\u4ea7\u6548\u7387\u662f\u63d0\u5347\u7684\u3002<\/p>\n<p>\u4f46\u662f\u5177\u4f53\u5230\u4e2a\u4eba&#xff0c;\u53ea\u80fd\u8bf4\u662f&#xff1a;<\/p>\n<p>\u201c\u6700\u5148\u638c\u63e1AI\u7684\u4eba&#xff0c;\u5c06\u4f1a\u6bd4\u8f83\u665a\u638c\u63e1AI\u7684\u4eba\u6709\u7ade\u4e89\u4f18\u52bf\u201d\u3002<\/p>\n<p>\u8fd9\u53e5\u8bdd&#xff0c;\u653e\u5728\u8ba1\u7b97\u673a\u3001\u4e92\u8054\u7f51\u3001\u79fb\u52a8\u4e92\u8054\u7f51\u7684\u5f00\u5c40\u65f6\u671f&#xff0c;\u90fd\u662f\u4e00\u6837\u7684\u9053\u7406\u3002<\/p>\n<p>\u6211\u5728\u4e00\u7ebf\u4e92\u8054\u7f51\u4f01\u4e1a\u5de5\u4f5c\u5341\u4f59\u5e74\u91cc&#xff0c;\u6307\u5bfc\u8fc7\u4e0d\u5c11\u540c\u884c\u540e\u8f88\u3002\u5e2e\u52a9\u5f88\u591a\u4eba\u5f97\u5230\u4e86\u5b66\u4e60\u548c\u6210\u957f\u3002<\/p>\n<p>\u6211\u610f\u8bc6\u5230\u6709\u5f88\u591a\u7ecf\u9a8c\u548c\u77e5\u8bc6\u503c\u5f97\u5206\u4eab\u7ed9\u5927\u5bb6&#xff0c;\u4e5f\u53ef\u4ee5\u901a\u8fc7\u6211\u4eec\u7684\u80fd\u529b\u548c\u7ecf\u9a8c\u89e3\u7b54\u5927\u5bb6\u5728\u4eba\u5de5\u667a\u80fd\u5b66\u4e60\u4e2d\u7684\u5f88\u591a\u56f0\u60d1&#xff0c;\u6240\u4ee5\u5728\u5de5\u4f5c\u7e41\u5fd9\u7684\u60c5\u51b5\u4e0b\u8fd8\u662f\u575a\u6301\u5404\u79cd\u6574\u7406\u548c\u5206\u4eab\u3002\u4f46\u82e6\u4e8e\u77e5\u8bc6\u4f20\u64ad\u9014\u5f84\u6709\u9650&#xff0c;\u5f88\u591a\u4e92\u8054\u7f51\u884c\u4e1a\u670b\u53cb\u65e0\u6cd5\u83b7\u5f97\u6b63\u786e\u7684\u8d44\u6599\u5f97\u5230\u5b66\u4e60\u63d0\u5347&#xff0c;\u6545\u6b64\u5c06\u5e76\u5c06\u91cd\u8981\u7684AI\u5927\u6a21\u578b\u8d44\u6599\u5305\u62ecAI\u5927\u6a21\u578b\u5165\u95e8\u5b66\u4e60\u601d\u7ef4\u5bfc\u56fe\u3001\u7cbe\u54c1AI\u5927\u6a21\u578b\u5b66\u4e60\u4e66\u7c4d\u624b\u518c\u3001\u89c6\u9891\u6559\u7a0b\u3001\u5b9e\u6218\u5b66\u4e60\u7b49\u5f55\u64ad\u89c6\u9891\u514d\u8d39\u5206\u4eab\u51fa\u6765\u3002<\/p>\n<p><img decoding=\"async\" src=\"2025-04-19xftzwlsywff.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u7b2c\u4e00\u9636\u6bb5&#xff08;10\u5929&#xff09;&#xff1a;\u521d\u9636\u5e94\u7528<\/h4>\n<p>\u8be5\u9636\u6bb5\u8ba9\u5927\u5bb6\u5bf9\u5927\u6a21\u578b AI\u6709\u4e00\u4e2a\u6700\u524d\u6cbf\u7684\u8ba4\u8bc6&#xff0c;\u5bf9\u5927\u6a21\u578b AI \u7684\u7406\u89e3\u8d85\u8fc7 95% \u7684\u4eba&#xff0c;\u53ef\u4ee5\u5728\u76f8\u5173\u8ba8\u8bba\u65f6\u53d1\u8868\u9ad8\u7ea7\u3001\u4e0d\u8ddf\u98ce\u3001\u53c8\u63a5\u5730\u6c14\u7684\u89c1\u89e3&#xff0c;\u522b\u4eba\u53ea\u4f1a\u548c AI \u804a\u5929&#xff0c;\u800c\u4f60\u80fd\u8c03\u6559 AI&#xff0c;\u5e76\u80fd\u7528\u4ee3\u7801\u5c06\u5927\u6a21\u578b\u548c\u4e1a\u52a1\u8854\u63a5\u3002<\/p>\n<ul>\n<li>\u5927\u6a21\u578b AI \u80fd\u5e72\u4ec0\u4e48&#xff1f;<\/li>\n<li>\u5927\u6a21\u578b\u662f\u600e\u6837\u83b7\u5f97\u300c\u667a\u80fd\u300d\u7684&#xff1f;<\/li>\n<li>\u7528\u597d AI \u7684\u6838\u5fc3\u5fc3\u6cd5<\/li>\n<li>\u5927\u6a21\u578b\u5e94\u7528\u4e1a\u52a1\u67b6\u6784<\/li>\n<li>\u5927\u6a21\u578b\u5e94\u7528\u6280\u672f\u67b6\u6784<\/li>\n<li>\u4ee3\u7801\u793a\u4f8b&#xff1a;\u5411 GPT-3.5 \u704c\u5165\u65b0\u77e5\u8bc6<\/li>\n<li>\u63d0\u793a\u5de5\u7a0b\u7684\u610f\u4e49\u548c\u6838\u5fc3\u601d\u60f3<\/li>\n<li>Prompt \u5178\u578b\u6784\u6210<\/li>\n<li>\u6307\u4ee4\u8c03\u4f18\u65b9\u6cd5\u8bba<\/li>\n<li>\u601d\u7ef4\u94fe\u548c\u601d\u7ef4\u6811<\/li>\n<li>Prompt \u653b\u51fb\u548c\u9632\u8303<\/li>\n<li>\u2026<\/li>\n<\/ul>\n<h4>\u7b2c\u4e8c\u9636\u6bb5&#xff08;30\u5929&#xff09;&#xff1a;\u9ad8\u9636\u5e94\u7528<\/h4>\n<p>\u8be5\u9636\u6bb5\u6211\u4eec\u6b63\u5f0f\u8fdb\u5165\u5927\u6a21\u578b AI \u8fdb\u9636\u5b9e\u6218\u5b66\u4e60&#xff0c;\u5b66\u4f1a\u6784\u9020\u79c1\u6709\u77e5\u8bc6\u5e93&#xff0c;\u6269\u5c55 AI \u7684\u80fd\u529b\u3002\u5feb\u901f\u5f00\u53d1\u4e00\u4e2a\u5b8c\u6574\u7684\u57fa\u4e8e agent \u5bf9\u8bdd\u673a\u5668\u4eba\u3002\u638c\u63e1\u529f\u80fd\u6700\u5f3a\u7684\u5927\u6a21\u578b\u5f00\u53d1\u6846\u67b6&#xff0c;\u6293\u4f4f\u6700\u65b0\u7684\u6280\u672f\u8fdb\u5c55&#xff0c;\u9002\u5408 Python \u548c JavaScript \u7a0b\u5e8f\u5458\u3002<\/p>\n<ul>\n<li>\u4e3a\u4ec0\u4e48\u8981\u505a RAG<\/li>\n<li>\u642d\u5efa\u4e00\u4e2a\u7b80\u5355\u7684 ChatPDF<\/li>\n<li>\u68c0\u7d22\u7684\u57fa\u7840\u6982\u5ff5<\/li>\n<li>\u4ec0\u4e48\u662f\u5411\u91cf\u8868\u793a&#xff08;Embeddings&#xff09;<\/li>\n<li>\u5411\u91cf\u6570\u636e\u5e93\u4e0e\u5411\u91cf\u68c0\u7d22<\/li>\n<li>\u57fa\u4e8e\u5411\u91cf\u68c0\u7d22\u7684 RAG<\/li>\n<li>\u642d\u5efa RAG \u7cfb\u7edf\u7684\u6269\u5c55\u77e5\u8bc6<\/li>\n<li>\u6df7\u5408\u68c0\u7d22\u4e0e RAG-Fusion \u7b80\u4ecb<\/li>\n<li>\u5411\u91cf\u6a21\u578b\u672c\u5730\u90e8\u7f72<\/li>\n<li>\u2026<\/li>\n<\/ul>\n<h4>\u7b2c\u4e09\u9636\u6bb5&#xff08;30\u5929&#xff09;&#xff1a;\u6a21\u578b\u8bad\u7ec3<\/h4>\n<p>\u606d\u559c\u4f60&#xff0c;\u5982\u679c\u5b66\u5230\u8fd9\u91cc&#xff0c;\u4f60\u57fa\u672c\u53ef\u4ee5\u627e\u5230\u4e00\u4efd\u5927\u6a21\u578b AI\u76f8\u5173\u7684\u5de5\u4f5c&#xff0c;\u81ea\u5df1\u4e5f\u80fd\u8bad\u7ec3 GPT \u4e86&#xff01;\u901a\u8fc7\u5fae\u8c03&#xff0c;\u8bad\u7ec3\u81ea\u5df1\u7684\u5782\u76f4\u5927\u6a21\u578b&#xff0c;\u80fd\u72ec\u7acb\u8bad\u7ec3\u5f00\u6e90\u591a\u6a21\u6001\u5927\u6a21\u578b&#xff0c;\u638c\u63e1\u66f4\u591a\u6280\u672f\u65b9\u6848\u3002<\/p>\n<p>\u5230\u6b64\u4e3a\u6b62&#xff0c;\u5927\u69822\u4e2a\u6708\u7684\u65f6\u95f4\u3002\u4f60\u5df2\u7ecf\u6210\u4e3a\u4e86\u4e00\u540d\u201cAI\u5c0f\u5b50\u201d\u3002\u90a3\u4e48\u4f60\u8fd8\u60f3\u5f80\u4e0b\u63a2\u7d22\u5417&#xff1f;<\/p>\n<ul>\n<li>\u4e3a\u4ec0\u4e48\u8981\u505a RAG<\/li>\n<li>\u4ec0\u4e48\u662f\u6a21\u578b<\/li>\n<li>\u4ec0\u4e48\u662f\u6a21\u578b\u8bad\u7ec3<\/li>\n<li>\u6c42\u89e3\u5668 &amp; \u635f\u5931\u51fd\u6570\u7b80\u4ecb<\/li>\n<li>\u5c0f\u5b9e\u9a8c2&#xff1a;\u624b\u5199\u4e00\u4e2a\u7b80\u5355\u7684\u795e\u7ecf\u7f51\u7edc\u5e76\u8bad\u7ec3\u5b83<\/li>\n<li>\u4ec0\u4e48\u662f\u8bad\u7ec3\/\u9884\u8bad\u7ec3\/\u5fae\u8c03\/\u8f7b\u91cf\u5316\u5fae\u8c03<\/li>\n<li>Transformer\u7ed3\u6784\u7b80\u4ecb<\/li>\n<li>\u8f7b\u91cf\u5316\u5fae\u8c03<\/li>\n<li>\u5b9e\u9a8c\u6570\u636e\u96c6\u7684\u6784\u5efa<\/li>\n<li>\u2026<\/li>\n<\/ul>\n<h4>\u7b2c\u56db\u9636\u6bb5&#xff08;20\u5929&#xff09;&#xff1a;\u5546\u4e1a\u95ed\u73af<\/h4>\n<p>\u5bf9\u5168\u7403\u5927\u6a21\u578b\u4ece\u6027\u80fd\u3001\u541e\u5410\u91cf\u3001\u6210\u672c\u7b49\u65b9\u9762\u6709\u4e00\u5b9a\u7684\u8ba4\u77e5&#xff0c;\u53ef\u4ee5\u5728\u4e91\u7aef\u548c\u672c\u5730\u7b49\u591a\u79cd\u73af\u5883\u4e0b\u90e8\u7f72\u5927\u6a21\u578b&#xff0c;\u627e\u5230\u9002\u5408\u81ea\u5df1\u7684\u9879\u76ee\/\u521b\u4e1a\u65b9\u5411&#xff0c;\u505a\u4e00\u540d\u88ab AI \u6b66\u88c5\u7684\u4ea7\u54c1\u7ecf\u7406\u3002<\/p>\n<ul>\n<li>\u786c\u4ef6\u9009\u578b<\/li>\n<li>\u5e26\u4f60\u4e86\u89e3\u5168\u7403\u5927\u6a21\u578b<\/li>\n<li>\u4f7f\u7528\u56fd\u4ea7\u5927\u6a21\u578b\u670d\u52a1<\/li>\n<li>\u642d\u5efa OpenAI \u4ee3\u7406<\/li>\n<li>\u70ed\u8eab&#xff1a;\u57fa\u4e8e\u963f\u91cc\u4e91 PAI \u90e8\u7f72 Stable Diffusion<\/li>\n<li>\u5728\u672c\u5730\u8ba1\u7b97\u673a\u8fd0\u884c\u5927\u6a21\u578b<\/li>\n<li>\u5927\u6a21\u578b\u7684\u79c1\u6709\u5316\u90e8\u7f72<\/li>\n<li>\u57fa\u4e8e vLLM \u90e8\u7f72\u5927\u6a21\u578b<\/li>\n<li>\u6848\u4f8b&#xff1a;\u5982\u4f55\u4f18\u96c5\u5730\u5728\u963f\u91cc\u4e91\u79c1\u6709\u90e8\u7f72\u5f00\u6e90\u5927\u6a21\u578b<\/li>\n<li>\u90e8\u7f72\u4e00\u5957\u5f00\u6e90 LLM \u9879\u76ee<\/li>\n<li>\u5185\u5bb9\u5b89\u5168<\/li>\n<li>\u4e92\u8054\u7f51\u4fe1\u606f\u670d\u52a1\u7b97\u6cd5\u5907\u6848<\/li>\n<li>\u2026<\/li>\n<\/ul>\n<p>\u5b66\u4e60\u662f\u4e00\u4e2a\u8fc7\u7a0b&#xff0c;\u53ea\u8981\u5b66\u4e60\u5c31\u4f1a\u6709\u6311\u6218\u3002\u5929\u9053\u916c\u52e4&#xff0c;\u4f60\u8d8a\u52aa\u529b&#xff0c;\u5c31\u4f1a\u6210\u4e3a\u8d8a\u4f18\u79c0\u7684\u81ea\u5df1\u3002<\/p>\n<p>\u5982\u679c\u4f60\u80fd\u572815\u5929\u5185\u5b8c\u6210\u6240\u6709\u7684\u4efb\u52a1&#xff0c;\u90a3\u4f60\u582a\u79f0\u5929\u624d\u3002\u7136\u800c&#xff0c;\u5982\u679c\u4f60\u80fd\u5b8c\u6210 60-70% \u7684\u5185\u5bb9&#xff0c;\u4f60\u5c31\u5df2\u7ecf\u5f00\u59cb\u5177\u5907\u6210\u4e3a\u4e00\u540d\u5927\u6a21\u578b AI \u7684\u6b63\u786e\u7279\u5f81\u4e86\u3002<\/p>\n<h6>\u8fd9\u4efd\u5b8c\u6574\u7248\u7684\u5927\u6a21\u578b AI \u5b66\u4e60\u8d44\u6599\u5df2\u7ecf\u4e0a\u4f20CSDN&#xff0c;\u670b\u53cb\u4eec\u5982\u679c\u9700\u8981\u53ef\u4ee5\u5fae\u4fe1\u626b\u63cf\u4e0b\u65b9CSDN\u5b98\u65b9\u8ba4\u8bc1\u4e8c\u7ef4\u7801\u514d\u8d39\u9886\u53d6\u3010\u4fdd\u8bc1100%\u514d\u8d39\u3011\u6216\u70b9\u51fb\u4e0b\u65b9\u84dd\u8272\u5b57 \u5373\u53ef\u514d\u8d39\u9886\u53d6\u2193\u2193\u2193<\/h6>\n<p>**\u8bfb\u8005\u798f\u5229 |** &#x1f449;2024\u6700\u65b0\u7248CSDN\u5927\u793c\u5305&#xff1a;\u300aAGI\u5927\u6a21\u578b\u5b66\u4e60\u8d44\u6e90\u5305\u300b\u514d\u8d39\u5206\u4eab **&#xff08;\u5b89\u5168\u94fe\u63a5&#xff0c;\u653e\u5fc3\u70b9\u51fb&#xff09;**)** **&#xff08;\u5b89\u5168\u94fe\u63a5&#xff0c;\u653e\u5fc3\u70b9\u51fb&#xff09;**<\/p>\n<p><img decoding=\"async\" src=\"2025-04-19outx1emuewl.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.6k\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf21\u6b21\u3002\u672c\u6765\u535a\u4e3b\u662f\u51c6\u5907\u6765\u90e8\u7f72\u4e00\u4e0b\u54b1\u4eec\u7684\uff0c\u6e05\u534e\u5927\u8bed\u8a00\u6a21\u578b\u955c\u50cf\u8fd9\u4e2a\u76ee\u524d\u4e5f\u662f\u975e\u5e38\u7684\u706b\u554a\uff0c\u5438\u5f15\u4e86\u5f88\u591a\u4eba\u7684\u6ce8\u610f\u5176\u4f18\u79c0\u7684\u6027\u80fd\u548cGPT3 \u4e0d\u76f8\u4e0a\u4e0b\uff0c\u4f46\u662f\u7531\u4e8e\u8003\u8651\u5230\uff0c\u5927\u90e8\u5206\u4eba\u7535\u8111\u5176\u5b9e\u8dd1\u5927\u6a21\u578b\u662f\u6709\u4e00\u70b9\u70b9\u5403\u529b\u7684\uff0c\u4e3a\u4e86\u8ba9\u66f4\u591a\u4eba\u6765\u5148\u8fc8\u51fa\u90e8\u7f72\u6a21\u578b\u7684\u7b2c\u4e00\u6b65\uff0c\u4e8e\u662f\u5c31\u51b3\u5b9a\u53bb gitee \u4e0a\u627e\u4e00\u4e2a\u5c0f\u578b\u4e00\u70b9\u7684\u5927\u6a21\u578b\u6765\u5b9e\u6218\u4e00\u4e0b\u3002\u4f7f\u7528wget\u5de5\u5177\u4ece\u6307\u5b9a\u7684\u534e\u4e3a\u4e91\u94fe\u63a5\u4e0b\u8f7d protobuf-all-3.13.0.tar.gz\u6587\u4ef6\u89e3\u538b\u521a\u521a\u4e0b\u8f7d\u7684\u6587\u4ef6\u8fd9\u91cc\u89e3\u538b\u901f\u5ea6\u975e\u5e38\u5feb\uff0c\u57fa\u672c\u4e00\u79d2\u5c31OK\u4e86\u8fdb\u5165 protobuf-3.13.0 \u6587\u4ef6\u5939\u4e2d\u3002_\u670d\u52a1\u5668\u90e8\u7f72\u5927\u6a21\u578b<\/p>\n","protected":false},"author":2,"featured_media":18437,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,50,43,207,86,51,1395],"topic":[],"class_list":["post-18457","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-50","tag-43","tag-207","tag-86","tag-51","tag-1395"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010linux\u670d\u52a1\u5668\u3011\u5927\u8bed\u8a00\u6a21\u578b\u5b9e\u6218\u6559\u7a0b\uff1aLLMS\u5927\u6a21\u578b\u5feb\u901f\u90e8\u7f72\u5230\u4e2a\u4eba\u670d\u52a1\u5668_linux\u90e8\u7f72\u5927\u6a21\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/18457.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010linux\u670d\u52a1\u5668\u3011\u5927\u8bed\u8a00\u6a21\u578b\u5b9e\u6218\u6559\u7a0b\uff1aLLMS\u5927\u6a21\u578b\u5feb\u901f\u90e8\u7f72\u5230\u4e2a\u4eba\u670d\u52a1\u5668_linux\u90e8\u7f72\u5927\u6a21\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.6k\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf21\u6b21\u3002\u672c\u6765\u535a\u4e3b\u662f\u51c6\u5907\u6765\u90e8\u7f72\u4e00\u4e0b\u54b1\u4eec\u7684\uff0c\u6e05\u534e\u5927\u8bed\u8a00\u6a21\u578b\u955c\u50cf\u8fd9\u4e2a\u76ee\u524d\u4e5f\u662f\u975e\u5e38\u7684\u706b\u554a\uff0c\u5438\u5f15\u4e86\u5f88\u591a\u4eba\u7684\u6ce8\u610f\u5176\u4f18\u79c0\u7684\u6027\u80fd\u548cGPT3 \u4e0d\u76f8\u4e0a\u4e0b\uff0c\u4f46\u662f\u7531\u4e8e\u8003\u8651\u5230\uff0c\u5927\u90e8\u5206\u4eba\u7535\u8111\u5176\u5b9e\u8dd1\u5927\u6a21\u578b\u662f\u6709\u4e00\u70b9\u70b9\u5403\u529b\u7684\uff0c\u4e3a\u4e86\u8ba9\u66f4\u591a\u4eba\u6765\u5148\u8fc8\u51fa\u90e8\u7f72\u6a21\u578b\u7684\u7b2c\u4e00\u6b65\uff0c\u4e8e\u662f\u5c31\u51b3\u5b9a\u53bb gitee \u4e0a\u627e\u4e00\u4e2a\u5c0f\u578b\u4e00\u70b9\u7684\u5927\u6a21\u578b\u6765\u5b9e\u6218\u4e00\u4e0b\u3002\u4f7f\u7528wget\u5de5\u5177\u4ece\u6307\u5b9a\u7684\u534e\u4e3a\u4e91\u94fe\u63a5\u4e0b\u8f7d protobuf-all-3.13.0.tar.gz\u6587\u4ef6\u89e3\u538b\u521a\u521a\u4e0b\u8f7d\u7684\u6587\u4ef6\u8fd9\u91cc\u89e3\u538b\u901f\u5ea6\u975e\u5e38\u5feb\uff0c\u57fa\u672c\u4e00\u79d2\u5c31OK\u4e86\u8fdb\u5165 protobuf-3.13.0 \u6587\u4ef6\u5939\u4e2d\u3002_\u670d\u52a1\u5668\u90e8\u7f72\u5927\u6a21\u578b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/18457.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T16:52:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165246-6802835e9be38.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/18457.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/18457.html\",\"name\":\"\u3010linux\u670d\u52a1\u5668\u3011\u5927\u8bed\u8a00\u6a21\u578b\u5b9e\u6218\u6559\u7a0b\uff1aLLMS\u5927\u6a21\u578b\u5feb\u901f\u90e8\u7f72\u5230\u4e2a\u4eba\u670d\u52a1\u5668_linux\u90e8\u7f72\u5927\u6a21\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T16:52:56+00:00\",\"dateModified\":\"2025-04-18T16:52:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/18457.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/18457.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/18457.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010linux\u670d\u52a1\u5668\u3011\u5927\u8bed\u8a00\u6a21\u578b\u5b9e\u6218\u6559\u7a0b\uff1aLLMS\u5927\u6a21\u578b\u5feb\u901f\u90e8\u7f72\u5230\u4e2a\u4eba\u670d\u52a1\u5668_linux\u90e8\u7f72\u5927\u6a21\u578b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010linux\u670d\u52a1\u5668\u3011\u5927\u8bed\u8a00\u6a21\u578b\u5b9e\u6218\u6559\u7a0b\uff1aLLMS\u5927\u6a21\u578b\u5feb\u901f\u90e8\u7f72\u5230\u4e2a\u4eba\u670d\u52a1\u5668_linux\u90e8\u7f72\u5927\u6a21\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/18457.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010linux\u670d\u52a1\u5668\u3011\u5927\u8bed\u8a00\u6a21\u578b\u5b9e\u6218\u6559\u7a0b\uff1aLLMS\u5927\u6a21\u578b\u5feb\u901f\u90e8\u7f72\u5230\u4e2a\u4eba\u670d\u52a1\u5668_linux\u90e8\u7f72\u5927\u6a21\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.6k\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf21\u6b21\u3002\u672c\u6765\u535a\u4e3b\u662f\u51c6\u5907\u6765\u90e8\u7f72\u4e00\u4e0b\u54b1\u4eec\u7684\uff0c\u6e05\u534e\u5927\u8bed\u8a00\u6a21\u578b\u955c\u50cf\u8fd9\u4e2a\u76ee\u524d\u4e5f\u662f\u975e\u5e38\u7684\u706b\u554a\uff0c\u5438\u5f15\u4e86\u5f88\u591a\u4eba\u7684\u6ce8\u610f\u5176\u4f18\u79c0\u7684\u6027\u80fd\u548cGPT3 \u4e0d\u76f8\u4e0a\u4e0b\uff0c\u4f46\u662f\u7531\u4e8e\u8003\u8651\u5230\uff0c\u5927\u90e8\u5206\u4eba\u7535\u8111\u5176\u5b9e\u8dd1\u5927\u6a21\u578b\u662f\u6709\u4e00\u70b9\u70b9\u5403\u529b\u7684\uff0c\u4e3a\u4e86\u8ba9\u66f4\u591a\u4eba\u6765\u5148\u8fc8\u51fa\u90e8\u7f72\u6a21\u578b\u7684\u7b2c\u4e00\u6b65\uff0c\u4e8e\u662f\u5c31\u51b3\u5b9a\u53bb gitee \u4e0a\u627e\u4e00\u4e2a\u5c0f\u578b\u4e00\u70b9\u7684\u5927\u6a21\u578b\u6765\u5b9e\u6218\u4e00\u4e0b\u3002\u4f7f\u7528wget\u5de5\u5177\u4ece\u6307\u5b9a\u7684\u534e\u4e3a\u4e91\u94fe\u63a5\u4e0b\u8f7d protobuf-all-3.13.0.tar.gz\u6587\u4ef6\u89e3\u538b\u521a\u521a\u4e0b\u8f7d\u7684\u6587\u4ef6\u8fd9\u91cc\u89e3\u538b\u901f\u5ea6\u975e\u5e38\u5feb\uff0c\u57fa\u672c\u4e00\u79d2\u5c31OK\u4e86\u8fdb\u5165 protobuf-3.13.0 \u6587\u4ef6\u5939\u4e2d\u3002_\u670d\u52a1\u5668\u90e8\u7f72\u5927\u6a21\u578b","og_url":"https:\/\/www.wsisp.com\/helps\/18457.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T16:52:56+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165246-6802835e9be38.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/18457.html","url":"https:\/\/www.wsisp.com\/helps\/18457.html","name":"\u3010linux\u670d\u52a1\u5668\u3011\u5927\u8bed\u8a00\u6a21\u578b\u5b9e\u6218\u6559\u7a0b\uff1aLLMS\u5927\u6a21\u578b\u5feb\u901f\u90e8\u7f72\u5230\u4e2a\u4eba\u670d\u52a1\u5668_linux\u90e8\u7f72\u5927\u6a21\u578b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T16:52:56+00:00","dateModified":"2025-04-18T16:52:56+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/18457.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/18457.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/18457.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010linux\u670d\u52a1\u5668\u3011\u5927\u8bed\u8a00\u6a21\u578b\u5b9e\u6218\u6559\u7a0b\uff1aLLMS\u5927\u6a21\u578b\u5feb\u901f\u90e8\u7f72\u5230\u4e2a\u4eba\u670d\u52a1\u5668_linux\u90e8\u7f72\u5927\u6a21\u578b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/18457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=18457"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/18457\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/18437"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=18457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=18457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=18457"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=18457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}