{"id":21280,"date":"2025-04-19T04:23:24","date_gmt":"2025-04-18T20:23:24","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/21280.html"},"modified":"2025-04-19T04:23:24","modified_gmt":"2025-04-18T20:23:24","slug":"%e5%9b%bd%e4%ba%a7%e6%98%87%e8%85%beai%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e7%9a%84%e5%a4%a7%e6%a8%a1%e5%9e%8b%e7%ae%97%e5%8a%9b%e9%9c%80%e6%b1%82%e8%a7%a3%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/21280.html","title":{"rendered":"\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u4e0a\u7684\u5927\u6a21\u578b\u7b97\u529b\u9700\u6c42\u89e3\u6790"},"content":{"rendered":"<h4>\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u4e0a\u7684\u5927\u6a21\u578b\u7b97\u529b\u9700\u6c42\u89e3\u6790<\/h4>\n<p>\u968f\u7740\u4eba\u5de5\u667a\u80fd\u6280\u672f\u7684\u8fc5\u731b\u53d1\u5c55&#xff0c;\u7279\u522b\u662f\u5927\u578b\u8bed\u8a00\u6a21\u578b&#xff08;LLM&#xff09;\u7684\u5174\u8d77&#xff0c;\u5bf9\u4e8e\u9ad8\u6548\u8ba1\u7b97\u8d44\u6e90\u7684\u9700\u6c42\u65e5\u76ca\u589e\u957f\u3002\u672c\u6587\u5c06\u63a2\u8ba8\u5728\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u4e0a\u8bad\u7ec3\u548c\u63a8\u7406\u5927\u6a21\u578b\u65f6\u6240\u9700\u7684\u7b97\u529b\u8d44\u6e90&#xff0c;\u5e76\u901a\u8fc7\u5177\u4f53\u4f8b\u5b50\u6765\u8bf4\u660e\u5982\u4f55\u8bc4\u4f30\u8fd9\u4e9b\u9700\u6c42\u3002<\/p>\n<h5>\u8bad\u7ec3\u8d44\u6e90\u9700\u6c42<\/h5>\n<p>\u6607\u817eAI\u670d\u52a1\u5668\u4f5c\u4e3a\u56fd\u4ea7\u9ad8\u6027\u80fd\u8ba1\u7b97\u5e73\u53f0&#xff0c;\u5728\u5904\u7406\u5927\u89c4\u6a21\u6a21\u578b\u65f6\u8868\u73b0\u51fa\u8272\u3002\u6839\u636e\u6607\u817e\u793e\u533a\u63d0\u4f9b\u7684\u8d44\u6599&#xff0c;\u4e0d\u540c\u7684\u5927\u6a21\u578b\u5bf9\u4e8e\u7b97\u529b\u7684\u8981\u6c42\u5404\u6709\u5dee\u5f02\u3002\u4f8b\u5982&#xff0c;LLaMA2-70B \u6a21\u578b\u5728 4K tokens \u957f\u5ea6\u4e0b\u8fdb\u884c\u9884\u8bad\u7ec3\u65f6&#xff0c;\u9700\u8981\u81f3\u5c11\u56db\u53f0\u914d\u5907\u516b\u5f20 64GB NPU \u5361\u7684\u670d\u52a1\u5668\u624d\u80fd\u5b8c\u6210\u4efb\u52a1\u3002<\/p>\n<p>\u4e3a\u4e86\u66f4\u76f4\u89c2\u5730\u7406\u89e3\u670d\u52a1\u5668\u6240\u80fd\u652f\u6301\u7684\u6a21\u578b\u89c4\u6a21&#xff0c;\u6211\u4eec\u53ef\u4ee5\u91c7\u7528\u4e00\u4e2a\u7b80\u5316\u7684\u4f30\u7b97\u516c\u5f0f\u6765\u8ba1\u7b97\u6240\u9700\u7684 GPU\/NPU \u5185\u5b58\u5bb9\u91cf&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418202323-6802b4bb67d8e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><span class=\"katex--display\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\"> <\/p>\n<p>          M <\/p>\n<p>          &#061; <\/p>\n<p>            ( <\/p>\n<p>            \u53c2\u6570\u91cf <\/p>\n<p>            \u00d7 <\/p>\n<p>            \u53c2\u6570\u4f4d\u5bbd <\/p>\n<p>            ) <\/p>\n<p>            ( <\/p>\n<p>            \u5185\u5b58\u5e26\u5bbd <\/p>\n<p>            \/ <\/p>\n<p>            \u6a21\u578b\u4f4d\u6570 <\/p>\n<p>            ) <\/p>\n<p>          \u00d7 <\/p>\n<p>          \u7cfb\u6570 <\/p>\n<p>         M &#061; \\\\frac{(\u53c2\u6570\u91cf \\\\times \u53c2\u6570\u4f4d\u5bbd)}{(\u5185\u5b58\u5e26\u5bbd \/ \u6a21\u578b\u4f4d\u6570)} \\\\times \u7cfb\u6570 <\/p>\n<p>     <\/span><span class=\"katex-html\"><span class=\"base\"><span class=\"strut\" style=\"height: 0.6833em\"><\/span><span class=\"mord mathnormal\" style=\"margin-right: 0.109em\">M<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><span class=\"mrel\">&#061;<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 2.363em;vertical-align: -0.936em\"><\/span><span class=\"mord\"><span class=\"mopen nulldelimiter\"><\/span><span class=\"mfrac\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\" style=\"height: 1.427em\"><span class=\"\" style=\"top: -2.314em\"><span class=\"pstrut\" style=\"height: 3em\"><\/span><span class=\"mord\"><span class=\"mopen\">(<\/span><span class=\"mord cjk_fallback\">\u5185\u5b58\u5e26\u5bbd<\/span><span class=\"mord\">\/<\/span><span class=\"mord cjk_fallback\">\u6a21\u578b\u4f4d\u6570<\/span><span class=\"mclose\">)<\/span><\/span><\/span><span class=\"\" style=\"top: -3.23em\"><span class=\"pstrut\" style=\"height: 3em\"><\/span><span class=\"frac-line\" style=\"border-bottom-width: 0.04em\"><\/span><\/span><span class=\"\" style=\"top: -3.677em\"><span class=\"pstrut\" style=\"height: 3em\"><\/span><span class=\"mord\"><span class=\"mopen\">(<\/span><span class=\"mord cjk_fallback\">\u53c2\u6570\u91cf<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mbin\">\u00d7<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mord cjk_fallback\">\u53c2\u6570\u4f4d\u5bbd<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><span class=\"vlist-r\"><span class=\"vlist\" style=\"height: 0.936em\"><span class=\"\"><\/span><\/span><\/span><\/span><\/span><span class=\"mclose nulldelimiter\"><\/span><\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mbin\">\u00d7<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 0.6833em\"><\/span><span class=\"mord cjk_fallback\">\u7cfb\u6570<\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p>\u5047\u8bbe\u6211\u4eec\u8981\u8fd0\u884c 16 \u4f4d\u7cbe\u5ea6\u7684 Llama2 70B \u6a21\u578b&#xff0c;\u5219\u8ba1\u7b97\u5982\u4e0b&#xff1a;<\/p>\n<p><span class=\"katex--display\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\"> <\/p>\n<p>          M <\/p>\n<p>          &#061; <\/p>\n<p>            ( <\/p>\n<p>            70 <\/p>\n<p>            \u00d7 <\/p>\n<p>            4 <\/p>\n<p>            ) <\/p>\n<p>            ( <\/p>\n<p>            32 <\/p>\n<p>            \/ <\/p>\n<p>            16 <\/p>\n<p>            ) <\/p>\n<p>          \u00d7 <\/p>\n<p>          1.2 <\/p>\n<p>          \u2248 <\/p>\n<p>          168 <\/p>\n<p>          G <\/p>\n<p>          B <\/p>\n<p>         M &#061; \\\\frac{(70 \\\\times 4)}{(32 \/ 16)} \\\\times 1.2 \\\\approx 168GB <\/p>\n<p>     <\/span><span class=\"katex-html\"><span class=\"base\"><span class=\"strut\" style=\"height: 0.6833em\"><\/span><span class=\"mord mathnormal\" style=\"margin-right: 0.109em\">M<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><span class=\"mrel\">&#061;<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 2.363em;vertical-align: -0.936em\"><\/span><span class=\"mord\"><span class=\"mopen nulldelimiter\"><\/span><span class=\"mfrac\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\" style=\"height: 1.427em\"><span class=\"\" style=\"top: -2.314em\"><span class=\"pstrut\" style=\"height: 3em\"><\/span><span class=\"mord\"><span class=\"mopen\">(<\/span><span class=\"mord\">32\/16<\/span><span class=\"mclose\">)<\/span><\/span><\/span><span class=\"\" style=\"top: -3.23em\"><span class=\"pstrut\" style=\"height: 3em\"><\/span><span class=\"frac-line\" style=\"border-bottom-width: 0.04em\"><\/span><\/span><span class=\"\" style=\"top: -3.677em\"><span class=\"pstrut\" style=\"height: 3em\"><\/span><span class=\"mord\"><span class=\"mopen\">(<\/span><span class=\"mord\">70<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mbin\">\u00d7<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mord\">4<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><span class=\"vlist-r\"><span class=\"vlist\" style=\"height: 0.936em\"><span class=\"\"><\/span><\/span><\/span><\/span><\/span><span class=\"mclose nulldelimiter\"><\/span><\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mbin\">\u00d7<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 0.6444em\"><\/span><span class=\"mord\">1.2<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><span class=\"mrel\">\u2248<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 0.6833em\"><\/span><span class=\"mord\">168<\/span><span class=\"mord mathnormal\" style=\"margin-right: 0.0502em\">GB<\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p>\u540c\u6837&#xff0c;\u5982\u679c\u4f7f\u7528 4 \u4f4d\u91cf\u5316\u7248\u672c\u7684 Llama2 70B \u6a21\u578b&#xff0c;\u5176\u6240\u9700\u7684 GPU \u5185\u5b58\u5bb9\u91cf\u5219\u964d\u4f4e\u81f3&#xff1a;<\/p>\n<p><span class=\"katex--display\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\"> <\/p>\n<p>          M <\/p>\n<p>          &#061; <\/p>\n<p>            ( <\/p>\n<p>            70 <\/p>\n<p>            \u00d7 <\/p>\n<p>            4 <\/p>\n<p>            ) <\/p>\n<p>            ( <\/p>\n<p>            32 <\/p>\n<p>            \/ <\/p>\n<p>            4 <\/p>\n<p>            ) <\/p>\n<p>          \u00d7 <\/p>\n<p>          1.2 <\/p>\n<p>          \u2248 <\/p>\n<p>          42 <\/p>\n<p>          G <\/p>\n<p>          B <\/p>\n<p>         M &#061; \\\\frac{(70 \\\\times 4)}{(32 \/ 4)} \\\\times 1.2 \\\\approx 42GB <\/p>\n<p>     <\/span><span class=\"katex-html\"><span class=\"base\"><span class=\"strut\" style=\"height: 0.6833em\"><\/span><span class=\"mord mathnormal\" style=\"margin-right: 0.109em\">M<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><span class=\"mrel\">&#061;<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 2.363em;vertical-align: -0.936em\"><\/span><span class=\"mord\"><span class=\"mopen nulldelimiter\"><\/span><span class=\"mfrac\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\" style=\"height: 1.427em\"><span class=\"\" style=\"top: -2.314em\"><span class=\"pstrut\" style=\"height: 3em\"><\/span><span class=\"mord\"><span class=\"mopen\">(<\/span><span class=\"mord\">32\/4<\/span><span class=\"mclose\">)<\/span><\/span><\/span><span class=\"\" style=\"top: -3.23em\"><span class=\"pstrut\" style=\"height: 3em\"><\/span><span class=\"frac-line\" style=\"border-bottom-width: 0.04em\"><\/span><\/span><span class=\"\" style=\"top: -3.677em\"><span class=\"pstrut\" style=\"height: 3em\"><\/span><span class=\"mord\"><span class=\"mopen\">(<\/span><span class=\"mord\">70<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mbin\">\u00d7<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mord\">4<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><span class=\"vlist-r\"><span class=\"vlist\" style=\"height: 0.936em\"><span class=\"\"><\/span><\/span><\/span><\/span><\/span><span class=\"mclose nulldelimiter\"><\/span><\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><span class=\"mbin\">\u00d7<\/span><span class=\"mspace\" style=\"margin-right: 0.2222em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 0.6444em\"><\/span><span class=\"mord\">1.2<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><span class=\"mrel\">\u2248<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 0.6833em\"><\/span><span class=\"mord\">42<\/span><span class=\"mord mathnormal\" style=\"margin-right: 0.0502em\">GB<\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p>\u503c\u5f97\u6ce8\u610f\u7684\u662f&#xff0c;LoRA&#xff08;Low-Rank Adaptation&#xff09;\u4f5c\u4e3a\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u5fae\u8c03\u6280\u672f&#xff0c;\u5176\u6838\u5fc3\u7406\u5ff5\u5728\u4e8e\u53ea\u66f4\u65b0\u9884\u8bad\u7ec3\u6a21\u578b\u4e2d\u7684\u5c11\u91cf\u989d\u5916\u53c2\u6570&#xff0c;\u800c\u4e0d\u4f1a\u6539\u53d8\u539f\u6709\u6a21\u578b\u7684\u53c2\u6570\u3002\u8fd9\u610f\u5473\u7740\u4e0e\u5168\u6a21\u578b\u8bad\u7ec3\u76f8\u6bd4&#xff0c;LoRA \u8bad\u7ec3\u5728\u8ba1\u7b97\u8d44\u6e90\u4e0a\u7684\u6d88\u8017\u8981\u5c11\u5f97\u591a\u3002\u7136\u800c&#xff0c;\u5c3d\u7ba1 LoRA \u4ec5\u5bf9\u5c11\u91cf\u53c2\u6570\u8fdb\u884c\u66f4\u65b0&#xff0c;\u5b83\u4f9d\u7136\u9700\u8981\u5c06\u6574\u4e2a\u57fa\u7840\u6a21\u578b\u52a0\u8f7d\u81f3\u663e\u5b58\u4e2d\u3002\u56e0\u6b64&#xff0c;LoRA \u8bad\u7ec3\u5bf9\u663e\u5b58\u7684\u9700\u6c42\u5b9e\u9645\u4e0a\u4e0e\u57fa\u7840\u6a21\u578b\u7684\u5927\u5c0f\u76f8\u5f53\u3002\u5982\u679c\u57fa\u7840\u6a21\u578b\u672c\u8eab\u8f83\u5927&#xff0c;\u90a3\u4e48\u5373\u4f7f\u91c7\u7528 LoRA \u8fdb\u884c\u5fae\u8c03&#xff0c;\u4ecd\u9700\u8981\u8f83\u5927\u7684\u663e\u5b58\u652f\u6301\u3002<\/p>\n<p>\u6b64\u5916&#xff0c;\u5728\u5b9e\u9645\u5e94\u7528\u4e2d&#xff0c;\u5f53\u8f93\u5165\u6587\u672c\u957f\u5ea6\u8f83\u957f\u65f6&#xff0c;LoRA \u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u663e\u5b58\u4f7f\u7528\u91cf\u4e5f\u4f1a\u76f8\u5e94\u589e\u52a0\u3002\u8fd9\u662f\u56e0\u4e3a\u8f83\u957f\u7684\u8f93\u5165\u5e8f\u5217\u4f1a\u5bfc\u81f4\u6a21\u578b\u5728\u524d\u5411\u4f20\u64ad\u548c\u53cd\u5411\u4f20\u64ad\u8fc7\u7a0b\u4e2d\u9700\u8981\u5b58\u50a8\u66f4\u591a\u7684\u4e2d\u95f4\u53d8\u91cf&#xff0c;\u4ece\u800c\u589e\u52a0\u4e86\u663e\u5b58\u8d1f\u62c5\u3002\u4f8b\u5982&#xff0c;\u4e00\u4e2a\u57fa\u7840\u6a21\u578b\u5360\u7528 10GB \u663e\u5b58\u7684\u60c5\u51b5\u4e0b&#xff0c;\u82e5\u8f93\u5165\u6587\u672c\u957f\u5ea6\u8f83\u957f&#xff0c;\u5219\u53ef\u80fd\u9700\u8981\u8d85\u8fc7 10GB \u7684\u663e\u5b58\u6765\u5904\u7406\u8fd9\u4e9b\u989d\u5916\u7684\u6570\u636e\u8d1f\u8f7d\u3002\u56e0\u6b64&#xff0c;\u5728\u9009\u62e9\u8bad\u7ec3\u8bbe\u5907\u65f6&#xff0c;\u4e0d\u4ec5\u8981\u8003\u8651\u57fa\u7840\u6a21\u578b\u7684\u5927\u5c0f&#xff0c;\u8fd8\u9700\u8981\u6839\u636e\u8f93\u5165\u6570\u636e\u7684\u957f\u5ea6\u6765\u8bc4\u4f30\u663e\u5b58\u9700\u6c42\u3002<\/p>\n<p>\u5728\u5355\u673a\u8bad\u7ec3\u7684\u57fa\u7840\u4e0a&#xff0c;\u82e5\u8981\u63d0\u5347\u8bad\u7ec3\u6548\u7387\u6216\u5904\u7406\u66f4\u5927\u7684\u6570\u636e\u96c6\u548c\u66f4\u957f\u7684\u6587\u672c\u5e8f\u5217&#xff0c;\u5219\u53ef\u4ee5\u901a\u8fc7\u90e8\u7f72\u591a\u53f0\u670d\u52a1\u5668\u5b9e\u73b0\u5206\u5e03\u5f0f\u8bad\u7ec3\u3002\u5206\u5e03\u5f0f\u8bad\u7ec3\u4e0d\u4ec5\u6709\u52a9\u4e8e\u52a0\u5feb\u6a21\u578b\u8bad\u7ec3\u7684\u901f\u5ea6&#xff0c;\u8fd8\u80fd\u901a\u8fc7\u5e76\u884c\u5229\u7528\u591a\u53f0\u670d\u52a1\u5668\u4e0a\u7684\u8ba1\u7b97\u8d44\u6e90\u6765\u6ee1\u8db3\u5927\u89c4\u6a21\u6a21\u578b\u8bad\u7ec3\u7684\u9700\u6c42&#xff0c;\u7279\u522b\u662f\u5f53\u5355\u4e2a\u8bbe\u5907\u7684\u5185\u5b58\u4e0d\u8db3\u4ee5\u5904\u7406\u957f\u6587\u672c\u6a21\u578b\u65f6&#xff0c;\u5206\u5e03\u5f0f\u8bad\u7ec3\u6210\u4e3a\u4e00\u79cd\u5fc5\u8981\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<h5>\u63a8\u7406\u8d44\u6e90\u9700\u6c42<\/h5>\n<p>\u5728\u63a8\u7406\u9636\u6bb5&#xff0c;\u6607\u817eAI\u670d\u52a1\u5668\u540c\u6837\u8868\u73b0\u4f18\u5f02\u3002\u6839\u636e\u4e0d\u540c\u7684\u91cf\u5316\u65b9\u5f0f&#xff0c;\u5355\u53f0\u670d\u52a1\u5668\u53ef\u4ee5\u652f\u6301\u4e0d\u540c\u89c4\u6a21\u7684\u6a21\u578b\u8fdb\u884c\u63a8\u7406&#xff1a;&#xff08;\u6ce8&#xff1a;\u8be5\u90e8\u5206\u6570\u636e\u6765\u81ea\u534e\u4e3a\u4f9b\u5e94\u5546&#xff09;<\/p>\n<ul>\n<li>\u5bf9\u4e8e INT4 \u91cf\u5316\u7248\u672c\u7684 LLaMA2 \u6a21\u578b&#xff0c;\u5355\u53f0\u670d\u52a1\u5668\u53ef\u4ee5\u652f\u6301\u9ad8\u8fbe 220B \u53c2\u6570\u91cf\u7684\u6a21\u578b\u3002<\/li>\n<li>\u5bf9\u4e8e INT8 \u91cf\u5316\u7248\u672c\u7684 LLaMA2 \u6a21\u578b&#xff0c;\u5355\u53f0\u670d\u52a1\u5668\u53ef\u4ee5\u652f\u6301 175B \u53c2\u6570\u91cf\u7684\u6a21\u578b\u3002<\/li>\n<li>\u5bf9\u4e8e FP16 \u6216 BF16 \u7248\u672c\u7684 LLaMA2 \u6216 LLaMA3 \u6a21\u578b&#xff0c;\u5355\u53f0\u670d\u52a1\u5668\u5219\u53ef\u4ee5\u652f\u6301 70B \u53c2\u6570\u91cf\u7684\u6a21\u578b\u3002<\/li>\n<\/ul>\n<h5>\u7ed3\u8bba<\/h5>\n<p>\u901a\u8fc7\u5bf9\u6607\u817eAI\u670d\u52a1\u5668\u4e0a\u5927\u6a21\u578b\u8bad\u7ec3\u548c\u63a8\u7406\u8d44\u6e90\u9700\u6c42\u7684\u5206\u6790&#xff0c;\u6211\u4eec\u53ef\u4ee5\u53d1\u73b0&#xff0c;\u5408\u7406\u7684\u786c\u4ef6\u914d\u7f6e\u7ed3\u5408\u9ad8\u6548\u7684\u91cf\u5316\u6280\u672f&#xff0c;\u80fd\u591f\u663e\u8457\u63d0\u9ad8\u8ba1\u7b97\u6548\u7387\u5e76\u964d\u4f4e\u6210\u672c\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u9009\u62e9\u5408\u9002\u7684\u6a21\u578b\u91cf\u5316\u65b9\u5f0f\u548c\u786c\u4ef6\u914d\u7f6e&#xff0c;\u4ee5\u5b9e\u73b0\u6700\u4f73\u6027\u80fd\u3002<\/p>\n<h5>\u53c2\u8003\u8d44\u6599<\/h5>\n<ul>\n<li>\u6607\u817e\u793e\u533a\u6a21\u578b\u94fe\u63a5<\/li>\n<li>\u6607\u817e\u793e\u533a\u5927\u6a21\u578b\u5de5\u5177ModelLink<\/li>\n<li>\u5927\u6a21\u578b\u7b97\u529b\u9700\u6c42\u5206\u6790<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u4e0a\u8ff0\u8d44\u6599\u548c\u516c\u5f0f\u8ba1\u7b97&#xff0c;\u6211\u4eec\u53ef\u4ee5\u66f4\u597d\u5730\u89c4\u5212\u548c\u5229\u7528\u6607\u817eAI\u670d\u52a1\u5668\u7684\u8ba1\u7b97\u8d44\u6e90&#xff0c;\u4ee5\u5e94\u5bf9\u65e5\u76ca\u590d\u6742\u7684\u4eba\u5de5\u667a\u80fd\u5e94\u7528\u6311\u6218\u3002<\/p>\n<h5>\u53c2\u8003\u56fe\u7247<\/h5>\n<p>\u6607\u817e\u793e\u533a\u6a21\u578b\u94fe\u63a5\u9875\u9762\u622a\u56fe&#xff0c;PASS\u8868\u793a\u5df2\u7ecf\u6d4b\u8bd5\u7684\u6a21\u578b&#xff0c;Test\u8fd8\u5728\u6d4b\u8bd5&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418202323-6802b4bb84648.png\" alt=\"\u6607\u817e\u793e\u533a\u6a21\u578b\u94fe\u63a5\u9875\u9762\u622a\u56fe\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e19\u6b21\uff0c\u6536\u85cf10\u6b21\u3002\u672c\u6587\u63a2\u8ba8\u4e86\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u5728\u652f\u6491\u5927\u6a21\u578b\u8bad\u7ec3\u4e0e\u63a8\u7406\u65f6\u7684\u7b97\u529b\u9700\u6c42\u3002\u968f\u7740AI\u6a21\u578b\u89c4\u6a21\u81a8\u80c0\uff0c\u6607\u817e\u670d\u52a1\u5668\u51ed\u501f\u5176\u9ad8\u6027\u80fd\u786c\u4ef6\u6210\u4e3a\u5173\u952e\u652f\u6491\u3002\u6587\u4e2d\u5206\u6790\u4e86\u6607\u817eAI\u670d\u52a1\u5668\u5728\u663e\u5b58\u5bb9\u91cf\u4e0e\u8fd0\u7b97\u901f\u5ea6\u4e0a\u7684\u4f18\u52bf\uff0c\u5e76\u8ba8\u8bba\u4e86\u5982\u4f55\u5229\u7528LoRA\u7b49\u6280\u672f\u51cf\u8f7b\u8bad\u7ec3\u8d1f\u62c5\u3002\u5c3d\u7ba1\u5982\u6b64\uff0c\u5927\u6a21\u578b\u8bad\u7ec3\u4ecd\u9762\u4e34\u663e\u5b58\u5360\u7528\u9ad8\u7684\u6311\u6218\u3002\u56e0\u6b64\uff0c\u672c\u6587\u63d0\u51fa\u91c7\u7528\u6df7\u5408\u7cbe\u5ea6\u8bad\u7ec3\u548c\u5206\u5e03\u5f0f\u8bad\u7ec3\u7b49\u7b56\u7565\u4f18\u5316\u6027\u80fd\uff0c\u4ee5\u63d0\u5347\u6607\u817e\u670d\u52a1\u5668\u7684\u7b97\u529b\u4f7f\u7528\u6548\u7387\uff0c\u4fc3\u8fdb\u56fd\u4ea7AI\u57fa\u7840\u8bbe\u65bd\u5efa\u8bbe\u4e0e\u53d1\u5c55\u3002_\u6607\u817e\u5927\u6a21\u578b\u786c\u4ef6\u8981\u6c42<\/p>\n","protected":false},"author":2,"featured_media":21278,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[66,1646,50,43,44],"topic":[],"class_list":["post-21280","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ai","tag-gpt","tag-50","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u4e0a\u7684\u5927\u6a21\u578b\u7b97\u529b\u9700\u6c42\u89e3\u6790 - \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\/21280.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u4e0a\u7684\u5927\u6a21\u578b\u7b97\u529b\u9700\u6c42\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e19\u6b21\uff0c\u6536\u85cf10\u6b21\u3002\u672c\u6587\u63a2\u8ba8\u4e86\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u5728\u652f\u6491\u5927\u6a21\u578b\u8bad\u7ec3\u4e0e\u63a8\u7406\u65f6\u7684\u7b97\u529b\u9700\u6c42\u3002\u968f\u7740AI\u6a21\u578b\u89c4\u6a21\u81a8\u80c0\uff0c\u6607\u817e\u670d\u52a1\u5668\u51ed\u501f\u5176\u9ad8\u6027\u80fd\u786c\u4ef6\u6210\u4e3a\u5173\u952e\u652f\u6491\u3002\u6587\u4e2d\u5206\u6790\u4e86\u6607\u817eAI\u670d\u52a1\u5668\u5728\u663e\u5b58\u5bb9\u91cf\u4e0e\u8fd0\u7b97\u901f\u5ea6\u4e0a\u7684\u4f18\u52bf\uff0c\u5e76\u8ba8\u8bba\u4e86\u5982\u4f55\u5229\u7528LoRA\u7b49\u6280\u672f\u51cf\u8f7b\u8bad\u7ec3\u8d1f\u62c5\u3002\u5c3d\u7ba1\u5982\u6b64\uff0c\u5927\u6a21\u578b\u8bad\u7ec3\u4ecd\u9762\u4e34\u663e\u5b58\u5360\u7528\u9ad8\u7684\u6311\u6218\u3002\u56e0\u6b64\uff0c\u672c\u6587\u63d0\u51fa\u91c7\u7528\u6df7\u5408\u7cbe\u5ea6\u8bad\u7ec3\u548c\u5206\u5e03\u5f0f\u8bad\u7ec3\u7b49\u7b56\u7565\u4f18\u5316\u6027\u80fd\uff0c\u4ee5\u63d0\u5347\u6607\u817e\u670d\u52a1\u5668\u7684\u7b97\u529b\u4f7f\u7528\u6548\u7387\uff0c\u4fc3\u8fdb\u56fd\u4ea7AI\u57fa\u7840\u8bbe\u65bd\u5efa\u8bbe\u4e0e\u53d1\u5c55\u3002_\u6607\u817e\u5927\u6a21\u578b\u786c\u4ef6\u8981\u6c42\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/21280.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-18T20:23:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418202323-6802b4bb67d8e.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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/21280.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/21280.html\",\"name\":\"\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u4e0a\u7684\u5927\u6a21\u578b\u7b97\u529b\u9700\u6c42\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T20:23:24+00:00\",\"dateModified\":\"2025-04-18T20:23:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/21280.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/21280.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/21280.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u4e0a\u7684\u5927\u6a21\u578b\u7b97\u529b\u9700\u6c42\u89e3\u6790\"}]},{\"@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":"\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u4e0a\u7684\u5927\u6a21\u578b\u7b97\u529b\u9700\u6c42\u89e3\u6790 - \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\/21280.html","og_locale":"zh_CN","og_type":"article","og_title":"\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u4e0a\u7684\u5927\u6a21\u578b\u7b97\u529b\u9700\u6c42\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e19\u6b21\uff0c\u6536\u85cf10\u6b21\u3002\u672c\u6587\u63a2\u8ba8\u4e86\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u5728\u652f\u6491\u5927\u6a21\u578b\u8bad\u7ec3\u4e0e\u63a8\u7406\u65f6\u7684\u7b97\u529b\u9700\u6c42\u3002\u968f\u7740AI\u6a21\u578b\u89c4\u6a21\u81a8\u80c0\uff0c\u6607\u817e\u670d\u52a1\u5668\u51ed\u501f\u5176\u9ad8\u6027\u80fd\u786c\u4ef6\u6210\u4e3a\u5173\u952e\u652f\u6491\u3002\u6587\u4e2d\u5206\u6790\u4e86\u6607\u817eAI\u670d\u52a1\u5668\u5728\u663e\u5b58\u5bb9\u91cf\u4e0e\u8fd0\u7b97\u901f\u5ea6\u4e0a\u7684\u4f18\u52bf\uff0c\u5e76\u8ba8\u8bba\u4e86\u5982\u4f55\u5229\u7528LoRA\u7b49\u6280\u672f\u51cf\u8f7b\u8bad\u7ec3\u8d1f\u62c5\u3002\u5c3d\u7ba1\u5982\u6b64\uff0c\u5927\u6a21\u578b\u8bad\u7ec3\u4ecd\u9762\u4e34\u663e\u5b58\u5360\u7528\u9ad8\u7684\u6311\u6218\u3002\u56e0\u6b64\uff0c\u672c\u6587\u63d0\u51fa\u91c7\u7528\u6df7\u5408\u7cbe\u5ea6\u8bad\u7ec3\u548c\u5206\u5e03\u5f0f\u8bad\u7ec3\u7b49\u7b56\u7565\u4f18\u5316\u6027\u80fd\uff0c\u4ee5\u63d0\u5347\u6607\u817e\u670d\u52a1\u5668\u7684\u7b97\u529b\u4f7f\u7528\u6548\u7387\uff0c\u4fc3\u8fdb\u56fd\u4ea7AI\u57fa\u7840\u8bbe\u65bd\u5efa\u8bbe\u4e0e\u53d1\u5c55\u3002_\u6607\u817e\u5927\u6a21\u578b\u786c\u4ef6\u8981\u6c42","og_url":"https:\/\/www.wsisp.com\/helps\/21280.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T20:23:24+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418202323-6802b4bb67d8e.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/21280.html","url":"https:\/\/www.wsisp.com\/helps\/21280.html","name":"\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u4e0a\u7684\u5927\u6a21\u578b\u7b97\u529b\u9700\u6c42\u89e3\u6790 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T20:23:24+00:00","dateModified":"2025-04-18T20:23:24+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/21280.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/21280.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/21280.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u56fd\u4ea7\u6607\u817eAI\u670d\u52a1\u5668\u4e0a\u7684\u5927\u6a21\u578b\u7b97\u529b\u9700\u6c42\u89e3\u6790"}]},{"@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\/21280","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=21280"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/21280\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/21278"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=21280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=21280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=21280"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=21280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}