{"id":82851,"date":"2026-07-25T13:27:53","date_gmt":"2026-07-25T05:27:53","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/82851.html"},"modified":"2026-07-25T13:27:53","modified_gmt":"2026-07-25T05:27:53","slug":"%e5%a4%a7%e6%a8%a1%e5%9e%8b%e6%9c%ac%e5%9c%b0%e5%8c%96%e9%83%a8%e7%bd%b2%e5%ae%9e%e6%88%98%ef%bc%9a%e4%bb%8e%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%80%a7%e8%83%bd%e8%b0%83%e4%bc%98%e5%88%b0%e4%bd%8e%e6%88%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/82851.html","title":{"rendered":"\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u5b9e\u6218\uff1a\u4ece\u670d\u52a1\u5668\u6027\u80fd\u8c03\u4f18\u5230\u4f4e\u6210\u672c\u843d\u5730\u5168\u653b\u7565"},"content":{"rendered":"<h3>\u4e00\u3001\u5f15\u8a00<\/h3>\n<p>\u5728\u6570\u5b57\u5316\u8f6c\u578b\u6d6a\u6f6e\u4e0b&#xff0c;\u5927\u6a21\u578b\u5df2\u6210\u4e3a\u4f01\u4e1a\u63d0\u6548\u3001\u4e2a\u4eba\u8d4b\u80fd\u7684\u6838\u5fc3\u5de5\u5177&#xff0c;\u4f46\u516c\u7f51\u5927\u6a21\u578b\u670d\u52a1\u59cb\u7ec8\u9762\u4e34\u6570\u636e\u9690\u79c1\u6cc4\u9732\u3001\u54cd\u5e94\u5ef6\u8fdf\u9ad8\u3001\u4f9d\u8d56\u7f51\u7edc\u7a33\u5b9a\u6027\u7b49\u75db\u70b9\u3002\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u901a\u8fc7\u5c06\u6a21\u578b\u90e8\u7f72\u5728\u81ea\u6709\u670d\u52a1\u5668\u6216\u7ec8\u7aef\u8bbe\u5907\u4e0a&#xff0c;\u5b9e\u73b0\u6570\u636e\u201c\u4e0d\u51fa\u5185\u7f51\u201d\u3001\u6beb\u79d2\u7ea7\u54cd\u5e94\u3001\u8131\u79bb\u516c\u7f51\u72ec\u7acb\u8fd0\u884c\u7684\u6838\u5fc3\u4f18\u52bf&#xff0c;\u5c24\u5176\u9002\u914d\u91d1\u878d\u3001\u533b\u7597\u3001\u653f\u52a1\u7b49\u5bf9\u6570\u636e\u9690\u79c1\u654f\u611f\u7684\u884c\u4e1a&#xff0c;\u540c\u65f6\u4e5f\u80fd\u6ee1\u8db3\u4e2a\u4eba\u5f00\u53d1\u8005\u5bf9\u79c1\u5bc6\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n<p>\u7136\u800c&#xff0c;\u5f53\u4e0b\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u4ecd\u5b58\u5728\u8bf8\u591a\u95e8\u69db&#xff1a;\u52a8\u8f84\u6570\u4e07\u7684GPU\u786c\u4ef6\u6295\u5165\u3001\u90e8\u7f72\u6d41\u7a0b\u4e2d\u590d\u6742\u7684\u73af\u5883\u914d\u7f6e\u3001\u8fd0\u884c\u65f6\u9891\u7e41\u51fa\u73b0\u7684\u6027\u80fd\u74f6\u9888&#xff0c;\u4ee5\u53ca\u540e\u7eed\u9ad8\u6602\u7684\u8fd0\u7ef4\u6210\u672c&#xff0c;\u8ba9\u4e0d\u5c11\u4f01\u4e1a\u548c\u4e2a\u4eba\u5f00\u53d1\u8005\u671b\u800c\u5374\u6b65\u3002\u672c\u6587\u805a\u7126\u201c\u5b9e\u6218\u843d\u5730\u201d\u4e0e\u201c\u4f4e\u6210\u672c\u4f18\u5316\u201d\u4e24\u5927\u6838\u5fc3&#xff0c;\u4ece\u90e8\u7f72\u524d\u51c6\u5907\u3001\u5206\u573a\u666f\u5b9e\u64cd\u3001\u6027\u80fd\u8c03\u4f18\u3001\u95ee\u9898\u6392\u67e5\u7b49\u7ef4\u5ea6&#xff0c;\u63d0\u4f9b\u4e00\u5957\u5168\u6d41\u7a0b\u653b\u7565&#xff0c;\u65e0\u8bba\u662f\u96f6\u7ecf\u9a8c\u65b0\u624b\u8fd8\u662f\u6709\u4e00\u5b9a\u57fa\u7840\u7684\u8fdb\u9636\u7528\u6237&#xff0c;\u90fd\u80fd\u501f\u52a9\u672c\u6587\u5b9e\u73b0\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u7684\u4f4e\u6210\u672c\u843d\u5730&#xff0c;\u540c\u65f6\u7cbe\u51c6\u7a81\u7834\u6027\u80fd\u74f6\u9888\u3002<\/p>\n<h3>\u4e8c\u3001\u90e8\u7f72\u524d\u51c6\u5907&#xff1a;\u9009\u578b\u4e0e\u73af\u5883\u642d\u5efa&#xff08;\u5960\u5b9a\u4f4e\u6210\u672c\u57fa\u7840&#xff09;<\/h3>\n<p>\u90e8\u7f72\u524d\u7684\u9009\u578b\u4e0e\u73af\u5883\u642d\u5efa&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u540e\u7eed\u90e8\u7f72\u6210\u672c\u3001\u6027\u80fd\u4e0a\u9650\u4e0e\u8fd0\u7ef4\u96be\u5ea6\u3002\u6838\u5fc3\u539f\u5219\u662f\u201c\u6309\u9700\u5339\u914d\u3001\u62d2\u7edd\u5197\u4f59\u201d&#xff0c;\u7528\u6700\u4f4e\u7684\u6295\u5165\u6ee1\u8db3\u6838\u5fc3\u9700\u6c42\u3002<\/p>\n<h4>2.1 \u786c\u4ef6\u9009\u578b&#xff1a;\u9ad8\u6027\u4ef7\u6bd4\u914d\u7f6e\u65b9\u6848&#xff08;\u6309\u9700\u5339\u914d&#xff0c;\u62d2\u7edd\u5197\u4f59&#xff09;<\/h4>\n<p>\u786c\u4ef6\u662f\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u7684\u57fa\u7840&#xff0c;\u4f46\u5176\u6295\u5165\u5e76\u975e\u8d8a\u9ad8\u8d8a\u597d&#xff0c;\u9700\u6839\u636e\u6a21\u578b\u89c4\u6a21\u3001\u4f7f\u7528\u573a\u666f\u7cbe\u51c6\u9009\u578b&#xff0c;\u751a\u81f3\u53ef\u901a\u8fc7\u65e7\u8bbe\u5907\u5229\u65e7\u5b9e\u73b0\u96f6\u65b0\u589e\u6210\u672c\u90e8\u7f72\u3002<\/p>\n<p>\u4f4e\u914d\u65b9\u6848\u9002\u5408\u4e2a\u4eba\u5f00\u53d1\u8005\u6216\u8f7b\u91cf\u573a\u666f&#xff0c;\u53ef\u76f4\u63a5\u5229\u65e7\u65e7\u670d\u52a1\u5668\u3001\u666e\u901a\u529e\u516c\u7535\u8111&#xff0c;\u91c7\u7528CPU&#043;\u5185\u5b58\u4f18\u5316\u8def\u7ebf\u3002\u6b64\u7c7b\u65b9\u6848\u65e0\u9700\u65b0\u589e\u786c\u4ef6\u6295\u5165&#xff0c;\u6838\u5fc3\u914d\u7f6e\u9700\u6ee1\u8db3CPU\u22658\u6838\u3001\u5185\u5b58\u226516G&#xff0c;\u642d\u914dSSD\u5b58\u50a8&#xff08;\u63d0\u5347\u6a21\u578b\u8bfb\u53d6\u901f\u5ea6&#xff09;&#xff0c;\u53ef\u9002\u914d2B-7B\u53c2\u6570\u7684\u91cf\u5316\u6a21\u578b&#xff0c;\u867d\u63a8\u7406\u901f\u5ea6\u8f83\u6162&#xff08;3-5token\/s&#xff09;&#xff0c;\u4f46\u80fd\u6ee1\u8db3\u7b80\u5355\u5bf9\u8bdd\u3001\u6587\u672c\u751f\u6210\u7b49\u57fa\u7840\u9700\u6c42\u3002<\/p>\n<p>\u4e2d\u914d\u65b9\u6848\u4e3a\u5165\u95e8\u9996\u9009&#xff0c;\u9002\u5408\u4e2d\u5c0f\u4f01\u4e1a\u6216\u56e2\u961f\u4f7f\u7528&#xff0c;\u91c7\u7528\u5355GPU\u914d\u7f6e&#xff0c;\u63a8\u8350RTX 3090&#xff08;24G\u663e\u5b58&#xff09;\u3001RTX 4090&#xff08;24G\u663e\u5b58&#xff09;\u6216NVIDIA A10&#xff08;24G\u663e\u5b58&#xff09;&#xff0c;CPU\u226512\u6838\u3001\u5185\u5b58\u226532G\u3002\u8be5\u914d\u7f6e\u53ef\u6d41\u7545\u8fd0\u884c7B-13B\u53c2\u6570\u7684INT4\/INT8\u91cf\u5316\u6a21\u578b&#xff0c;\u63a8\u7406\u901f\u5ea6\u53ef\u8fbe10-20token\/s&#xff0c;\u652f\u63013-5\u4eba\u540c\u65f6\u5e76\u53d1\u8bbf\u95ee&#xff0c;\u517c\u987e\u6210\u672c\u4e0e\u5b9e\u7528\u6027&#xff0c;\u786c\u4ef6\u603b\u6210\u672c\u63a7\u5236\u57281-2\u4e07\u5143\u3002<\/p>\n<p>\u9ad8\u914d\u65b9\u6848\u9762\u5411\u4f01\u4e1a\u7ea7\u9ad8\u5e76\u53d1\u573a\u666f&#xff0c;\u9700\u91c7\u7528\u591aGPU\u96c6\u7fa4&#xff0c;\u63a8\u8350NVIDIA A100&#xff08;80G\u663e\u5b58&#xff09;\u6216H100&#xff08;80G\u663e\u5b58&#xff09;\u7ec4\u5efa\u96c6\u7fa4&#xff0c;\u642d\u914d\u9ad8\u6027\u80fdCPU\u4e0e\u5927\u5bb9\u91cf\u5185\u5b58\u3002\u6b64\u7c7b\u65b9\u6848\u53ef\u652f\u649134B&#043;\u5927\u6a21\u578b\u7684\u5206\u5e03\u5f0f\u90e8\u7f72&#xff0c;\u63a8\u7406\u901f\u5ea6\u5feb\u3001\u5e76\u53d1\u80fd\u529b\u5f3a&#xff0c;\u9002\u5408\u5927\u89c4\u6a21\u6587\u672c\u751f\u6210\u3001\u667a\u80fd\u5ba2\u670d\u7b49\u573a\u666f&#xff0c;\u4f46\u786c\u4ef6\u6210\u672c\u8f83\u9ad8&#xff08;\u6570\u5341\u4e07\u5143\u7ea7\u522b&#xff09;&#xff0c;\u4ec5\u5efa\u8bae\u6709\u6838\u5fc3\u4e1a\u52a1\u9700\u6c42\u7684\u4f01\u4e1a\u9009\u62e9\u3002<\/p>\n<p>\u786c\u4ef6\u9009\u578b\u6838\u5fc3\u907f\u5751\u70b9&#xff1a;\u53c2\u6570\u4f18\u5148\u7ea7\u4e3a\u663e\u5b58&#xff1e;\u7b97\u529b&#xff1e;CPU\u6838\u5fc3\u6570&#xff1e;\u5185\u5b58\u3002\u5927\u6a21\u578b\u63a8\u7406\u5bf9\u663e\u5b58\u9700\u6c42\u6781\u9ad8&#xff0c;\u663e\u5b58\u4e0d\u8db3\u4f1a\u76f4\u63a5\u5bfc\u81f4\u90e8\u7f72\u5931\u8d25&#xff0c;\u82e5\u663e\u5b58\u7d27\u5f20\u53ef\u4f18\u5148\u9009\u62e9\u91cf\u5316\u6a21\u578b&#xff1b;\u7b97\u529b\u51b3\u5b9a\u63a8\u7406\u901f\u5ea6&#xff0c;CPU\u4e3b\u8981\u8d1f\u8d23\u8f85\u52a9\u8ba1\u7b97&#xff0c;\u65e0\u9700\u76f2\u76ee\u8ffd\u6c42\u9ad8\u7aefCPU\u3002<\/p>\n<h4>2.2 \u8f6f\u4ef6\u73af\u5883&#xff1a;\u8f7b\u91cf\u5316&#043;\u6613\u7ef4\u62a4\u7ec4\u5408&#xff08;\u5168\u5f00\u6e90\u5de5\u5177\u94fe&#xff09;<\/h4>\n<p>\u8f6f\u4ef6\u73af\u5883\u642d\u5efa\u7684\u6838\u5fc3\u662f\u201c\u8f7b\u91cf\u5316\u3001\u6613\u7ef4\u62a4\u3001\u5168\u5f00\u6e90\u201d&#xff0c;\u907f\u514d\u4f7f\u7528\u5546\u7528\u5de5\u5177\u589e\u52a0\u6210\u672c&#xff0c;\u540c\u65f6\u964d\u4f4e\u540e\u7eed\u8fd0\u7ef4\u96be\u5ea6\u3002<\/p>\n<p>\u64cd\u4f5c\u7cfb\u7edf\u9009\u578b\u9700\u6743\u8861\u7a33\u5b9a\u6027\u4e0e\u6613\u7528\u6027&#xff1a;CentOS\u7cfb\u7edf\u7a33\u5b9a\u6027\u5f3a\u3001\u8d44\u6e90\u5360\u7528\u4f4e&#xff0c;\u9002\u5408\u751f\u4ea7\u73af\u5883\u957f\u671f\u8fd0\u884c&#xff0c;\u662f\u4f01\u4e1a\u7ea7\u90e8\u7f72\u7684\u9996\u9009&#xff1b;Windows Server\u7cfb\u7edf\u56fe\u5f62\u754c\u9762\u53cb\u597d\u3001\u64cd\u4f5c\u7b80\u5355&#xff0c;\u9002\u5408\u65b0\u624b\u6216\u4e2a\u4eba\u5f00\u53d1\u8005&#xff0c;\u65e0\u9700\u590d\u6742\u7684\u547d\u4ee4\u884c\u64cd\u4f5c&#xff0c;\u4f46\u8d44\u6e90\u5360\u7528\u76f8\u5bf9\u8f83\u9ad8&#xff0c;\u7a33\u5b9a\u6027\u7565\u900a\u4e8eCentOS\u3002<\/p>\n<p>\u6838\u5fc3\u4f9d\u8d56\u914d\u7f6e\u662fGPU\u52a0\u901f\u7684\u5173\u952e&#xff0c;\u9700\u4e25\u683c\u5339\u914d\u7248\u672c\u3002\u9996\u5148\u5b89\u88c5Python 3.8-3.10\u7248\u672c&#xff08;\u8fc7\u9ad8\u6216\u8fc7\u4f4e\u7248\u672c\u53ef\u80fd\u5bfc\u81f4\u4f9d\u8d56\u51b2\u7a81&#xff09;&#xff0c;\u518d\u5b89\u88c5\u5bf9\u5e94GPU\u578b\u53f7\u7684CUDA\u4e0eCuDNN&#xff0c;\u4e8c\u8005\u7248\u672c\u9700\u4e0ePyTorch\u517c\u5bb9&#xff08;\u53ef\u53c2\u8003PyTorch\u5b98\u7f51\u63a8\u8350\u7248\u672c&#xff09;\u3002\u82e5\u4ec5\u4f7f\u7528CPU\u63a8\u7406&#xff0c;\u53ef\u8df3\u8fc7CUDA\/CuDNN\u5b89\u88c5&#xff0c;\u4f46\u63a8\u7406\u901f\u5ea6\u4f1a\u5927\u5e45\u4e0b\u964d\u3002<\/p>\n<p>\u5de5\u5177\u94fe\u63a8\u8350\u65b0\u624b\u4f18\u5148\u9009\u62e9Docker\u5bb9\u5668\u5316\u90e8\u7f72&#xff0c;\u901a\u8fc7\u9884\u914d\u7f6e\u955c\u50cf\u53ef\u4e00\u952e\u642d\u5efa\u73af\u5883&#xff0c;\u907f\u514d\u4f9d\u8d56\u51b2\u7a81&#xff0c;\u4e14\u4fbf\u4e8e\u7248\u672c\u7ba1\u7406\u4e0e\u8fc1\u79fb&#xff1b;\u8fdb\u9636\u7528\u6237\u53ef\u9009\u62e9\u539f\u751f\u73af\u5883\u90e8\u7f72&#xff0c;\u8d44\u6e90\u5360\u7528\u66f4\u4f4e\u3001\u7075\u6d3b\u6027\u66f4\u5f3a&#xff0c;\u4f46\u9700\u624b\u52a8\u89e3\u51b3\u4f9d\u8d56\u51b2\u7a81&#xff0c;\u5bf9\u6280\u672f\u80fd\u529b\u8981\u6c42\u8f83\u9ad8\u3002Docker Compose\u53ef\u5b9e\u73b0\u591a\u5bb9\u5668\u7f16\u6392&#xff0c;\u9002\u5408\u9700\u8981\u540c\u65f6\u90e8\u7f72\u6a21\u578b\u670d\u52a1\u4e0eWeb UI\u7684\u573a\u666f\u3002<\/p>\n<h4>2.3 \u6a21\u578b\u9009\u578b&#xff1a;\u9009\u5bf9\u6a21\u578b&#061;\u6210\u529f\u4e00\u534a&#xff08;\u672c\u5730\u5316\u53cb\u597d\u578b\u4f18\u5148&#xff09;<\/h4>\n<p>\u6a21\u578b\u9009\u578b\u76f4\u63a5\u5f71\u54cd\u90e8\u7f72\u96be\u5ea6\u3001\u786c\u4ef6\u9700\u6c42\u4e0e\u4f7f\u7528\u6548\u679c&#xff0c;\u672c\u5730\u5316\u90e8\u7f72\u9700\u4f18\u5148\u9009\u62e9\u201c\u8f7b\u91cf\u5316\u3001\u5f00\u6e90\u3001\u91cf\u5316\u53cb\u597d\u201d\u7684\u6a21\u578b&#xff0c;\u907f\u514d\u9009\u62e9\u53c2\u6570\u8fc7\u5927\u3001\u95ed\u6e90\u7684\u6a21\u578b\u3002<\/p>\n<p>\u6a21\u578b\u53c2\u6570\u5efa\u8bae\u9009\u62e97B\/13B\u91cf\u7ea7&#xff0c;\u6b64\u7c7b\u6a21\u578b\u5e73\u8861\u4e86\u6548\u679c\u4e0e\u786c\u4ef6\u9700\u6c42&#xff0c;\u662f\u672c\u5730\u5316\u90e8\u7f72\u7684\u4e3b\u6d41\u9009\u62e9\u3002\u63a8\u8350\u6a21\u578b\u5305\u62ecQwen-7B\/13B&#xff08;\u963f\u91cc\u4e91\u5f00\u6e90&#xff0c;\u4e2d\u6587\u6548\u679c\u4f18\u79c0&#xff09;\u3001Baichuan-7B\/13B&#xff08;\u5b57\u8282\u8df3\u52a8\u5f00\u6e90&#xff0c;\u9002\u914d\u4e2d\u6587\u573a\u666f&#xff09;\u3001Llama 2-7B\/13B&#xff08;Meta\u5f00\u6e90&#xff0c;\u82f1\u6587\u6548\u679c\u51fa\u8272&#xff0c;\u652f\u6301\u5546\u7528&#xff09;\u3001\u901a\u4e49\u5343\u95ee\u5f00\u6e90\u7248&#xff08;\u963f\u91cc\u5f00\u6e90&#xff0c;\u4e2d\u6587\u7406\u89e3\u80fd\u529b\u5f3a&#xff09;\u3002<\/p>\n<p>\u91cf\u5316\u7248\u672c\u4f18\u5148\u9009\u62e9INT4\/INT8\u91cf\u5316\u6a21\u578b&#xff0c;\u6b64\u7c7b\u6a21\u578b\u901a\u8fc7\u727a\u7272\u5c11\u91cf\u6548\u679c&#xff08;\u8089\u773c\u96be\u4ee5\u5bdf\u89c9&#xff09;&#xff0c;\u5c06\u663e\u5b58\u5360\u7528\u51cf\u5c1150%-70%&#xff0c;\u4f8b\u598213B\u6a21\u578b\u539f\u751f\u7248\u672c\u9700\u7ea640G\u663e\u5b58&#xff0c;INT4\u91cf\u5316\u540e\u4ec5\u970010G\u5de6\u53f3\u663e\u5b58&#xff0c;\u53ef\u5927\u5e45\u964d\u4f4e\u786c\u4ef6\u95e8\u69db\u3002\u91cf\u5316\u6a21\u578b\u53ef\u76f4\u63a5\u4ece\u5f00\u6e90\u793e\u533a\u4e0b\u8f7d&#xff0c;\u65e0\u9700\u81ea\u884c\u91cf\u5316&#xff08;\u65b0\u624b\u4e0d\u5efa\u8bae\u624b\u52a8\u91cf\u5316&#xff0c;\u64cd\u4f5c\u590d\u6742\u4e14\u6613\u51fa\u9519&#xff09;\u3002<\/p>\n<p>\u6a21\u578b\u4e0b\u8f7d\u9700\u9009\u62e9\u9760\u8c31\u6e20\u9053&#xff0c;\u4f18\u5148\u4eceHugging Face\u5f00\u6e90\u793e\u533a\u4e0b\u8f7d&#xff08;\u6a21\u578b\u8d44\u6e90\u6700\u5168&#xff09;&#xff0c;\u4f46\u56fd\u5185\u4e0b\u8f7d\u901f\u5ea6\u8f83\u6162&#xff0c;\u53ef\u901a\u8fc7\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u7b49\u56fd\u5185\u955c\u50cf\u7ad9\u52a0\u901f\u4e0b\u8f7d&#xff0c;\u4e0b\u8f7d\u540e\u9700\u6821\u9a8c\u6587\u4ef6\u5b8c\u6574\u6027&#xff08;\u907f\u514d\u6a21\u578b\u6587\u4ef6\u635f\u574f\u5bfc\u81f4\u90e8\u7f72\u5931\u8d25&#xff09;\u3002\u90e8\u5206\u6a21\u578b\u9700\u7533\u8bf7\u6388\u6743&#xff08;\u5982Llama 2&#xff09;&#xff0c;\u9700\u63d0\u524d\u5728\u5b98\u7f51\u5b8c\u6210\u7533\u8bf7\u6d41\u7a0b\u3002<\/p>\n<h3>\u4e09\u3001\u5b9e\u6218\u90e8\u7f72\u6b65\u9aa4&#xff1a;\u5206\u573a\u666f\u843d\u5730&#xff08;\u65b0\u624b\/\u8fdb\u9636\u5168\u8986\u76d6&#xff09;<\/h3>\n<p>\u672c\u6587\u63d0\u4f9b\u4e24\u79cd\u90e8\u7f72\u8def\u7ebf&#xff0c;\u65b0\u624b\u4f18\u5148\u9009\u62e9\u5bb9\u5668\u5316\u90e8\u7f72&#xff08;\u6781\u7b80\u3001\u907f\u5751&#xff09;&#xff0c;\u8fdb\u9636\u7528\u6237\u53ef\u9009\u62e9\u539f\u751f\u73af\u5883\u90e8\u7f72&#xff08;\u7075\u6d3b\u3001\u9ad8\u6548&#xff09;&#xff0c;\u4e24\u79cd\u8def\u7ebf\u5747\u57fa\u4e8e\u5168\u5f00\u6e90\u5de5\u5177\u94fe\u5b9e\u73b0\u3002<\/p>\n<h4>3.1 \u5bb9\u5668\u5316\u90e8\u7f72&#xff08;\u65b0\u624b\u6781\u7b80\u8def\u7ebf&#xff09;<\/h4>\n<p>\u5bb9\u5668\u5316\u90e8\u7f72\u901a\u8fc7\u9884\u914d\u7f6e\u955c\u50cf\u89c4\u907f\u4f9d\u8d56\u51b2\u7a81&#xff0c;\u6b65\u9aa4\u7b80\u6d01&#xff0c;\u65b0\u624b\u53ef\u57281\u5c0f\u65f6\u5185\u5b8c\u6210\u90e8\u7f72\u3002<\/p>\n<p>\u6b65\u9aa41&#xff1a;\u955c\u50cf\u51c6\u5907\u3002\u53ef\u76f4\u63a5\u4eceDocker Hub\u62c9\u53d6\u9884\u914d\u7f6e\u955c\u50cf&#xff08;\u5982\u5305\u542bvLLM\u6846\u67b6\u3001Qwen\u6a21\u578b\u73af\u5883\u7684\u955c\u50cf&#xff09;&#xff0c;\u4e5f\u53ef\u6839\u636e\u9700\u6c42\u81ea\u5b9a\u4e49Dockerfile\u6784\u5efa\u955c\u50cf&#xff08;\u9002\u5408\u7279\u6b8a\u914d\u7f6e\u9700\u6c42&#xff09;\u3002\u81ea\u5b9a\u4e49Dockerfile\u9700\u5305\u542b\u57fa\u7840\u955c\u50cf\u3001\u4f9d\u8d56\u5b89\u88c5\u3001\u6a21\u578b\u8def\u5f84\u914d\u7f6e\u7b49\u6b65\u9aa4&#xff0c;\u6784\u5efa\u5b8c\u6210\u540e\u63a8\u9001\u81f3\u672c\u5730\u955c\u50cf\u4ed3\u5e93\u3002<\/p>\n<p>\u6b65\u9aa42&#xff1a;\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u3002\u6838\u5fc3\u914d\u7f6e\u5305\u62ec\u6a21\u578b\u8def\u5f84&#xff08;\u672c\u5730\u6a21\u578b\u6587\u4ef6\u5b58\u50a8\u8def\u5f84&#xff0c;\u9700\u6620\u5c04\u81f3\u5bb9\u5668\u5185\u8def\u5f84&#xff09;\u3001\u63a8\u7406\u7aef\u53e3&#xff08;\u59828000\u7aef\u53e3&#xff0c;\u907f\u514d\u4e0e\u5176\u4ed6\u670d\u52a1\u51b2\u7a81&#xff09;\u3001\u5e76\u53d1\u6570\u9650\u5236&#xff08;\u6839\u636e\u786c\u4ef6\u6027\u80fd\u8bbe\u7f6e&#xff0c;\u907f\u514d\u8fc7\u8f7d&#xff09;\u3001\u65e5\u5fd7\u5b58\u50a8\u8def\u5f84\u7b49\u3002\u914d\u7f6e\u6587\u4ef6\u683c\u5f0f\u591a\u4e3aYAML\u6216JSON&#xff0c;\u4fee\u6539\u540e\u9700\u68c0\u67e5\u8bed\u6cd5\u6b63\u786e\u6027\u3002<\/p>\n<p>\u6b65\u9aa43&#xff1a;\u542f\u52a8\u5bb9\u5668\u5e76\u9a8c\u8bc1\u670d\u52a1\u3002\u6267\u884cDocker run\u547d\u4ee4\u542f\u52a8\u5bb9\u5668&#xff0c;\u6620\u5c04\u7aef\u53e3\u4e0e\u6587\u4ef6\u8def\u5f84&#xff0c;\u542f\u52a8\u540e\u901a\u8fc7curl\u547d\u4ee4\u6216Postman\u8c03\u7528API\u63a5\u53e3\u6d4b\u8bd5&#xff08;\u5982\u53d1\u9001\u5bf9\u8bdd\u8bf7\u6c42&#xff0c;\u67e5\u770b\u8fd4\u56de\u7ed3\u679c&#xff09;&#xff0c;\u540c\u65f6\u901a\u8fc7Web UI\u8bbf\u95ee\u9a8c\u8bc1\u53ef\u89c6\u5316\u6548\u679c\u3002\u82e5\u542f\u52a8\u5931\u8d25&#xff0c;\u53ef\u67e5\u770b\u5bb9\u5668\u65e5\u5fd7\u6392\u67e5\u95ee\u9898&#xff08;\u5e38\u89c1\u95ee\u9898\u4e3a\u8def\u5f84\u6620\u5c04\u9519\u8bef\u3001\u7aef\u53e3\u5360\u7528&#xff09;\u3002<\/p>\n<p>\u6b65\u9aa44&#xff1a;\u8fd0\u7ef4\u914d\u7f6e\u3002\u4e3a\u907f\u514d\u5bb9\u5668\u505c\u6b62\u540e\u670d\u52a1\u4e2d\u65ad&#xff0c;\u9700\u914d\u7f6e\u670d\u52a1\u5e38\u9a7b\u4e0e\u5f00\u673a\u81ea\u542f\u3002\u53ef\u901a\u8fc7Docker Compose\u8bbe\u7f6erestart: always\u53c2\u6570&#xff0c;\u5b9e\u73b0\u5bb9\u5668\u5f02\u5e38\u505c\u6b62\u540e\u81ea\u52a8\u91cd\u542f&#xff1b;\u4e5f\u53ef\u901a\u8fc7systemd\u914d\u7f6e\u670d\u52a1&#xff0c;\u5b9e\u73b0\u5f00\u673a\u81ea\u542f\u4e0e\u72b6\u6001\u76d1\u63a7\u3002<\/p>\n<h4>3.2 \u539f\u751f\u73af\u5883\u90e8\u7f72&#xff08;\u8fdb\u9636\u7075\u6d3b\u8def\u7ebf&#xff09;<\/h4>\n<p>\u539f\u751f\u73af\u5883\u90e8\u7f72\u7075\u6d3b\u6027\u5f3a&#xff0c;\u8d44\u6e90\u5360\u7528\u4f4e&#xff0c;\u9002\u5408\u9700\u8981\u81ea\u5b9a\u4e49\u6846\u67b6\u3001\u4f18\u5316\u53c2\u6570\u7684\u8fdb\u9636\u7528\u6237\u3002<\/p>\n<p>\u6b65\u9aa41&#xff1a;\u6a21\u578b\u6574\u7406\u3002\u5c06\u4e0b\u8f7d\u7684\u6a21\u578b\u6587\u4ef6\u89e3\u538b&#xff0c;\u6309\u89c4\u8303\u6574\u7406\u76ee\u5f55\u7ed3\u6784&#xff08;\u5982\u6a21\u578b\u6743\u91cd\u6587\u4ef6\u3001\u914d\u7f6e\u6587\u4ef6\u3001tokenizer\u6587\u4ef6\u5206\u7c7b\u5b58\u653e&#xff09;&#xff0c;\u5efa\u8bae\u5efa\u7acb\u7edf\u4e00\u7684\u6a21\u578b\u4ed3\u5e93\u76ee\u5f55&#xff0c;\u4fbf\u4e8e\u540e\u7eed\u591a\u6a21\u578b\u5207\u6362\u7ba1\u7406\u3002<\/p>\n<p>\u6b65\u9aa42&#xff1a;\u63a8\u7406\u6846\u67b6\u90e8\u7f72\u3002\u5bf9\u6bd4\u4e3b\u6d41\u63a8\u7406\u6846\u67b6&#xff0c;Transformers\u901a\u7528\u6027\u5f3a\u3001\u9002\u914d\u6a21\u578b\u591a&#xff0c;\u4f46\u541e\u5410\u91cf\u8f83\u4f4e&#xff1b;vLLM\u541e\u5410\u91cf\u9ad8&#xff0c;\u63a8\u7406\u901f\u5ea6\u5feb&#xff0c;\u662f\u672c\u5730\u5316\u90e8\u7f72\u7684\u9996\u9009&#xff1b;FastChat\u652f\u6301\u591a\u6a21\u578b\u5e76\u53d1&#xff0c;\u9002\u5408\u9700\u8981\u540c\u65f6\u90e8\u7f72\u591a\u4e2a\u6a21\u578b\u7684\u573a\u666f\u3002\u4ee5vLLM\u4e3a\u4f8b&#xff0c;\u901a\u8fc7pip\u5b89\u88c5\u540e&#xff0c;\u914d\u7f6e\u6a21\u578b\u8def\u5f84\u3001\u7aef\u53e3\u7b49\u53c2\u6570\u5373\u53ef\u542f\u52a8\u670d\u52a1\u3002<\/p>\n<p>\u6b65\u9aa43&#xff1a;\u542f\u52a8\u63a8\u7406\u670d\u52a1\u3002\u901a\u8fc7\u547d\u4ee4\u884c\u6267\u884c\u542f\u52a8\u547d\u4ee4&#xff0c;\u8bbe\u7f6e\u5173\u952e\u53c2\u6570&#xff08;\u5982&#8211;tensor-parallel-size\u6307\u5b9aGPU\u6570\u91cf\u3001&#8211;max-num-batched-tokens\u8bbe\u7f6e\u6279\u91cf\u5904\u7406\u4ee4\u724c\u6570&#xff09;&#xff0c;\u542f\u52a8\u540e\u5b9e\u65f6\u67e5\u770b\u65e5\u5fd7&#xff0c;\u76d1\u63a7\u670d\u52a1\u8fd0\u884c\u72b6\u6001\u3002\u82e5\u51fa\u73b0\u663e\u5b58\u4e0d\u8db3\u3001\u4f9d\u8d56\u7f3a\u5931\u7b49\u95ee\u9898&#xff0c;\u9700\u9488\u5bf9\u6027\u4f18\u5316\u53c2\u6570\u6216\u8865\u5145\u4f9d\u8d56\u3002<\/p>\n<p>\u6b65\u9aa44&#xff1a;Web UI\u90e8\u7f72\u3002\u4e3a\u63d0\u5347\u4f7f\u7528\u4f53\u9a8c&#xff0c;\u53ef\u5bf9\u63a5ChatGLM-WebUI\u3001Llama-WebUI\u7b49\u53ef\u89c6\u5316\u754c\u9762&#xff0c;\u901a\u8fc7\u4fee\u6539Web UI\u914d\u7f6e\u6587\u4ef6\u5173\u8054\u63a8\u7406\u670d\u52a1\u5730\u5740&#xff0c;\u90e8\u7f72\u5b8c\u6210\u540e\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee&#xff0c;\u5b9e\u73b0\u56fe\u5f62\u5316\u5bf9\u8bdd\u3001\u6587\u672c\u751f\u6210\u7b49\u64cd\u4f5c&#xff0c;\u540c\u65f6\u53ef\u81ea\u5b9a\u4e49\u754c\u9762\u6837\u5f0f\u3001\u529f\u80fd\u6a21\u5757\u3002<\/p>\n<h3>\u56db\u3001\u670d\u52a1\u5668\u6027\u80fd\u8c03\u4f18&#xff1a;\u7a81\u7834\u74f6\u9888&#xff0c;\u6781\u81f4\u589e\u6548<\/h3>\n<p>\u90e8\u7f72\u5b8c\u6210\u540e&#xff0c;\u591a\u6570\u573a\u666f\u4f1a\u5b58\u5728\u63a8\u7406\u901f\u5ea6\u6162\u3001\u5e76\u53d1\u80fd\u529b\u5f31\u7b49\u95ee\u9898&#xff0c;\u9700\u901a\u8fc7\u786c\u4ef6\u3001\u8f6f\u4ef6\u3001\u5e76\u53d1\u4e09\u4e2a\u5c42\u9762\u8c03\u4f18&#xff0c;\u69a8\u5e72\u786c\u4ef6\u6f5c\u80fd&#xff0c;\u63d0\u5347\u670d\u52a1\u6027\u80fd\u3002<\/p>\n<h4>4.1 \u786c\u4ef6\u5c42\u9762\u8c03\u4f18&#xff08;\u69a8\u5e72\u786c\u4ef6\u6f5c\u80fd&#xff09;<\/h4>\n<p>\u786c\u4ef6\u8c03\u4f18\u65e0\u9700\u65b0\u589e\u6295\u5165&#xff0c;\u901a\u8fc7\u8c03\u6574\u786c\u4ef6\u8fd0\u884c\u53c2\u6570\u5373\u53ef\u63d0\u5347\u6027\u80fd\u3002CPU\u8c03\u4f18\u65b9\u9762&#xff0c;\u53ef\u901a\u8fc7\u591a\u6838\u7ed1\u5b9a\u5c06\u6a21\u578b\u8fdb\u7a0b\u7ed1\u5b9a\u81f3\u6307\u5b9aCPU\u6838\u5fc3&#xff0c;\u907f\u514d\u8fdb\u7a0b\u5728\u591a\u6838\u5fc3\u95f4\u5207\u6362\u6d88\u8017\u8d44\u6e90&#xff1b;\u5173\u95ed\u8d85\u7ebf\u7a0b&#xff08;\u90e8\u5206\u573a\u666f\u4e0b\u53ef\u51cf\u5c11\u8d44\u6e90\u62a2\u5360&#xff09;&#xff0c;\u540c\u65f6\u901a\u8fc7nice\u547d\u4ee4\u63d0\u9ad8\u6a21\u578b\u8fdb\u7a0b\u4f18\u5148\u7ea7&#xff0c;\u786e\u4fdd\u6838\u5fc3\u8d44\u6e90\u5411\u6a21\u578b\u670d\u52a1\u503e\u659c\u3002<\/p>\n<p>GPU\u8c03\u4f18\u662f\u6838\u5fc3&#xff0c;\u9700\u5b9a\u671f\u6e05\u7406\u663e\u5b58\u788e\u7247&#xff08;\u53ef\u901a\u8fc7\u91cd\u542f\u670d\u52a1\u6216\u4e13\u7528\u5de5\u5177\u6e05\u7406&#xff09;&#xff0c;\u907f\u514d\u663e\u5b58\u788e\u7247\u5360\u7528\u6709\u6548\u7a7a\u95f4&#xff1b;\u6839\u636e\u573a\u666f\u5207\u6362GPU\u529f\u8017\u6a21\u5f0f&#xff0c;\u6027\u80fd\u6a21\u5f0f\u4e0b\u63a8\u7406\u901f\u5ea6\u66f4\u5feb&#xff0c;\u4f46\u529f\u8017\u66f4\u9ad8&#xff0c;\u9002\u5408\u9ad8\u5e76\u53d1\u573a\u666f&#xff0c;\u5e73\u8861\u6a21\u5f0f\u4e0b\u529f\u8017\u8f83\u4f4e&#xff0c;\u9002\u5408\u65e5\u5e38\u4f7f\u7528&#xff1b;\u591aGPU\u90e8\u7f72\u65f6&#xff0c;\u901a\u8fc7\u8d1f\u8f7d\u5747\u8861\u914d\u7f6e\u8ba9\u5404GPU\u8d44\u6e90\u5229\u7528\u7387\u5747\u5300&#xff0c;\u907f\u514d\u5355GPU\u8fc7\u8f7d\u3002<\/p>\n<p>\u5185\u5b58\u4e0e\u5b58\u50a8\u8c03\u4f18\u65b9\u9762&#xff0c;\u82e5\u5185\u5b58\u4e0d\u8db3\u53ef\u589e\u5927\u4ea4\u6362\u5206\u533a&#xff08;\u5c06\u90e8\u5206SSD\u7a7a\u95f4\u4f5c\u4e3a\u865a\u62df\u5185\u5b58&#xff09;&#xff0c;\u4f46\u9700\u6ce8\u610f\u4ea4\u6362\u5206\u533a\u901f\u5ea6\u8fdc\u4f4e\u4e8e\u7269\u7406\u5185\u5b58&#xff0c;\u4ec5\u4f5c\u4e3a\u5e94\u6025\u65b9\u6848&#xff1b;\u5c06\u6a21\u578b\u6587\u4ef6\u3001\u65e5\u5fd7\u6587\u4ef6\u5b58\u50a8\u5728SSD\u4e0a&#xff0c;\u63d0\u5347\u6587\u4ef6\u8bfb\u53d6\u4e0e\u5199\u5165\u901f\u5ea6&#xff1b;\u5173\u95ed\u65e0\u5173\u540e\u53f0\u8fdb\u7a0b&#xff08;\u5982\u6740\u6bd2\u8f6f\u4ef6\u3001\u5197\u4f59\u670d\u52a1&#xff09;&#xff0c;\u91ca\u653e\u5185\u5b58\u4e0eCPU\u8d44\u6e90\u3002<\/p>\n<h4>4.2 \u8f6f\u4ef6\u5c42\u9762\u8c03\u4f18&#xff08;\u6838\u5fc3\u63d0\u901f\u6280\u5de7&#xff09;<\/h4>\n<p>\u8f6f\u4ef6\u8c03\u4f18\u662f\u63d0\u5347\u63a8\u7406\u901f\u5ea6\u7684\u5173\u952e&#xff0c;\u901a\u8fc7\u6280\u672f\u624b\u6bb5\u53ef\u5728\u4e0d\u5347\u7ea7\u786c\u4ef6\u7684\u60c5\u51b5\u4e0b\u5927\u5e45\u63d0\u5347\u6027\u80fd\u3002\u6a21\u578b\u91cf\u5316\u52a0\u901f\u65b9\u9762&#xff0c;\u82e5\u672a\u4f7f\u7528\u91cf\u5316\u6a21\u578b&#xff0c;\u53ef\u901a\u8fc7GPTQ\/AWQ\u91cf\u5316\u6280\u672f\u5bf9\u539f\u751f\u6a21\u578b\u8fdb\u884c\u91cf\u5316&#xff0c;GPTQ\u91cf\u5316\u9002\u5408GPU\u63a8\u7406&#xff0c;AWQ\u91cf\u5316\u901f\u5ea6\u66f4\u5feb\u3001\u663e\u5b58\u5360\u7528\u66f4\u4f4e&#xff0c;\u91cf\u5316\u8fc7\u7a0b\u53ef\u501f\u52a9\u5f00\u6e90\u5de5\u5177&#xff08;\u5982AutoGPTQ&#xff09;\u5b9e\u73b0&#xff0c;\u64cd\u4f5c\u7b80\u5355\u4e14\u6548\u679c\u7a33\u5b9a\u3002<\/p>\n<p>\u63a8\u7406\u6846\u67b6\u4f18\u5316\u5efa\u8bae\u4f18\u5148\u4f7f\u7528vLLM\u66ff\u4ee3\u539f\u751fTransformers&#xff0c;vLLM\u901a\u8fc7PagedAttention\u6280\u672f\u4f18\u5316\u663e\u5b58\u4f7f\u7528&#xff0c;\u541e\u5410\u91cf\u53ef\u63d0\u53472-5\u500d&#xff0c;\u540c\u65f6\u652f\u6301\u52a8\u6001\u6279\u5904\u7406&#xff0c;\u8fdb\u4e00\u6b65\u63d0\u5347\u5e76\u53d1\u80fd\u529b\u3002\u4f7f\u7528vLLM\u65f6&#xff0c;\u5408\u7406\u8bbe\u7f6ebatch size\u53c2\u6570&#xff0c;\u517c\u987e\u63a8\u7406\u901f\u5ea6\u4e0e\u663e\u5b58\u5360\u7528\u3002<\/p>\n<p>\u5173\u952e\u53c2\u6570\u8c03\u4f18\u9700\u6839\u636e\u786c\u4ef6\u6027\u80fd\u4e0e\u4f7f\u7528\u573a\u666f\u8c03\u6574&#xff1a;batch size\u8bbe\u7f6e\u8fc7\u5927\u6613\u5bfc\u81f4\u663e\u5b58\u4e0d\u8db3&#xff0c;\u8fc7\u5c0f\u5219\u65e0\u6cd5\u5145\u5206\u5229\u7528\u786c\u4ef6\u8d44\u6e90&#xff0c;\u5efa\u8bae\u4ece2-4\u5f00\u59cb\u9010\u6b65\u6d4b\u8bd5&#xff0c;\u627e\u5230\u6700\u4f73\u503c&#xff1b;max_new_tokens\u51b3\u5b9a\u751f\u6210\u6587\u672c\u7684\u6700\u5927\u957f\u5ea6&#xff0c;\u8bbe\u7f6e\u8fc7\u5927\u4f1a\u589e\u52a0\u63a8\u7406\u65f6\u95f4&#xff0c;\u9700\u6839\u636e\u9700\u6c42\u5408\u7406\u9650\u5236&#xff1b;temperature\u63a7\u5236\u751f\u6210\u6587\u672c\u7684\u968f\u673a\u6027&#xff0c;\u5bf9\u63a8\u7406\u901f\u5ea6\u5f71\u54cd\u8f83\u5c0f&#xff0c;\u53ef\u6839\u636e\u4f7f\u7528\u573a\u666f\u8c03\u6574\u3002<\/p>\n<h4>4.3 \u5e76\u53d1\u8bf7\u6c42\u4f18\u5316&#xff08;\u5e94\u5bf9\u591a\u7528\u6237\u573a\u666f&#xff09;<\/h4>\n<p>\u5f53\u5b58\u5728\u591a\u7528\u6237\u540c\u65f6\u8bbf\u95ee\u65f6&#xff0c;\u9700\u901a\u8fc7\u8d1f\u8f7d\u5747\u8861\u4e0e\u8fde\u63a5\u6c60\u4f18\u5316\u907f\u514d\u670d\u52a1\u5668\u8fc7\u8f7d\u3002\u8d1f\u8f7d\u5747\u8861\u53ef\u901a\u8fc7Nginx\u53cd\u5411\u4ee3\u7406\u5b9e\u73b0&#xff0c;\u5c06\u591a\u7528\u6237\u8bf7\u6c42\u5206\u6d41\u81f3\u4e0d\u540c\u7684\u6a21\u578b\u670d\u52a1\u5b9e\u4f8b&#xff0c;\u540c\u65f6\u8bbe\u7f6e\u8bf7\u6c42\u961f\u5217&#xff0c;\u907f\u514d\u77ac\u95f4\u9ad8\u5e76\u53d1\u5bfc\u81f4\u670d\u52a1\u5d29\u6e83&#xff1b;\u82e5\u90e8\u7f72\u591aGPU\u96c6\u7fa4&#xff0c;\u53ef\u901a\u8fc7\u8d1f\u8f7d\u5747\u8861\u5de5\u5177\u8ba9\u5404GPU\u5747\u5300\u627f\u63a5\u8bf7\u6c42\u3002<\/p>\n<p>\u8fde\u63a5\u6c60\u4f18\u5316\u65b9\u9762&#xff0c;\u9650\u5236\u6700\u5927\u5e76\u53d1\u6570&#xff08;\u6839\u636e\u786c\u4ef6\u6027\u80fd\u8bbe\u7f6e&#xff0c;\u5982\u4e2d\u914d\u65b9\u6848\u5efa\u8bae\u6700\u5927\u5e76\u53d1\u6570\u22645&#xff09;&#xff0c;\u8d85\u8fc7\u9650\u5236\u7684\u8bf7\u6c42\u8fdb\u5165\u961f\u5217\u7b49\u5f85&#xff0c;\u907f\u514d\u670d\u52a1\u5668\u8d44\u6e90\u8017\u5c3d&#xff1b;\u8bbe\u7f6e\u8fde\u63a5\u8d85\u65f6\u65f6\u95f4&#xff0c;\u53ca\u65f6\u91ca\u653e\u65e0\u6548\u8fde\u63a5&#xff0c;\u63d0\u5347\u8fde\u63a5\u6c60\u5229\u7528\u7387\u3002<\/p>\n<p>\u6027\u80fd\u76d1\u63a7\u662f\u8fd0\u7ef4\u7684\u6838\u5fc3&#xff0c;\u901a\u8fc7\u90e8\u7f72Prometheus&#043;Grafana\u5b9e\u65f6\u76d1\u63a7GPU\/CPU\/\u5185\u5b58\u4f7f\u7528\u7387\u3001\u63a8\u7406\u901f\u5ea6\u3001\u5e76\u53d1\u6570\u7b49\u6307\u6807&#xff0c;\u8bbe\u7f6e\u5f02\u5e38\u544a\u8b66&#xff08;\u5982GPU\u4f7f\u7528\u7387\u226590%\u3001\u5185\u5b58\u4e0d\u8db3\u65f6\u89e6\u53d1\u544a\u8b66&#xff09;&#xff0c;\u53ca\u65f6\u53d1\u73b0\u5e76\u89e3\u51b3\u6027\u80fd\u74f6\u9888\u3002\u540c\u65f6\u53ef\u901a\u8fc7\u65e5\u5fd7\u5206\u6790\u5de5\u5177&#xff08;\u5982ELK&#xff09;\u5206\u6790\u670d\u52a1\u65e5\u5fd7&#xff0c;\u5b9a\u4f4d\u63a8\u7406\u5ef6\u8fdf\u9ad8\u3001\u8bf7\u6c42\u5931\u8d25\u7b49\u95ee\u9898\u7684\u6839\u6e90\u3002<\/p>\n<h3>\u4e94\u3001\u4f4e\u6210\u672c\u843d\u5730\u6280\u5de7&#xff1a;\u82b1\u5c0f\u94b1\u529e\u5927\u4e8b<\/h3>\n<p>\u4f4e\u6210\u672c\u843d\u5730\u7684\u6838\u5fc3\u662f\u201c\u8d44\u6e90\u590d\u7528\u3001\u5f00\u6e90\u66ff\u4ee3\u3001\u7cbe\u51c6\u8c03\u5ea6\u201d&#xff0c;\u901a\u8fc7\u4ee5\u4e0b\u6280\u5de7\u53ef\u5927\u5e45\u964d\u4f4e\u90e8\u7f72\u4e0e\u8fd0\u7ef4\u6210\u672c&#xff0c;\u5b9e\u73b0\u6027\u4ef7\u6bd4\u6700\u5927\u5316\u3002<\/p>\n<h4>5.1 \u786c\u4ef6\u6210\u672c\u538b\u7f29&#xff08;\u62d2\u7edd\u76f2\u76ee\u91c7\u8d2d&#xff09;<\/h4>\n<p>\u65e7\u8bbe\u5907\u6539\u9020\u662f\u96f6\u65b0\u589e\u6210\u672c\u7684\u5173\u952e&#xff0c;\u4f01\u4e1a\u53ef\u5c06\u6dd8\u6c70\u7684\u65e7\u670d\u52a1\u5668\u3001\u529e\u516c\u7535\u8111\u5229\u65e7&#xff0c;\u901a\u8fc7\u5f00\u542f\u865a\u62df\u5316\u6280\u672f&#xff08;\u5982KVM\u3001VMware&#xff09;\u5b9e\u73b0\u8d44\u6e90\u590d\u7528&#xff0c;\u5355\u53f0\u670d\u52a1\u5668\u53ef\u90e8\u7f72\u591a\u4e2a\u6a21\u578b\u5b9e\u4f8b&#xff0c;\u5206\u65f6\u4e3a\u4e0d\u540c\u573a\u666f\u63d0\u4f9b\u670d\u52a1&#xff08;\u5982\u767d\u5929\u4e3a\u529e\u516c\u573a\u666f\u670d\u52a1&#xff0c;\u591c\u95f4\u4e3a\u7814\u53d1\u573a\u666f\u670d\u52a1&#xff09;\u3002<\/p>\n<p>\u4e91\u8fb9\u7ed3\u5408\u6a21\u5f0f\u9002\u5408\u9700\u6c42\u6ce2\u52a8\u8f83\u5927\u7684\u573a\u666f&#xff0c;\u6838\u5fc3\u670d\u52a1&#xff08;\u5982\u654f\u611f\u6570\u636e\u5904\u7406&#xff09;\u672c\u5730\u90e8\u7f72&#xff0c;\u975e\u6838\u5fc3\u670d\u52a1&#xff08;\u5982\u65e5\u5e38\u6587\u672c\u751f\u6210&#xff09;\u6309\u9700\u79df\u7528\u4e91\u670d\u52a1\u5668&#xff0c;\u91c7\u7528\u6309\u91cf\u4ed8\u8d39\u6a21\u5f0f&#xff0c;\u95f2\u65f6\u91ca\u653e\u8d44\u6e90&#xff0c;\u907f\u514d\u4e91\u670d\u52a1\u5668\u957f\u671f\u8fd0\u884c\u4ea7\u751f\u9ad8\u989d\u8d39\u7528\u3002\u8fb9\u7f18\u8bbe\u5907\u90e8\u7f72\u9002\u5408\u8f7b\u91cf\u573a\u666f&#xff0c;\u6811\u8393\u6d3e\u3001\u8fb9\u7f18\u8ba1\u7b97\u76d2\u5b50\u6210\u672c\u4f4e\u3001\u529f\u8017\u5c0f&#xff0c;\u53ef\u90e8\u7f72Phi-2\u3001MiniLM\u7b49\u8d85\u5c0f\u6a21\u578b&#xff0c;\u7528\u4e8e\u672c\u5730\u667a\u80fd\u52a9\u624b\u3001\u7b80\u5355\u6587\u672c\u5904\u7406\u7b49\u573a\u666f\u3002<\/p>\n<h4>5.2 \u8f6f\u4ef6\u6210\u672c\u5f52\u96f6&#xff08;\u5168\u5f00\u6e90\u66ff\u4ee3\u5546\u7528&#xff09;<\/h4>\n<p>\u5168\u6d41\u7a0b\u91c7\u7528\u5f00\u6e90\u5de5\u5177\u94fe&#xff0c;\u66ff\u4ee3\u5546\u7528\u90e8\u7f72\u670d\u52a1\u4e0e\u6a21\u578b&#xff0c;\u5b9e\u73b0\u8f6f\u4ef6\u6210\u672c\u5f52\u96f6\u3002\u63a8\u7406\u6846\u67b6\u4f7f\u7528vLLM\u3001Transformers\u7b49\u5f00\u6e90\u5de5\u5177&#xff0c;Web UI\u9009\u62e9ChatGLM-WebUI\u3001Llama-WebUI\u7b49\u5f00\u6e90\u9879\u76ee&#xff0c;\u76d1\u63a7\u5de5\u5177\u91c7\u7528Prometheus&#043;Grafana&#xff0c;\u5747\u65e0\u9700\u652f\u4ed8\u4efb\u4f55\u8d39\u7528\u3002<\/p>\n<p>\u6a21\u578b\u9009\u62e9\u5f00\u6e90\u514d\u8d39\u6a21\u578b&#xff0c;\u66ff\u4ee3\u5546\u7528\u5927\u6a21\u578b\u670d\u52a1&#xff08;\u5982GPT-4\u3001\u6587\u5fc3\u4e00\u8a00&#xff09;&#xff0c;\u591a\u6570\u5f00\u6e90\u6a21\u578b\u5728\u4e2d\u6587\u7406\u89e3\u3001\u6587\u672c\u751f\u6210\u7b49\u573a\u666f\u4e0b\u6548\u679c\u63a5\u8fd1\u5546\u7528\u6a21\u578b&#xff0c;\u4e14\u53ef\u672c\u5730\u5316\u90e8\u7f72&#xff0c;\u907f\u514d\u6309\u8c03\u7528\u91cf\u4ed8\u8d39\u4ea7\u751f\u7684\u9ad8\u989d\u6210\u672c\u3002\u540c\u65f6\u81ea\u5efa\u672c\u5730\u6a21\u578b\u4ed3\u5e93&#xff0c;\u7f13\u5b58\u5e38\u7528\u6a21\u578b\u6587\u4ef6&#xff0c;\u907f\u514d\u91cd\u590d\u4e0b\u8f7d&#xff0c;\u8282\u7701\u5e26\u5bbd\u6210\u672c\u4e0e\u65f6\u95f4\u6210\u672c\u3002<\/p>\n<h4>5.3 \u8d44\u6e90\u8c03\u5ea6\u4f18\u5316&#xff08;\u63d0\u5347\u8bbe\u5907\u5229\u7528\u7387&#xff09;<\/h4>\n<p>\u8d44\u6e90\u8c03\u5ea6\u4f18\u5316\u53ef\u63d0\u5347\u786c\u4ef6\u8bbe\u5907\u5229\u7528\u7387&#xff0c;\u95f4\u63a5\u964d\u4f4e\u5355\u4f4d\u6210\u672c\u3002\u5206\u65f6\u8c03\u5ea6\u7b56\u7565\u6839\u636e\u4e0d\u540c\u65f6\u6bb5\u7684\u9700\u6c42\u5206\u914d\u8d44\u6e90&#xff0c;\u95f2\u65f6&#xff08;\u5982\u591c\u95f4\u3001\u5468\u672b&#xff09;\u5c06\u670d\u52a1\u5668\u8d44\u6e90\u7528\u4e8e\u6a21\u578b\u5fae\u8c03\u3001\u6570\u636e\u5904\u7406\u7b49\u4efb\u52a1&#xff0c;\u5fd9\u65f6&#xff08;\u5982\u5de5\u4f5c\u65e5\u767d\u5929&#xff09;\u4e13\u6ce8\u63d0\u4f9b\u63a8\u7406\u670d\u52a1&#xff0c;\u907f\u514d\u8d44\u6e90\u95f2\u7f6e\u3002<\/p>\n<p>\u52a8\u6001\u6a21\u578b\u5207\u6362\u6839\u636e\u8bf7\u6c42\u91cf\u4e0e\u573a\u666f\u9700\u6c42&#xff0c;\u81ea\u52a8\u52a0\u8f7d\u4e0d\u540c\u5927\u5c0f\u7684\u6a21\u578b&#xff1a;\u4f4e\u5cf0\u65f6\u6bb5\u8bf7\u6c42\u91cf\u5c11&#xff0c;\u52a0\u8f7d\u5927\u6a21\u578b\u63d0\u4f9b\u66f4\u4f18\u6548\u679c&#xff1b;\u9ad8\u5cf0\u65f6\u6bb5\u8bf7\u6c42\u91cf\u591a&#xff0c;\u5207\u6362\u81f3\u5c0f\u6a21\u578b\u63d0\u5347\u63a8\u7406\u901f\u5ea6\u3001\u589e\u52a0\u5e76\u53d1\u80fd\u529b&#xff0c;\u901a\u8fc7\u811a\u672c\u5b9e\u73b0\u6a21\u578b\u81ea\u52a8\u5207\u6362&#xff0c;\u5e73\u8861\u6548\u679c\u4e0e\u6027\u80fd\u3002<\/p>\n<h3>\u516d\u3001\u5b9e\u6218\u6848\u4f8b&#xff1a;7B\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u5168\u6d41\u7a0b&#xff08;\u96f6\u65b0\u589e\u786c\u4ef6\u6210\u672c&#xff09;<\/h3>\n<p>\u672c\u6848\u4f8b\u57fa\u4e8e\u666e\u901a\u529e\u516c\u7535\u8111&#xff08;i7-12700H&#043;16G\u5185\u5b58&#043;RTX 3060 12G\u663e\u5b58&#xff09;\u90e8\u7f72Qwen-7B-INT4\u91cf\u5316\u6a21\u578b&#xff0c;\u5b9e\u73b0\u96f6\u65b0\u589e\u786c\u4ef6\u6210\u672c\u843d\u5730&#xff0c;\u9002\u5408\u4e2a\u4eba\u5f00\u53d1\u8005\u4e0e\u5c0f\u578b\u56e2\u961f\u53c2\u8003\u3002<\/p>\n<p>\u6848\u4f8b\u80cc\u666f&#xff1a;\u9700\u90e8\u7f72\u4e00\u6b3e\u672c\u5730\u667a\u80fd\u52a9\u624b&#xff0c;\u7528\u4e8e\u65e5\u5e38\u6587\u672c\u751f\u6210\u3001\u4ee3\u7801\u8f85\u52a9&#xff0c;\u8981\u6c42\u6570\u636e\u9690\u79c1\u53ef\u63a7\u3001\u8131\u79bb\u516c\u7f51\u8fd0\u884c&#xff0c;\u786c\u4ef6\u4f7f\u7528\u95f2\u7f6e\u529e\u516c\u7535\u8111&#xff0c;\u65e0\u65b0\u589e\u9884\u7b97\u3002<\/p>\n<p>\u5b8c\u6574\u6d41\u7a0b&#xff1a;\u7b2c\u4e00\u6b65&#xff0c;\u73af\u5883\u642d\u5efa\u3002\u64cd\u4f5c\u7cfb\u7edf\u9009\u62e9Windows Server 2019&#xff0c;\u5b89\u88c5Python 3.9&#xff0c;\u901a\u8fc7NVIDIA\u5b98\u7f51\u4e0b\u8f7d\u5b89\u88c5CUDA 11.8\u4e0eCuDNN 8.6&#xff0c;\u5339\u914dPyTorch 2.0\u7248\u672c&#xff0c;\u5b89\u88c5Docker Desktop&#xff08;\u65b0\u624b\u53cb\u597d&#xff09;\u3002\u7b2c\u4e8c\u6b65&#xff0c;\u6a21\u578b\u4e0b\u8f7d\u3002\u4ece\u963f\u91cc\u4e91\u955c\u50cf\u7ad9\u4e0b\u8f7dQwen-7B-INT4\u91cf\u5316\u6a21\u578b&#xff0c;\u89e3\u538b\u540e\u5b58\u653e\u81f3D\u76d8\u6a21\u578b\u4ed3\u5e93\u76ee\u5f55&#xff0c;\u6821\u9a8c\u6587\u4ef6\u5b8c\u6574\u6027\u3002\u7b2c\u4e09\u6b65&#xff0c;\u5bb9\u5668\u5316\u90e8\u7f72\u3002\u62c9\u53d6\u5305\u542bvLLM\u6846\u67b6\u7684\u9884\u914d\u7f6e\u955c\u50cf&#xff0c;\u4fee\u6539\u914d\u7f6e\u6587\u4ef6&#xff08;\u6a21\u578b\u8def\u5f84\u6620\u5c04\u4e3aD\u76d8\u6a21\u578b\u76ee\u5f55&#xff0c;\u7aef\u53e3\u8bbe\u7f6e\u4e3a8000&#xff0c;\u6700\u5927\u5e76\u53d1\u6570\u8bbe\u4e3a2&#xff09;&#xff0c;\u6267\u884cDocker run\u547d\u4ee4\u542f\u52a8\u5bb9\u5668&#xff0c;\u901a\u8fc7curl\u547d\u4ee4\u6d4b\u8bd5API\u63a5\u53e3&#xff0c;\u786e\u8ba4\u670d\u52a1\u6b63\u5e38\u8fd0\u884c\u3002\u7b2c\u56db\u6b65&#xff0c;\u6027\u80fd\u8c03\u4f18\u3002\u5173\u95ed\u7535\u8111\u8d85\u7ebf\u7a0b&#xff0c;\u5c06GPU\u5207\u6362\u81f3\u6027\u80fd\u6a21\u5f0f&#xff0c;\u8c03\u6574vLLM\u7684batch size\u4e3a2&#xff0c;max_new_tokens\u4e3a512&#xff0c;\u63a8\u7406\u901f\u5ea6\u4ece\u8c03\u4f18\u524d\u76845token\/s\u63d0\u5347\u81f320token\/s\u3002\u7b2c\u4e94\u6b65&#xff0c;Web UI\u4e0a\u7ebf\u3002\u90e8\u7f72ChatGLM-WebUI&#xff0c;\u5173\u80548000\u7aef\u53e3\u7684\u63a8\u7406\u670d\u52a1&#xff0c;\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee&#xff0c;\u5b9e\u73b0\u56fe\u5f62\u5316\u5bf9\u8bdd\u4e0e\u6587\u672c\u751f\u6210\u529f\u80fd\u3002<\/p>\n<p>\u6548\u679c\u4e0e\u6210\u672c&#xff1a;\u8c03\u4f18\u540e\u652f\u63012\u4eba\u540c\u65f6\u5e76\u53d1\u8bbf\u95ee&#xff0c;\u63a8\u7406\u901f\u5ea6\u6d41\u7545&#xff0c;\u6ee1\u8db3\u65e5\u5e38\u4f7f\u7528\u9700\u6c42&#xff1b;\u786c\u4ef6\u6210\u672c0\u5143&#xff08;\u65e7\u7535\u8111\u5229\u65e7&#xff09;&#xff0c;\u8f6f\u4ef6\u6210\u672c0\u5143&#xff08;\u5168\u5f00\u6e90\u5de5\u5177&#xff09;&#xff0c;\u603b\u8017\u65f64\u5c0f\u65f6&#xff0c;\u5b9e\u73b0\u4f4e\u6210\u672c\u9ad8\u6548\u843d\u5730\u3002<\/p>\n<h3>\u4e03\u3001\u5e38\u89c1\u95ee\u9898\u6392\u67e5\u4e0e\u907f\u5751\u6307\u5357<\/h3>\n<p>\u672c\u5730\u5316\u90e8\u7f72\u8fc7\u7a0b\u4e2d\u96be\u514d\u9047\u5230\u95ee\u9898&#xff0c;\u4ee5\u4e0b\u4e3a\u5e38\u89c1\u95ee\u9898\u7684\u539f\u56e0\u5206\u6790\u4e0e\u89e3\u51b3\u65b9\u6848&#xff0c;\u5e2e\u52a9\u5feb\u901f\u6392\u67e5\u6545\u969c\u3002<\/p>\n<p>\u663e\u5b58\u4e0d\u8db3&#xff1a;\u6700\u5e38\u89c1\u95ee\u9898&#xff0c;\u539f\u56e0\u5305\u62ec\u6a21\u578b\u8fc7\u5927\u3001batch size\u8bbe\u7f6e\u4e0d\u5f53\u3001\u663e\u5b58\u788e\u7247\u5360\u7528\u3002\u89e3\u51b3\u65b9\u6848&#xff1a;\u66f4\u6362INT4\u91cf\u5316\u6a21\u578b&#xff08;\u4f18\u5148\u9009\u62e9&#xff09;\u3001\u51cf\u5c0fbatch size\u3001\u6e05\u7406\u663e\u5b58\u788e\u7247\u3001\u91cd\u542f\u670d\u52a1\u91ca\u653e\u663e\u5b58&#xff0c;\u82e5\u4ecd\u65e0\u6cd5\u89e3\u51b3&#xff0c;\u53ef\u8003\u8651\u6a21\u578b\u88c1\u526a&#xff08;\u5220\u9664\u5197\u4f59\u53c2\u6570&#xff0c;\u9700\u6280\u672f\u80fd\u529b&#xff09;\u3002<\/p>\n<p>\u63a8\u7406\u5ef6\u8fdf\u9ad8&#xff1a;\u539f\u56e0\u5305\u62ec\u786c\u4ef6\u6027\u80fd\u4e0d\u8db3\u3001\u6846\u67b6\u9009\u578b\u4e0d\u5f53\u3001\u53c2\u6570\u8bbe\u7f6e\u4e0d\u5408\u7406\u3001\u7f51\u7edc\u95ee\u9898\u3002\u89e3\u51b3\u65b9\u6848&#xff1a;\u5207\u6362\u81f3vLLM\u6846\u67b6\u3001\u4f18\u5316CPU\/GPU\u53c2\u6570\u3001\u8c03\u6574batch size\u4e0emax_new_tokens\u3001\u4f7f\u7528SSD\u5b58\u50a8\u6a21\u578b\u6587\u4ef6&#xff0c;\u82e5\u4e3a\u7f51\u7edc\u95ee\u9898&#xff0c;\u68c0\u67e5\u7aef\u53e3\u6620\u5c04\u4e0e\u9632\u706b\u5899\u8bbe\u7f6e\u3002<\/p>\n<p>\u670d\u52a1\u542f\u52a8\u5931\u8d25&#xff1a;\u5e38\u89c1\u539f\u56e0\u5305\u62ec\u914d\u7f6e\u6587\u4ef6\u9519\u8bef\u3001\u4f9d\u8d56\u51b2\u7a81\u3001\u7aef\u53e3\u5360\u7528\u3001\u6a21\u578b\u6587\u4ef6\u635f\u574f\u3002\u89e3\u51b3\u65b9\u6848&#xff1a;\u68c0\u67e5\u914d\u7f6e\u6587\u4ef6\u8bed\u6cd5\u4e0e\u8def\u5f84\u6b63\u786e\u6027\u3001\u91cd\u65b0\u5b89\u88c5\u5339\u914d\u7248\u672c\u7684\u4f9d\u8d56\u3001\u901a\u8fc7netstat\u547d\u4ee4\u6392\u67e5\u7aef\u53e3\u5360\u7528\u5e76\u91ca\u653e\u3001\u91cd\u65b0\u4e0b\u8f7d\u6a21\u578b\u6587\u4ef6\u5e76\u6821\u9a8c\u5b8c\u6574\u6027\u3002<\/p>\n<p>\u6a21\u578b\u8f93\u51fa\u4e71\u7801&#xff1a;\u539f\u56e0\u5305\u62ec\u7f16\u7801\u683c\u5f0f\u9519\u8bef\u3001tokenizer\u4e0e\u6a21\u578b\u4e0d\u5339\u914d\u3001\u6a21\u578b\u6587\u4ef6\u635f\u574f\u3002\u89e3\u51b3\u65b9\u6848&#xff1a;\u8bbe\u7f6e\u7f16\u7801\u683c\u5f0f\u4e3aUTF-8\u3001\u66f4\u6362\u4e0e\u6a21\u578b\u5bf9\u5e94\u7684tokenizer\u3001\u91cd\u65b0\u4e0b\u8f7d\u6a21\u578b\u6587\u4ef6&#xff0c;\u82e5\u4e3a\u4e2d\u6587\u4e71\u7801&#xff0c;\u68c0\u67e5\u6a21\u578b\u662f\u5426\u9002\u914d\u4e2d\u6587\u573a\u666f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u5f15\u8a00\u5728\u6570\u5b57\u5316\u8f6c\u578b\u6d6a\u6f6e\u4e0b&#xff0c;\u5927\u6a21\u578b\u5df2\u6210\u4e3a\u4f01\u4e1a\u63d0\u6548\u3001\u4e2a\u4eba\u8d4b\u80fd\u7684\u6838\u5fc3\u5de5\u5177&#xff0c;\u4f46\u516c\u7f51\u5927\u6a21\u578b\u670d\u52a1\u59cb\u7ec8\u9762\u4e34\u6570\u636e\u9690\u79c1\u6cc4\u9732\u3001\u54cd\u5e94\u5ef6\u8fdf\u9ad8\u3001\u4f9d\u8d56\u7f51\u7edc\u7a33\u5b9a\u6027\u7b49\u75db\u70b9\u3002\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u901a\u8fc7\u5c06\u6a21\u578b\u90e8\u7f72\u5728\u81ea\u6709\u670d\u52a1\u5668\u6216\u7ec8\u7aef\u8bbe\u5907\u4e0a&#xff0c;\u5b9e\u73b0\u6570\u636e\u201c\u4e0d\u51fa\u5185\u7f51\u201d\u3001\u6beb\u79d2\u7ea7\u54cd\u5e94\u3001\u8131\u79bb\u516c\u7f51\u72ec\u7acb\u8fd0\u884c\u7684\u6838\u5fc3\u4f18\u52bf&#xff0c;\u5c24\u5176\u9002\u914d\u91d1\u878d\u3001\u533b\u7597\u3001\u653f\u52a1\u7b49\u5bf9\u6570\u636e\u9690\u79c1\u654f\u611f\u7684\u884c\u4e1a&#xff0c;\u540c\u65f6\u4e5f\u80fd\u6ee1\u8db3\u4e2a\u4eba\u5f00\u53d1\u8005\u5bf9\u79c1\u5bc6\u573a\u666f\u7684\u9700\u6c42\u3002\u7136\u800c&#xff0c;\u5f53\u4e0b\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u4ecd\u5b58\u5728\u8bf8\u591a\u95e8\u69db&amp;#xf<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[230,190,43],"topic":[],"class_list":["post-82851","post","type-post","status-publish","format-standard","hentry","category-server","tag-php","tag-190","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u5b9e\u6218\uff1a\u4ece\u670d\u52a1\u5668\u6027\u80fd\u8c03\u4f18\u5230\u4f4e\u6210\u672c\u843d\u5730\u5168\u653b\u7565 - \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\/82851.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u5b9e\u6218\uff1a\u4ece\u670d\u52a1\u5668\u6027\u80fd\u8c03\u4f18\u5230\u4f4e\u6210\u672c\u843d\u5730\u5168\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u3001\u5f15\u8a00\u5728\u6570\u5b57\u5316\u8f6c\u578b\u6d6a\u6f6e\u4e0b&#xff0c;\u5927\u6a21\u578b\u5df2\u6210\u4e3a\u4f01\u4e1a\u63d0\u6548\u3001\u4e2a\u4eba\u8d4b\u80fd\u7684\u6838\u5fc3\u5de5\u5177&#xff0c;\u4f46\u516c\u7f51\u5927\u6a21\u578b\u670d\u52a1\u59cb\u7ec8\u9762\u4e34\u6570\u636e\u9690\u79c1\u6cc4\u9732\u3001\u54cd\u5e94\u5ef6\u8fdf\u9ad8\u3001\u4f9d\u8d56\u7f51\u7edc\u7a33\u5b9a\u6027\u7b49\u75db\u70b9\u3002\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u901a\u8fc7\u5c06\u6a21\u578b\u90e8\u7f72\u5728\u81ea\u6709\u670d\u52a1\u5668\u6216\u7ec8\u7aef\u8bbe\u5907\u4e0a&#xff0c;\u5b9e\u73b0\u6570\u636e\u201c\u4e0d\u51fa\u5185\u7f51\u201d\u3001\u6beb\u79d2\u7ea7\u54cd\u5e94\u3001\u8131\u79bb\u516c\u7f51\u72ec\u7acb\u8fd0\u884c\u7684\u6838\u5fc3\u4f18\u52bf&#xff0c;\u5c24\u5176\u9002\u914d\u91d1\u878d\u3001\u533b\u7597\u3001\u653f\u52a1\u7b49\u5bf9\u6570\u636e\u9690\u79c1\u654f\u611f\u7684\u884c\u4e1a&#xff0c;\u540c\u65f6\u4e5f\u80fd\u6ee1\u8db3\u4e2a\u4eba\u5f00\u53d1\u8005\u5bf9\u79c1\u5bc6\u573a\u666f\u7684\u9700\u6c42\u3002\u7136\u800c&#xff0c;\u5f53\u4e0b\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u4ecd\u5b58\u5728\u8bf8\u591a\u95e8\u69db&amp;#xf\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/82851.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T05:27:53+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82851.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/82851.html\",\"name\":\"\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u5b9e\u6218\uff1a\u4ece\u670d\u52a1\u5668\u6027\u80fd\u8c03\u4f18\u5230\u4f4e\u6210\u672c\u843d\u5730\u5168\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T05:27:53+00:00\",\"dateModified\":\"2026-07-25T05:27:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/82851.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/82851.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82851.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u5b9e\u6218\uff1a\u4ece\u670d\u52a1\u5668\u6027\u80fd\u8c03\u4f18\u5230\u4f4e\u6210\u672c\u843d\u5730\u5168\u653b\u7565\"}]},{\"@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":"\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u5b9e\u6218\uff1a\u4ece\u670d\u52a1\u5668\u6027\u80fd\u8c03\u4f18\u5230\u4f4e\u6210\u672c\u843d\u5730\u5168\u653b\u7565 - \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\/82851.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u5b9e\u6218\uff1a\u4ece\u670d\u52a1\u5668\u6027\u80fd\u8c03\u4f18\u5230\u4f4e\u6210\u672c\u843d\u5730\u5168\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e00\u3001\u5f15\u8a00\u5728\u6570\u5b57\u5316\u8f6c\u578b\u6d6a\u6f6e\u4e0b&#xff0c;\u5927\u6a21\u578b\u5df2\u6210\u4e3a\u4f01\u4e1a\u63d0\u6548\u3001\u4e2a\u4eba\u8d4b\u80fd\u7684\u6838\u5fc3\u5de5\u5177&#xff0c;\u4f46\u516c\u7f51\u5927\u6a21\u578b\u670d\u52a1\u59cb\u7ec8\u9762\u4e34\u6570\u636e\u9690\u79c1\u6cc4\u9732\u3001\u54cd\u5e94\u5ef6\u8fdf\u9ad8\u3001\u4f9d\u8d56\u7f51\u7edc\u7a33\u5b9a\u6027\u7b49\u75db\u70b9\u3002\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u901a\u8fc7\u5c06\u6a21\u578b\u90e8\u7f72\u5728\u81ea\u6709\u670d\u52a1\u5668\u6216\u7ec8\u7aef\u8bbe\u5907\u4e0a&#xff0c;\u5b9e\u73b0\u6570\u636e\u201c\u4e0d\u51fa\u5185\u7f51\u201d\u3001\u6beb\u79d2\u7ea7\u54cd\u5e94\u3001\u8131\u79bb\u516c\u7f51\u72ec\u7acb\u8fd0\u884c\u7684\u6838\u5fc3\u4f18\u52bf&#xff0c;\u5c24\u5176\u9002\u914d\u91d1\u878d\u3001\u533b\u7597\u3001\u653f\u52a1\u7b49\u5bf9\u6570\u636e\u9690\u79c1\u654f\u611f\u7684\u884c\u4e1a&#xff0c;\u540c\u65f6\u4e5f\u80fd\u6ee1\u8db3\u4e2a\u4eba\u5f00\u53d1\u8005\u5bf9\u79c1\u5bc6\u573a\u666f\u7684\u9700\u6c42\u3002\u7136\u800c&#xff0c;\u5f53\u4e0b\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u4ecd\u5b58\u5728\u8bf8\u591a\u95e8\u69db&amp;#xf","og_url":"https:\/\/www.wsisp.com\/helps\/82851.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T05:27:53+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/82851.html","url":"https:\/\/www.wsisp.com\/helps\/82851.html","name":"\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u5b9e\u6218\uff1a\u4ece\u670d\u52a1\u5668\u6027\u80fd\u8c03\u4f18\u5230\u4f4e\u6210\u672c\u843d\u5730\u5168\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T05:27:53+00:00","dateModified":"2026-07-25T05:27:53+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/82851.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/82851.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/82851.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5927\u6a21\u578b\u672c\u5730\u5316\u90e8\u7f72\u5b9e\u6218\uff1a\u4ece\u670d\u52a1\u5668\u6027\u80fd\u8c03\u4f18\u5230\u4f4e\u6210\u672c\u843d\u5730\u5168\u653b\u7565"}]},{"@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\/82851","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=82851"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/82851\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=82851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=82851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=82851"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=82851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}