{"id":84656,"date":"2026-07-26T15:29:01","date_gmt":"2026-07-26T07:29:01","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/84656.html"},"modified":"2026-07-26T15:29:01","modified_gmt":"2026-07-26T07:29:01","slug":"%e5%85%a8%e6%96%b0%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%a4%a7%e6%a8%a1%e5%9e%8b%e9%83%a8%e7%bd%b2%e8%bf%9b%e9%98%b6%ef%bc%9artx-4090%e6%98%be%e5%8d%a1%e9%a9%b1%e5%8a%a8%e5%ae%89%e8%a3%85%e4%b8%8e%e6%a8%a1","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/84656.html","title":{"rendered":"\u5168\u65b0\u670d\u52a1\u5668\u5927\u6a21\u578b\u90e8\u7f72\u8fdb\u9636\uff1aRTX 4090\u663e\u5361\u9a71\u52a8\u5b89\u88c5\u4e0e\u6a21\u578b\u8fd0\u884c\u5bb9\u9519\u9002\u914d\u6307\u5357.176"},"content":{"rendered":"<h2>\u4e00\u3001\u5f15\u8a00<\/h2>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u524d\u9762\u6211\u4eec\u5df2\u7ecf\u5b8c\u6574\u8bb2\u8fc7\u5168\u65b0\u670d\u52a1\u5668\u4ece\u96f6\u642d\u5efa\u3001\u90e8\u7f72\u8fd0\u884c\u5927\u6a21\u578b\u7684\u5168\u5957\u6d41\u7a0b&#xff0c;\u4eca\u5929\u54b1\u4eec\u5c31\u5728\u8fd9\u4e2a\u57fa\u7840\u4e0a&#xff0c;\u7ee7\u7eed\u5f80\u4e0b\u505a\u5173\u952e\u4e00\u6b65&#xff1a;\u7ed9\u670d\u52a1\u5668\u914d\u7f6e\u72ec\u7acb\u663e\u5361&#xff0c;\u6253\u901a GPU \u786c\u4ef6\u52a0\u901f\u80fd\u529b\u3002\u672c\u6b21\u5b9e\u64cd\u540c\u6837\u57fa\u4e8e openEuler 22.03 (LTS-SP4) \u670d\u52a1\u5668\u7cfb\u7edf&#xff0c;\u6574\u4f53\u590d\u76d8\u5e26\u5927\u5bb6\u8d70\u5b8cRTX 4090 \u72ec\u663e\u9002\u914d\u5168\u6d41\u7a0b&#xff1a;\u4ece\u7cfb\u7edf\u5185\u6838\u4e0e\u53d1\u884c\u7248\u4fe1\u606f\u67e5\u770b\u3001\u786c\u4ef6\u663e\u5361\u8bc6\u522b&#xff0c;\u5230\u7981\u7528\u7cfb\u7edf\u81ea\u5e26\u5f00\u6e90\u9a71\u52a8\u3001\u5b89\u88c5\u7f16\u8bd1\u6240\u9700\u4f9d\u8d56&#xff0c;\u518d\u5230NVIDIA\u5b98\u65b9\u9a71\u52a8\u7f16\u8bd1\u90e8\u7f72\u3001\u5b89\u88c5\u8fc7\u7a0b\u5e38\u89c1\u62a5\u9519\u6545\u969c\u6392\u67e5&#xff1b;\u9a71\u52a8\u88c5\u597d\u540e&#xff0c;\u63a5\u7740\u5b8c\u6210PyTorch GPU\u7248\u672c\u73af\u5883\u642d\u5efa\u3001\u5927\u6a21\u578bAI\u6846\u67b6\u4f9d\u8d56\u7248\u672c\u51b2\u7a81\u4fee\u590d&#xff0c;\u6700\u540e\u8865\u4e0a\u670d\u52a1\u5668\u5fc5\u5907\u7684\u4e2d\u6587\u5b57\u4f53\u5b89\u88c5&#xff0c;\u89e3\u51b3\u540e\u7eed\u7ed8\u56fe\u53ef\u89c6\u5316\u4e2d\u6587\u4e71\u7801\u95ee\u9898\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6574\u4e2a\u6d41\u7a0b\u4ece\u524d\u7f6e\u68c0\u67e5\u3001\u5b9e\u64cd\u6b65\u9aa4\u5230\u95ee\u9898\u6392\u9519\u3001\u73af\u5883\u9a8c\u8bc1\u5168\u90e8\u8986\u76d6&#xff0c;\u6d41\u7a0b\u8d34\u5408\u771f\u5b9e\u670d\u52a1\u5668\u843d\u5730\u573a\u666f&#xff0c;\u8bed\u8a00\u901a\u4fd7\u6613\u61c2&#xff0c;\u4e0d\u7ba1\u662f\u505a\u670d\u52a1\u5668\u8fd0\u7ef4\u7684\u540c\u5b66&#xff0c;\u8fd8\u662f\u505a\u5927\u6a21\u578b\u3001AI\u5f00\u53d1\u7684\u5c0f\u4f19\u4f34&#xff0c;\u90fd\u53ef\u4ee5\u7167\u7740\u4e00\u6b65\u6b65\u64cd\u4f5c&#xff0c;\u5feb\u901f\u5b8c\u6210RTX 4090\u663e\u5361\u9002\u914d\u4e0e\u6df1\u5ea6\u5b66\u4e60\u8fd0\u884c\u73af\u5883\u642d\u5efa\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1535\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072844-6a65b72ce9e97.png\" width=\"2730\" \/><\/p>\n<h2>\u4e8c\u3001\u7cfb\u7edf\u4fe1\u606f\u67e5\u8be2<\/h2>\n<p>\u5728\u8fdb\u884c\u663e\u5361\u9002\u914d\u524d&#xff0c;\u9700\u5148\u786e\u8ba4\u670d\u52a1\u5668\u5185\u6838\u7248\u672c\u3001\u7cfb\u7edf\u53d1\u884c\u7248\u4fe1\u606f&#xff0c;\u4e3a\u540e\u7eed\u9a71\u52a8\u5b89\u88c5\u63d0\u4f9b\u57fa\u7840\u4f9d\u636e\u3002<\/p>\n<h3>1. \u67e5\u770bLinux\u5185\u6838\u4fe1\u606f<\/h3>\n<p>uname\u662f\u67e5\u770b\u7cfb\u7edf\u5185\u6838\u6700\u6838\u5fc3\u7684\u547d\u4ee4&#xff0c;\u652f\u6301\u7cbe\u51c6\u67e5\u8be2\u5185\u6838\u7248\u672c\u4e0e\u5168\u91cf\u4fe1\u606f&#xff1a;<\/p>\n<p># \u4ec5\u8f93\u51fa\u5185\u6838\u7248\u672c\u53f7&#xff08;\u6838\u5fc3\u53c2\u6570&#xff09;<br \/>\nuname -r<br \/>\n# \u8f93\u51fa\u5168\u91cf\u5185\u6838\u4fe1\u606f&#xff08;\u67b6\u6784\u3001\u4e3b\u673a\u540d\u3001\u7cfb\u7edf\u7248\u672c\u7b49&#xff09;<br \/>\nuname -a<\/p>\n<h3>2. \u533a\u5206\u7cfb\u7edf\u7248\u672c\u7c7b\u578b<\/h3>\n<p>Linux\u7cfb\u7edf\u7248\u672c\u5206\u4e3a\u4e24\u7c7b&#xff0c;\u662f\u9a71\u52a8\u5b89\u88c5\u7684\u5173\u952e\u4f9d\u636e&#xff1a;<\/p>\n<ul>\n<li>\u53d1\u884c\u7248\u7248\u672c&#xff1a;\u64cd\u4f5c\u7cfb\u7edf\u53d1\u884c\u5546\u7248\u672c&#xff0c;\u5982openEuler\u3001Ubuntu\u3001CentOS&#xff1b;<\/li>\n<li>\u5185\u6838\u7248\u672c&#xff1a;Linux\u7cfb\u7edf\u6838\u5fc3\u7a0b\u5e8f\u7248\u672c&#xff0c;\u9a71\u52a8\u7f16\u8bd1\u5fc5\u987b\u5339\u914d\u5bf9\u5e94\u5185\u6838&#xff0c;\u8d1f\u8d23\u7ba1\u7406\u7cfb\u7edf\u7684\u6838\u5fc3\u529f\u80fd\u3002<\/li>\n<\/ul>\n<h3>3. \u67e5\u770bopenEuler\u53d1\u884c\u7248\u4fe1\u606f<\/h3>\n<p>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u7cfb\u7edf\u8be6\u7ec6\u7248\u672c&#xff1a;<\/p>\n<p>cat \/etc\/os-release<\/p>\n<p>\u672c\u670d\u52a1\u5668\u8f93\u51fa\u5173\u952e\u4fe1\u606f&#xff1a;<\/p>\n<p>NAME&#061;&#034;openEuler&#034;<br \/>\nVERSION&#061;&#034;22.03 (LTS-SP4)&#034;<br \/>\nID&#061;&#034;openEuler&#034;<br \/>\nVERSION_ID&#061;&#034;22.03&#034;<br \/>\nPRETTY_NAME&#061;&#034;openEuler 22.03 (LTS-SP4)&#034;<\/p>\n<ul>\n<li>\u8f93\u51fa\u4e2d\u7684PRETTY_NAME\u6216NAME\u548cVERSION_ID\u5b57\u6bb5\u5c31\u662f\u5bf9\u5e94\u53d1\u884c\u7248\u7684\u540d\u79f0\u548c\u7248\u672c&#xff1b;<\/li>\n<li>\u4ee5\u4e0a\u8f93\u51fa\u8bf4\u660e&#xff0c;\u6211\u4eec\u73b0\u5728\u7684\u64cd\u4f5c\u7cfb\u7edf\u662f openEuler 22.03 (LTS-SP4)<\/li>\n<\/ul>\n<h2>\u4e09\u3001NVIDIA\u663e\u5361\u786c\u4ef6\u8bc6\u522b<\/h2>\n<p>\u9996\u5148\u786e\u8ba4\u670d\u52a1\u5668\u5df2\u901a\u8fc7PCIe\u603b\u7ebf\u8bc6\u522bRTX 4090\u663e\u5361&#xff0c;\u786e\u4fdd\u786c\u4ef6\u65e0\u5f02\u5e38&#xff0c;\u5728\u63a7\u5236\u53f0\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>lspci | grep -i vga<\/p>\n<p>\u5982\u679c\u8f93\u51fa\u4e2d\u5305\u542b &#034;NVIDIA Corporation&#034; \u6216 &#034;RTX 4090&#034; \u5b57\u6837&#xff0c;\u8bf4\u660e\u786c\u4ef6\u5df2\u88ab\u8bc6\u522b&#xff0c;\u53ef\u4ee5\u7ee7\u7eed\u3002<\/p>\n<p>\u672c\u670d\u52a1\u5668\u6b63\u5e38\u8f93\u51fa&#xff1a;<\/p>\n<p>03:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. Integrated Matrox G200eW3 Graphics Controller (rev 04)<br \/>\n3b:00.0 VGA compatible controller: NVIDIA Corporation Device 2684 (rev a1)<\/p>\n<p>\u8f93\u51fa\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>NVIDIA Corporation Device 2684 \u4e3a RTX 4090 \u663e\u5361\u8bbe\u5907 ID&#xff0c;\u8bc1\u660e\u786c\u4ef6\u5df2\u88ab\u7cfb\u7edf\u8bc6\u522b&#xff1b;<\/li>\n<li>\u6b64\u65f6\u663e\u5361\u5904\u4e8e\u65e0\u9a71\u52a8\u72b6\u6001&#xff0c;\u9700\u7ee7\u7eed\u5b89\u88c5\u5b98\u65b9\u9a71\u52a8\u3002<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"264\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072851-6a65b733d129c.png\" width=\"1044\" \/><\/p>\n<h2>\u56db\u3001NVIDIA\u9a71\u52a8\u5b89\u88c5\u6d41\u7a0b<\/h2>\n<p>\u7531\u4e8eopenEuler\u662f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf&#xff0c;\u5b89\u88c5\u663e\u5361\u9a71\u52a8\u65f6\u5fc5\u987b\u5148\u5904\u7406\u5185\u6838\u4f9d\u8d56\u548c\u51b2\u7a81\u9a71\u52a8&#xff0c;\u5426\u5219\u5b89\u88c5\u4f1a\u5931\u8d25\u3002<\/p>\n<h3>1. \u5b89\u88c5\u7f16\u8bd1\u4f9d\u8d56\u5de5\u5177<\/h3>\n<p>NVIDIA\u9a71\u52a8\u9700\u8981\u7f16\u8bd1\u5185\u6838\u6a21\u5757&#xff0c;\u5fc5\u987b\u5b89\u88c5\u5185\u6838\u5934\u6587\u4ef6\u3001\u7f16\u8bd1\u5668\u7b49\u4f9d\u8d56&#xff0c;\u76f4\u63a5\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>yum install -y kernel-devel kernel-headers gcc dkms gcc-c&#043;&#043; make<\/p>\n<p>\u5b8c\u6574\u6267\u884c\u8fc7\u7a0b\u53c2\u8003\u5982\u4e0b&#xff0c;\u8f93\u51faComplete\u8868\u793a\u5b89\u88c5\u5b8c\u6210&#xff01;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"738\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072852-6a65b73407eea.png\" width=\"1647\" \/><\/p>\n<h3>2. \u7981\u7528Nouveau\u5f00\u6e90\u9a71\u52a8<\/h3>\n<p>\u8fd9\u662f\u6700\u5bb9\u6613\u51fa\u9519\u7684\u4e00\u6b65&#xff0c;openEuler\u9ed8\u8ba4\u642d\u8f7dNouveau\u5f00\u6e90\u663e\u5361\u9a71\u52a8&#xff0c;\u4e0eNVIDIA\u5b98\u65b9\u9a71\u52a8\u51b2\u7a81&#xff0c;\u5fc5\u987b\u5f7b\u5e95\u7981\u7528&#xff0c;\u5426\u5219\u9a71\u52a8\u5b89\u88c5\u5931\u8d25\u3002<\/p>\n<p>\u6b65\u9aa4 1&#xff1a;\u7f16\u8f91\u9ed1\u540d\u5355\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>\u9009\u62e9\u4ee5\u4e0b\u4efb\u4e00\u6587\u4ef6\u7f16\u8f91&#xff0c;\u63a8\u8350\u7b2c\u4e8c\u4e2a&#xff0c;\u907f\u514d\u7cfb\u7edf\u6587\u4ef6\u8986\u76d6&#xff1a;<\/p>\n<p># \u65b9\u5f0f1&#xff08;\u7cfb\u7edf\u9ed8\u8ba4\u9ed1\u540d\u5355&#xff09;<br \/>\nvi \/usr\/lib\/modprobe.d\/dist-blacklist.conf<br \/>\n# \u65b9\u5f0f2&#xff08;\u81ea\u5b9a\u4e49\u4e13\u7528\u9ed1\u540d\u5355&#xff0c;\u63a8\u8350&#xff09;<br \/>\nvi \/etc\/modprobe.d\/blacklist-nouveau.conf<\/p>\n<p>\u6b65\u9aa4 2&#xff1a;\u6dfb\u52a0\u7981\u7528\u914d\u7f6e<\/p>\n<p>\u5728\u6587\u4ef6\u672b\u5c3e\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9&#xff0c;\u7981\u7528Nouveau\u9a71\u52a8&#xff1a;<\/p>\n<p>blacklist nouveau<br \/>\noptions nouveau modeset&#061;0<\/p>\n<p>\u6ce8\u610f&#xff1a;\u82e5\u6587\u4ef6\u4e2d\u5b58\u5728blacklist nvidiafb&#xff0c;\u8bf7\u6ce8\u91ca\u6216\u5220\u9664&#xff0c;\u907f\u514d\u5e72\u6270\u9a71\u52a8\u5b89\u88c5\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"687\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072852-6a65b7348157c.png\" width=\"786\" \/><\/p>\n<p>\u6b65\u9aa4 3&#xff1a;\u91cd\u5efa\u7cfb\u7edf\u955c\u50cf&#xff08;\u5173\u952e\u6b65\u9aa4&#xff09;<\/p>\n<p>\u4fee\u6539\u914d\u7f6e\u540e\u5fc5\u987b\u91cd\u5efa initramfs \u955c\u50cf&#xff0c;\u5426\u5219\u91cd\u542f\u540e\u5f00\u6e90\u9a71\u52a8\u4ecd\u4f1a\u52a0\u8f7d&#xff1a;<\/p>\n<p>dracut &#8211;force<\/p>\n<p>\u6b65\u9aa4 4&#xff1a;\u91cd\u542f\u670d\u52a1\u5668<\/p>\n<p>reboot<\/p>\n<p>\u6b65\u9aa4 5&#xff1a;\u9a8c\u8bc1\u7981\u7528\u7ed3\u679c<\/p>\n<p>\u91cd\u542f\u540e\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff0c;\u65e0\u4efb\u4f55\u8f93\u51fa\u4ee3\u8868\u7981\u7528\u6210\u529f&#xff1a;<\/p>\n<p>lsmod | grep nouveau<\/p>\n<p>\u5b8c\u6574\u6b65\u9aa4\u6267\u884c\u547d\u4ee4\u53c2\u8003&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"271\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072852-6a65b734b4a03.png\" width=\"945\" \/><\/p>\n<h3>3. \u5b89\u88c5NVIDIA\u5b98\u65b9\u9a71\u52a8<\/h3>\n<p>3.1 \u9a71\u52a8\u9009\u62e9\u5e76\u4e0b\u8f7d<\/p>\n<p>\u9996\u5148\u767b\u9646\u5b98\u7f51\u9996\u9875&#xff0c;\u76f4\u63a5\u53ef\u4ee5\u770b\u5230\u624b\u52a8\u9a71\u52a8\u641c\u7d22&#xff0c;\u641c\u7d22\u5bf9\u5e94\u578b\u53f7\u7684\u9a71\u52a8&#xff0c;GeForce RTX 4090\u9009\u62e9\u5982\u4e0b&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1023\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072852-6a65b734cec33.png\" width=\"1602\" \/><\/p>\n<p>\u5728\u9a71\u52a8\u5217\u9009\u62e9\u9a71\u52a8&#xff0c;\u6839\u636e\u65e5\u671f\u53ef\u4ee5\u9009\u62e9\u6700\u65b0\u7684&#xff0c;\u5efa\u8bae\u9009\u62e9\u6700\u65b0\u7248\u7684\u524d\u4e00\u4e2a\u7248\u672c\u4f1a\u66f4\u7a33\u5b9a&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1238\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072853-6a65b735958f9.png\" width=\"2160\" \/><\/p>\n<p>\u70b9\u51fb\u201c\u67e5\u770b\u201d&#xff0c;\u8fdb\u5165\u8be6\u7ec6\u9875&#xff0c;\u67e5\u770b\u8be6\u7ec6\u8bf4\u660e&#xff0c;\u786e\u8ba4\u540e\u5373\u53ef\u70b9\u51fb\u201c\u4e0b\u8f7d\u201d\u6309\u94ae\u8fdb\u884c\u4e0b\u8f7d\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1238\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072854-6a65b736c3326.png\" width=\"2160\" \/><\/p>\n<p>\u5c06\u4eceNVIDIA\u5b98\u7f51\u4e0b\u8f7d\u5bf9\u5e94\u663e\u5361\u7684Linux\u9a71\u52a8.run\u6587\u4ef6&#xff0c;\u5982\u6211\u4eec\u5e94\u7528\u7684NVIDIA-Linux-x86_64-580.142.run\u4e0a\u4f20\u5230\u670d\u52a1\u5668\u4e0a&#xff0c;\u6211\u4eec\u6682\u5b58\u5728home\u76ee\u5f55\u4e2d&#xff1b;<\/p>\n<p>3.1 \u6267\u884c\u5b89\u88c5\u547d\u4ee4<\/p>\n<p>&#8211; 1. \u8d4b\u4e88\u9a71\u52a8\u6587\u4ef6\u6267\u884c\u6743\u9650&#xff1a;<\/p>\n<p>chmod &#043;x NVIDIA-Linux-x86_64-*.run<\/p>\n<p>&#8211; 2. \u670d\u52a1\u5668\u73af\u5883\u4e13\u7528\u5b89\u88c5\u547d\u4ee4<\/p>\n<p>.\/NVIDIA-Linux-x86_64-*.run &#8211;no-opengl-files<\/p>\n<p>\u53c2\u6570\u8bf4\u660e&#xff1a;&#8211;no-opengl-files \u8868\u793a\u4e0d\u5b89\u88c5OpenGL\u6587\u4ef6&#xff0c;\u907f\u514d\u8986\u76d6\u7cfb\u7edf\u9ed8\u8ba4\u5e93&#xff0c;\u9632\u6b62\u684c\u9762\u73af\u5883\u51b2\u7a81&#xff0c;\u9002\u914d\u670d\u52a1\u5668\u65e0\u684c\u9762\u73af\u5883\u3002<\/p>\n<h3>4. \u9a71\u52a8\u5b89\u88c5\u4ea4\u4e92\u914d\u7f6e\u8bf4\u660e<\/h3>\n<p>\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u4f1a\u51fa\u73b0\u5173\u952e\u4ea4\u4e92\u9009\u9879&#xff0c;\u6309\u4ee5\u4e0b\u9009\u62e9\u786e\u4fdd\u7a33\u5b9a\u6027&#xff1a;<\/p>\n<p>4.1 \u5185\u6838\u6a21\u5757\u7c7b\u578b\u9009\u62e9<\/p>\n<p>\u63d0\u793a&#xff1a;Multiple kernel module types are available for this system. which would you like to use? \u8868\u793aNVIDIA \u9a71\u52a8\u5b89\u88c5\u7a0b\u5e8f\u5728\u8be2\u95ee\u4f60\u60f3\u7528\u54ea\u79cd\u7c7b\u578b\u7684\u5185\u6838\u6a21\u5757\u3002<\/p>\n<p>NVIDIA \u9a71\u52a8\u73b0\u5728\u6709\u4e24\u79cd\u5f62\u5f0f&#xff1a;<\/p>\n<ul>\n<li>1. NVIDIA Proprietary&#xff08;\u4e13\u6709\u9a71\u52a8&#xff09;&#xff1a;\u8fd9\u662fNVIDIA\u6807\u51c6\u7684\u95ed\u6e90\u9a71\u52a8\u3002\u867d\u7136\u5b83\u5305\u542b\u4e00\u4e9b\u5f00\u6e90\u7ec4\u4ef6&#xff0c;\u5982GSP\u56fa\u4ef6&#xff0c;\u4f46\u6838\u5fc3\u90e8\u5206\u662f\u4e13\u6709\u7684\u3002\u8fd9\u662f\u7edd\u5927\u591a\u6570\u7528\u6237\u3001\u6e38\u620f\u73a9\u5bb6\u548cAI\u5f00\u53d1\u8005\u7684\u6807\u51c6\u9009\u62e9&#xff0c;\u517c\u5bb9\u6027\u6700\u597d&#xff0c;\u529f\u80fd\u6700\u5168\u3002<\/li>\n<li>2. MIT\/GPL&#xff08;\u5f00\u6e90\u5185\u6838\u6a21\u5757&#xff09;&#xff1a;\u8fd9\u662fNVIDIA\u63a8\u51fa\u7684\u5b8c\u5168\u5f00\u6e90\u7684\u5185\u6838\u6a21\u5757&#xff0c;\u4e3b\u8981\u9488\u5bf9\u6570\u636e\u4e2d\u5fc3\u5361\u548c\u90e8\u5206\u65b0\u67b6\u6784\u663e\u5361\u3002\u867d\u7136RTX 4090\u652f\u6301\u8fd9\u79cd\u6a21\u5f0f&#xff0c;\u4f46\u5728\u684c\u9762\u7aef\u6216\u901a\u7528\u8ba1\u7b97\u573a\u666f\u4e0b&#xff0c;\u5b83\u7684\u517c\u5bb9\u6027\u548c\u7a33\u5b9a\u6027\u76ee\u524d\u4e0d\u5982\u4e13\u6709\u9a71\u52a8\u6210\u719f\u3002<\/li>\n<\/ul>\n<p>\u76f4\u63a5\u9009\u62e9 NVIDIA Proprietary&#xff08;\u4e13\u6709\u9a71\u52a8&#xff09;&#xff1a;<\/p>\n<p>\u8fd9\u662f\u9ed8\u8ba4\u9009\u9879&#xff0c;\u4e5f\u662f\u6700\u7a33\u59a5\u3001\u6700\u63a8\u8350\u7684\u9009\u62e9\u3002\u5b83\u80fd\u786e\u4fddRTX 4090\u83b7\u5f97\u6700\u597d\u7684\u517c\u5bb9\u6027\u548c\u6027\u80fd\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"450\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072856-6a65b7381629b.png\" width=\"1620\" \/><\/p>\n<p>4.2 \u5185\u6838\u6a21\u5757\u7f16\u8bd1<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u770b\u5230 &#034;Building kernel modules&#034; \u65f6&#xff0c;\u5b89\u88c5\u7a0b\u5e8f\u6b63\u5728\u8fdb\u884c\u6574\u4e2a\u8fc7\u7a0b\u4e2d\u6700\u5173\u952e\u3001\u4e5f\u662f\u6700\u5bb9\u6613\u62a5\u9519\u7684\u4e00\u6b65&#xff0c;\u6b63\u5728\u73b0\u573a\u7f16\u8bd1\u4e00\u4e2a\u4e13\u95e8\u9002\u914d\u5f53\u524d\u7cfb\u7edf\u7684\u9a71\u52a8\u7a0b\u5e8f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"396\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072856-6a65b738606ce.png\" width=\"1640\" \/><\/p>\n<p>4.3 \u5b89\u88c5\u6545\u969c\u6392\u67e5<\/p>\n<p>\u679c\u4e0d\u5176\u7136&#xff0c;\u8fd9\u4e00\u6b65\u51fa\u73b0\u4e86\u4e00\u4e2a\u9519\u8bef\u63d0\u793a&#xff1a;<\/p>\n<p>ERROR: Installation has failed. Please see the file &#039;\/var\/log\/nvidia-installer.log&#039; for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at nvidia com.<\/p>\n<p>\u63d0\u793a\u5b89\u88c5\u5931\u8d25&#xff0c;\u8fd9\u5728Linux\u4e0b\u5b89\u88c5\u663e\u5361\u9a71\u52a8\u65f6\u5f88\u5e38\u89c1\u3002\u63d0\u793a\u65e5\u5fd7\/var\/log\/nvidia-installer.log\u6587\u4ef6\u4e2d\u6709\u8be6\u7ec6\u8bf4\u660e&#xff0c;\u65e5\u5fd7\u8bb0\u5f55\u662f\u89e3\u51b3\u95ee\u9898\u7684\u5173\u952e&#xff0c;\u6211\u4eec\u53bb\u65e5\u5fd7\u91cc\u9762\u770b\u770b\u5177\u4f53\u63cf\u8ff0&#xff1b;<\/p>\n<p>4.3.1 \u67e5\u770b\u9519\u8bef\u65e5\u5fd7&#xff0c;\u5b9a\u4f4d\u539f\u56e0<\/p>\n<p>\u9996\u5148&#xff0c;\u6211\u4eec\u9700\u8981\u77e5\u9053\u5177\u4f53\u662f\u4ec0\u4e48\u5bfc\u81f4\u4e86\u5931\u8d25\u3002\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u65e5\u5fd7\u7684\u672b\u5c3e\u90e8\u5206&#xff0c;\u901a\u5e38\u9519\u8bef\u4fe1\u606f\u5c31\u5728\u6700\u540e&#xff1a;<\/p>\n<p>sudo tail -n 100 \/var\/log\/nvidia-installer.log<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"549\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072856-6a65b738a6702.png\" width=\"1244\" \/><\/p>\n<p>\u6839\u636e\u67e5\u8be2\u5230\u7684\u65e5\u5fd7&#xff0c;\u95ee\u9898\u975e\u5e38\u660e\u786e&#xff1a;<\/p>\n<ul>\n<li>ERROR: Unable to find the kernel source tree for the currently running kernel.<\/li>\n<\/ul>\n<p>\u8fd9\u4e2a\u9519\u8bef\u7684\u610f\u601d\u662f&#xff0c;\u5b89\u88c5\u7a0b\u5e8f\u65e0\u6cd5\u627e\u5230\u4e0e\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u5185\u6838\u7248\u672c\u76f8\u5339\u914d\u7684\u5185\u6838\u6e90\u4ee3\u7801\u6587\u4ef6\u3002NVIDIA\u9a71\u52a8\u9700\u8981\u8fd9\u4e9b\u6587\u4ef6\u6765\u7f16\u8bd1\u5b83\u81ea\u5df1\u7684\u5185\u6838\u6a21\u5757\u3002\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u5e38\u89c1\u7684\u95ee\u9898&#xff0c;\u89e3\u51b3\u8d77\u6765\u4e5f\u5f88\u76f4\u63a5\u3002\u6211\u4eec\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c&#xff1b;<\/p>\n<p>4.3.2 \u5f02\u5e38\u5904\u7406\u89e3\u51b3\u65b9\u6848<\/p>\n<p>&#8211; 1.\u00a0\u5b89\u88c5\u7cbe\u51c6\u5339\u914d\u5f53\u524d\u5185\u6838\u7684\u5f00\u53d1\u5305&#xff1a;<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6211\u4eec\u9700\u8981\u5b89\u88c5\u4e00\u4e2a\u540d\u4e3akernel-devel\u7684\u8f6f\u4ef6\u5305&#xff0c;\u5e76\u4e14\u5b83\u7684\u7248\u672c\u5fc5\u987b\u548c\u5f53\u524d\u7684\u5185\u6838\u7248\u672c\u5b8c\u5168\u4e00\u81f4\u3002\u5728\u7ec8\u7aef\u4e2d\u76f4\u63a5\u8fd0\u884c\u4e0b\u9762\u8fd9\u6761\u547d\u4ee4\u3002\u5b83\u4f1a\u81ea\u52a8\u83b7\u53d6\u6211\u4eec\u5f53\u524d\u7684\u5185\u6838\u7248\u672c&#xff0c;\u5e76\u5b89\u88c5\u5bf9\u5e94\u7684kernel-devel\u548ckernel-headers\u5305\u3002<\/p>\n<p>yum install -y kernel-devel-$(uname -r) kernel-headers-$(uname -r)<\/p>\n<p>&#8211; 2. \u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u5efa\u8bae\u9a8c\u8bc1\u7248\u672c\u662f\u5426\u771f\u7684\u5339\u914d\u3002\u5206\u522b\u8fd0\u884c\u4ee5\u4e0b\u4e24\u6761\u547d\u4ee4&#xff0c;\u786e\u4fdd\u8f93\u51fa\u7684\u7248\u672c\u53f7\u5b8c\u5168\u76f8\u540c\u3002<\/p>\n<p># \u67e5\u770b\u5f53\u524d\u5185\u6838\u7248\u672c<br \/>\nuname -r<br \/>\n# \u67e5\u770b\u5df2\u5b89\u88c5kernel-devel\u7248\u672c<br \/>\nrpm -q kernel-devel<\/p>\n<p>&#8211; 3. \u7248\u672c\u4e00\u81f4\u540e&#xff0c;\u91cd\u65b0\u6267\u884c\u9a71\u52a8\u5b89\u88c5\u547d\u4ee4\u3002<\/p>\n<p>\u786e\u8ba4kernel-devel\u5b89\u88c5\u65e0\u8bef\u540e&#xff0c;\u5c31\u53ef\u4ee5\u91cd\u65b0\u6267\u884cNVIDIA\u9a71\u52a8\u7684\u5b89\u88c5\u547d\u4ee4\u4e86\u3002<br \/>\nsudo .\/NVIDIA-Linux-x86_64-580.142.run &#8211;no-opengl-files<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"681\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072856-6a65b738ea327.png\" width=\"1242\" \/><\/p>\n<p>4.3.3 \u901a\u7528\u5b89\u88c5\u5931\u8d25\u6392\u67e5<\/p>\n<p>\u5b89\u88c5\u5931\u8d25\u65f6&#xff0c;\u67e5\u770b\u65e5\u5fd7\u5b9a\u4f4d\u95ee\u9898&#xff1a;<\/p>\n<ul>\n<li>sudo tail -n 100 \/var\/log\/nvidia-installer.log&#xff0c;\u91cd\u70b9\u5173\u6ce8\u5305\u542bERROR\u6216Failed\u7684\u884c&#xff1b;<\/li>\n<\/ul>\n<p>\u5e38\u89c1\u9519\u8bef\u53ca\u89e3\u51b3&#xff1a;<\/p>\n<ul>\n<li>gcc not found&#xff1a;\u91cd\u65b0\u5b89\u88c5gcc gcc-c&#043;&#043; make&#xff1b;<\/li>\n<li>kernel headers do not match&#xff1a;\u91cd\u65b0\u5b89\u88c5\u5339\u914d\u5185\u6838\u5934\u6587\u4ef6&#xff1b;<\/li>\n<li>Nouveau is in use&#xff1a;\u91cd\u65b0\u6267\u884c\u7981\u7528Nouveau\u5168\u6d41\u7a0b\u3002<\/li>\n<\/ul>\n<p>4.4\u00a032\u4f4d\u517c\u5bb9\u5e93\u5b89\u88c5<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u91cd\u65b0\u5f00\u59cb\u5b89\u88c5\u540e&#xff0c;\u7ecf\u8fc7\u4e86\u4ee5\u4e0a\u6b63\u5e38\u7684\u6b65\u9aa4&#xff0c;\u4f1a\u6709\u4e00\u4e2a\u65b0\u7684\u63d0\u9192&#xff1a;Install NVIDIA&#039;s 32-bit compatibility libraries&#xff1b;\u00a0<\/p>\n<ul>\n<li>\u76f4\u63a5\u9009\u62e9 No\u3002\u670d\u52a1\u5668\u73af\u5883\u901a\u5e38\u4e0d\u9700\u898132\u4f4d\u5e93&#xff0c;\u9664\u975e\u6211\u4eec\u5728\u670d\u52a1\u5668\u4e0a\u8981\u8fd0\u884c32\u4f4d\u7a0b\u5e8f\u6216\u73a9\u8001\u6e38\u620f&#xff0c;\u5426\u5219\u670d\u52a1\u5668\u73af\u5883\u4e0d\u9700\u8981&#xff0c;\u9009\u4e86\u53cd\u800c\u53ef\u80fd\u56e0\u4e3a\u7f3a\u5c11\u4f9d\u8d56\u62a5\u9519\u3002<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"354\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072857-6a65b7395101f.png\" width=\"1640\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\u5230\u6b64&#xff0c;\u5df2\u7ecf\u6b63\u5e38\u5b8c\u6210\u4e86\u5b89\u88c5\u64cd\u4f5c&#xff0c;\u9a71\u52a8\u7a0b\u5e8f\u6b63\u5e38\u5b89\u88c5\u5b8c\u6bd5&#xff01;<\/p>\n<h3>5. \u9a71\u52a8\u5b89\u88c5\u6210\u529f\u9a8c\u8bc1<\/h3>\n<p>\u9a71\u52a8\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u9a8c\u8bc1&#xff0c;\u5982\u679c\u80fd\u770b\u5230\u7c7b\u4f3c\u4e0b\u56fe\u7684\u8868\u683c\u5185\u5bb9&#xff0c;\u8bf4\u660eRTX 4090\u9a71\u52a8\u5b89\u88c5\u6210\u529f&#xff1a;<\/p>\n<p>nvidia-smi<\/p>\n<p>\u6b63\u5e38\u8f93\u51fa\u53c2\u8003&#xff1a;<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"318\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072857-6a65b73990c78.png\" width=\"735\" \/><\/p>\n<p style=\"margin-left:0;margin-right:0\">\u6210\u529f\u6807\u5fd7&#xff1a;\u663e\u793aRTX 4090\u663e\u5361\u578b\u53f7\u3001CUDA\u7248\u672c\u3001\u663e\u5b58\u4f7f\u7528\u7387\u3001\u9a71\u52a8\u7248\u672c\u7b49\u4fe1\u606f\u3002<\/p>\n<h2>\u4e94\u3001PyTorch GPU\u7248\u672c\u90e8\u7f72<\/h2>\n<p>\u663e\u5361\u9a71\u52a8\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u914d\u7f6e PyTorch GPU \u73af\u5883&#xff0c;\u652f\u6301 CUDA \u52a0\u901f\u3002<\/p>\n<h3>1. \u5378\u8f7d\u65e7\u7248\u672cPyTorch<\/h3>\n<p>python3.11 -m pip uninstall torch torchvision torchaudio -y<\/p>\n<h3>2. \u56fd\u5185\u955c\u50cf\u5b89\u88c5GPU\u7248PyTorch<\/h3>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u8fd9\u91cc\u6709\u4e00\u4e2a\u7ec6\u8282\u8981\u6ce8\u610f&#xff0c;\u901a\u5e38\u6211\u4eec\u901a\u8fc7\u5b98\u65b9\u7684\u955c\u50cf\u5730\u5740\u5b89\u88c5&#xff1a;python3.11 -m pip install torch torchvision torchaudio &#8211;index-url https:\/\/download.pytorch.org\/whl\/cu121<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u4f46\u7ecf\u5e38\u4f1a\u51fa\u73b0TimeoutError: The read operation timed out \u7684\u9519\u8bef&#xff0c;\u8bf4\u660e\u670d\u52a1\u5668\u7684\u7f51\u7edc\u5728\u8fde\u63a5\u5b98\u65b9 PyPI\u6e90\u4e0b\u8f7dPyTorch\u65f6\u8d85\u65f6\u4e86\u3002\u56e0\u4e3aPyTorch\u7684\u5305\u975e\u5e38\u5927&#xff0c;\u901a\u5e381GB-2GB&#xff0c;\u76f4\u63a5\u4ece\u5b98\u65b9\u670d\u52a1\u5668\u4e0b\u8f7d\u5728\u56fd\u5185\u5f88\u5bb9\u6613\u56e0\u4e3a\u7f51\u7edc\u6ce2\u52a8\u800c\u4e2d\u65ad\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u975e\u5e38\u7b80\u5355&#xff0c;\u53ea\u9700\u8981\u5207\u6362\u5230\u56fd\u5185\u955c\u50cf\u6e90\u5373\u53ef&#xff0c;\u4f7f\u7528\u6e05\u534e\u955c\u50cf &#043; CUDA12.1\u4e13\u7528\u547d\u4ee4&#xff0c;\u4e3a\u4e86\u786e\u4fdd\u5b89\u88c5\u7684\u662fGPU\u7248\u672c&#xff0c;\u6211\u4eec\u5fc5\u987b\u660e\u786e\u544a\u8bc9pip\u8981\u4e0b\u8f7d\u652f\u6301CUDA\u7684\u5305\u3002\u63a8\u8350\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4&#xff0c;\u8fd9\u662fPyTorch\u5b98\u65b9\u63a8\u8350\u7684GPU\u5b89\u88c5\u547d\u4ee4&#xff0c;\u914d\u5408\u6e05\u534e\u6e90\u52a0\u901f&#xff1a;<\/p>\n<p>python3.11 -m pip install torch torchvision torchaudio &#8211;index-url https:\/\/pypi.tuna.tsinghua.edu.cn\/simple &#8211;find-links https:\/\/download.pytorch.org\/whl\/cu121<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"720\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072857-6a65b739a686b.png\" width=\"1622\" \/><\/p>\n<h3>3. \u9a8c\u8bc1GPU\u73af\u5883<\/h3>\n<p>\u8fdb\u5165Python\u4ea4\u4e92\u73af\u5883&#xff0c;\u6267\u884c\u4ee5\u4e0b\u4ee3\u7801&#xff1a;<\/p>\n<p>import torch<br \/>\n# \u6253\u5370PyTorch\u7248\u672c<br \/>\nprint(torch.__version__)<br \/>\n# \u6253\u5370CUDA\u7248\u672c&#xff0c;\u975eNone\u5219\u4e3aGPU\u7248\u672c<br \/>\nprint(torch.version.cuda)<br \/>\n# \u9a8c\u8bc1GPU\u662f\u5426\u53ef\u7528&#xff0c;True\u4e3a\u6210\u529f<br \/>\nprint(torch.cuda.is_available())<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"204\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072858-6a65b73a3912a.png\" width=\"678\" \/><\/p>\n<ul>\n<li style=\"margin-left:0px\">\u5982\u679ctorch.version.cuda \u663e\u793a\u7c7b\u4f3c13.0&#xff0c;\u4e14 is_available() \u4e3a True&#xff0c;\u90a3\u4e48\u606d\u559c\u4f60&#xff0c;\u5f7b\u5e95\u641e\u5b9a\u4e86&#xff01;<\/li>\n<li style=\"margin-left:0px\">\u5982\u679c\u8fd8\u662f None&#xff0c;\u8bf7\u52a1\u5fc5\u68c0\u67e5\u662f\u5426\u8fd8\u6709\u65e7\u7684CPU\u7248\u672c\u6b8b\u7559&#xff0c;\u53ef\u4ee5\u7528 pip uninstall torch \u5378\u8f7d\u5e72\u51c0\u91cd\u88c5\u3002<\/li>\n<li style=\"margin-left:0px\">\n<h2>\u516d\u3001\u5b8c\u6574\u793a\u4f8b\u5e94\u7528\u5b9e\u8df5<\/h2>\n<\/li>\n<\/ul>\n<h3 style=\"margin-left:0px\">1. ChatGLM2-6B GPU\u63a8\u7406API\u670d\u52a1<\/h3>\n<p style=\"margin-left:0px\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u793a\u4f8b\u57fa\u4e8eChatGLM2-6B\u5927\u6a21\u578b\u90e8\u7f72\u672c\u5730GPU\u63a8\u7406API\u670d\u52a1\u3002\u6838\u5fc3\u6d41\u7a0b&#xff1a;\u4f7f\u7528ModelScope\u4e0b\u8f7d\u6a21\u578b&#xff0c;\u81ea\u52a8\u68c0\u6d4bGPU\u5e76\u4ee5float16\u7cbe\u5ea6\u52a0\u8f7d&#xff08;\u8282\u7701\u663e\u5b58&#xff09;&#xff1b;\u901a\u8fc7FastAPI\u6846\u67b6\u63d0\u4f9b \/chat \u5bf9\u8bdd\u63a5\u53e3\u3002<\/p>\n<p style=\"margin-left:0px\">\u5173\u952e\u914d\u7f6e\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li style=\"margin-left:0px\">\u00a0device_map&#061;&#034;auto&#034; \u81ea\u52a8\u5206\u914d\u5c42\u5230GPU&#xff1b;<\/li>\n<li style=\"margin-left:0px\">\u00a0low_cpu_mem_usage&#061;True \u964d\u4f4e\u5185\u5b58\u5360\u7528&#xff1b;<\/li>\n<li style=\"margin-left:0px\">\u00a0\u6dfb\u52a0\u6a21\u578b\u52a0\u8f7d\u72b6\u6001\u68c0\u67e5\u786e\u4fdd\u670d\u52a1\u5065\u58ee\u6027\u3002<\/li>\n<\/ul>\n<p style=\"margin-left:0px\">ChatGLM2-6B\u5927\u6a21\u578b\u7684GPU\u663e\u5b58\u8981\u6c42\u7ea613GB&#043;&#xff0c;\u9700\u786e\u4fddCUDA\u73af\u5883\u914d\u7f6e\u6b63\u786e\u3002\u9002\u7528\u4e8e\u9700\u8981\u672c\u5730\u5316\u90e8\u7f72\u5927\u6a21\u578b\u8fdb\u884c\u5b9e\u65f6\u5bf9\u8bdd\u7684\u4e1a\u52a1\u573a\u666f\u3002<\/p>\n<p style=\"margin-left:0px\">\n<ul>\n<li style=\"margin-left:0px\">\n<p># 1. \u5bfc\u5165\u9700\u8981\u7684\u5e93<br \/>\nfrom fastapi import FastAPI, HTTPException<br \/>\nfrom transformers import AutoTokenizer, AutoModel, AutoConfig<br \/>\nimport torch<br \/>\nimport uvicorn<br \/>\nfrom modelscope import snapshot_download<br \/>\nimport warnings<br \/>\nwarnings.filterwarnings(&#034;ignore&#034;)<\/p>\n<p># &#8212; \u4fee\u6539\u70b9 1: \u663e\u5f0f\u5b9a\u4e49\u5168\u5c40\u53d8\u91cf &#8212;<br \/>\nmodel &#061; None<br \/>\ntokenizer &#061; None<\/p>\n<p>model_name &#061; &#034;ZhipuAI\/chatglm2-6b&#034;<br \/>\ncache_dir &#061; &#034;\/home\/model&#034;<\/p>\n<p># 2. \u521d\u59cb\u5316FastAPI\u5e94\u7528<br \/>\napp &#061; FastAPI(title&#061;&#034;ChatGLM2-6B \u672c\u5730API&#034;, description&#061;&#034;\u57fa\u4e8eChatGLM2-6B\u6a21\u578b\u7684\u672c\u5730\u5316\u90e8\u7f72\u63a5\u53e3&#034;)<\/p>\n<p># 3. \u52a0\u8f7d\u6a21\u578b\u548cTokenizer<br \/>\n# \u6ce8\u610f&#xff1a;\u8fd9\u90e8\u5206\u4ee3\u7801\u5728\u811a\u672c\u542f\u52a8\u65f6\u4f1a\u7acb\u5373\u6267\u884c<br \/>\nprint(f&#034;\u6b63\u5728\u4e0b\u8f7d\/\u6821\u9a8c\u6a21\u578b\u7f13\u5b58&#8230;&#034;)<br \/>\nlocal_model_path &#061; snapshot_download(model_name, cache_dir&#061;cache_dir)<\/p>\n<p>print(f&#034;\u6b63\u5728\u52a0\u8f7d\u6a21\u578b&#xff0c;\u8def\u5f84: {local_model_path}&#034;)<br \/>\ntokenizer &#061; AutoTokenizer.from_pretrained(local_model_path, trust_remote_code&#061;True)<\/p>\n<p># \u4fee\u590dChatGLM\u914d\u7f6e\u517c\u5bb9\u6027\u95ee\u9898<br \/>\nconfig &#061; AutoConfig.from_pretrained(local_model_path, trust_remote_code&#061;True)<br \/>\nif not hasattr(config, &#039;max_length&#039;):<br \/>\n    config.max_length &#061; config.seq_length if hasattr(config, &#039;seq_length&#039;) else 8192<\/p>\n<p># \u4f7f\u7528AutoModel\u52a0\u8f7d<br \/>\ntry:<br \/>\n    # \u5f3a\u5236\u4f7f\u7528GPU\u8fd0\u884c<br \/>\n    if not torch.cuda.is_available():<br \/>\n        raise RuntimeError(&#034;\u274c \u672a\u68c0\u6d4b\u5230GPU&#xff0c;\u8bf7\u786e\u4fddCUDA\u73af\u5883\u914d\u7f6e\u6b63\u786e&#034;)<\/p>\n<p>    print(f&#034;&#x1f3ae; \u68c0\u6d4b\u5230GPU: {torch.cuda.get_device_name(0)}&#034;)<br \/>\n    print(f&#034;&#x1f4ca; GPU\u663e\u5b58: {torch.cuda.get_device_properties(0).total_memory \/ 1024**3:.2f} GB&#034;)<\/p>\n<p>    model &#061; AutoModel.from_pretrained(<br \/>\n        local_model_path,<br \/>\n        config&#061;config,<br \/>\n        trust_remote_code&#061;True,<br \/>\n        low_cpu_mem_usage&#061;True,<br \/>\n        torch_dtype&#061;torch.float16,<br \/>\n        device_map&#061;&#034;auto&#034;  # \u81ea\u52a8\u5206\u914d\u5c42\u5230GPU<br \/>\n    )<\/p>\n<p>    # \u786e\u8ba4\u6a21\u578b\u5728GPU\u4e0a<br \/>\n    device &#061; next(model.parameters()).device<br \/>\n    print(f&#034;\u2705 \u6a21\u578b\u52a0\u8f7d\u6210\u529f&#xff01;\u5f53\u524d\u8bbe\u5907: {device}&#034;)<\/p>\n<p>except Exception as e:<br \/>\n    print(f&#034;\u274c \u52a0\u8f7d\u5931\u8d25: {e}&#034;)<br \/>\n    model &#061; None<\/p>\n<p># 4. \u5b9a\u4e49API\u63a5\u53e3<br \/>\n&#064;app.post(&#034;\/chat&#034;, summary&#061;&#034;ChatGLM2-6B\u5bf9\u8bdd\u63a5\u53e3&#034;)<br \/>\ndef chat(question: str):<br \/>\n    # &#8212; \u4fee\u6539\u70b9 2: \u589e\u52a0\u5065\u58ee\u6027\u68c0\u67e5 &#8212;<br \/>\n    if model is None:<br \/>\n        raise HTTPException(status_code&#061;500, detail&#061;&#034;\u6a21\u578b\u672a\u52a0\u8f7d&#xff0c;\u8bf7\u68c0\u67e5\u670d\u52a1\u5668\u542f\u52a8\u65e5\u5fd7&#034;)<\/p>\n<p>    try:<br \/>\n        # \u5904\u7406\u7528\u6237\u8f93\u5165<br \/>\n        # ChatGLM2 \u7684 chat \u65b9\u6cd5\u4f1a\u81ea\u52a8\u5904\u7406 history<br \/>\n        response, history &#061; model.chat(tokenizer, question, history&#061;[])<br \/>\n        return {&#034;question&#034;: question, &#034;answer&#034;: response}<br \/>\n    except Exception as e:<br \/>\n        raise HTTPException(status_code&#061;500, detail&#061;f&#034;\u63a8\u7406\u51fa\u9519: {str(e)}&#034;)<\/p>\n<p># 5. \u542f\u52a8API\u670d\u52a1<br \/>\nif __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    print(&#034;\u542f\u52a8API\u670d\u52a1&#xff0c;\u8bbf\u95ee\u5730\u5740: http:\/\/0.0.0.0:8000&#034;)<br \/>\n    uvicorn.run(app, host&#061;&#034;0.0.0.0&#034;, port&#061;8000)<\/p>\n<h3>2. \u6a21\u578b\u52a0\u8f7d\u5f02\u5e38\u5904\u7406<\/h3>\n<p>\u793a\u4f8b\u521d\u6b21\u8fd0\u884c&#xff0c;\u7ecf\u5e38\u4f1a\u9047\u5230\u63d2\u4ef6\u7f3a\u5931\u3001\u53c2\u6570\u914d\u7f6e\u9519\u8bef\u3001\u63d2\u4ef6\u7248\u672c\u517c\u5bb9\u6027\u95ee\u9898&#xff0c;\u6211\u4eec\u5217\u4e3e\u51e0\u4e2a\u5e38\u89c1\u7684\u5f02\u5e38\u5206\u6790\u8bf4\u660e&#xff0c;\u91cd\u70b9\u5728\u4e8e\u5904\u7406\u7684\u65b9\u5f0f&#xff1b;<\/p>\n<p>2.1 device_map\u00a0\u9519\u8bef\u63d0\u793a&#xff1a;<\/p>\n<\/li>\n<li style=\"margin-left:0px\">\n<p>Passing along a &#096;device_map&#096; requires &#096;low_cpu_mem_usage&#061;True&#096;<\/p>\n<\/li>\n<\/ul>\n<p style=\"margin-left:0px;margin-right:0px\">\u89e3\u51b3\u65b9\u6848&#xff1a;\u5c06 low_cpu_mem_usage&#061;False \u6539\u4e3a True&#xff0c;\u8fd9\u662f\u4f7f\u7528device_map&#061;&#034;auto&#034;\u7684\u5fc5\u8981\u6761\u4ef6\u3002<br \/>\n\u8c03\u6574\u540e\u6a21\u578b\u4f1a\u5206\u7247\u52a0\u8f7d\u5230GPU&#xff0c;\u964d\u4f4e\u5185\u5b58\u5cf0\u503c&#xff0c;\u5982\u679c\u6709\u591a\u5361&#xff0c;\u4f1a\u81ea\u52a8\u5904\u7406\u591aGUP\u5206\u914d&#xff1b;<\/p>\n<p style=\"margin-left:0px;margin-right:0px\">2.2 accelerate\u4f9d\u8d56\u9519\u8bef\u63d0\u793a&#xff1a;<\/p>\n<p style=\"margin-left:0px;margin-right:0px\">Using &#096;low_cpu_mem_usage&#061;True&#096; or a &#096;device_map&#096; requires Accelerate: &#096;pip install accelerate&#096;<\/p>\n<p style=\"margin-left:0px;margin-right:0px\">\u89e3\u51b3\u65b9\u6848&#xff1a;\u5b89\u88c5accelerate\u4f9d\u8d56\u5e93&#xff0c;\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>python3.11 -m pip install accelerate<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"645\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072858-6a65b73a48ed3.png\" width=\"1113\" \/><\/p>\n<p>2.3 \u7248\u672c\u517c\u5bb9\u6027\u9519\u8bef\u63d0\u793a&#xff1a;<\/p>\n<p>\u00a0ImportError: huggingface-hub&gt;&#061;0.16.4,&lt;1.0 is required&#8230; but found huggingface-hub&#061;&#061;1.11.0\u00a0<\/p>\n<p>\u8fd9\u662f\u63d2\u4ef6\u7248\u672c\u517c\u5bb9\u6027\u95ee\u9898&#xff0c;\u7ecf\u5e38\u4f1a\u9047\u5230&#xff0c;\u5728\u4e0d\u540c\u7684\u6a21\u578b\u7248\u672c\u4e2d\u4e5f\u7ecf\u5e38\u51fa\u73b0&#xff0c;\u8bf4\u7684\u5f88\u660e\u786e&#xff0c;\u6211\u4eec\u4ed4\u7ec6\u5206\u6790&#xff1a;<\/p>\n<ul>\n<li>\u9700\u6c42\u65b9&#xff1a;transformers \u5e93\u8981\u6c42 huggingface-hub \u7684\u7248\u672c\u5fc5\u987b\u5728 0.x \u7cfb\u5217&#xff08;\u5927\u4e8e 0.16.4 \u4e14\u5c0f\u4e8e 1.0&#xff09;\u3002<\/li>\n<li>\u73b0\u72b6&#xff1a;\u6211\u4eec\u5f53\u524d\u5b89\u88c5\u7684 huggingface-hub \u7248\u672c\u662f 1.11.0\u3002<\/li>\n<li>\u539f\u56e0&#xff1a;huggingface-hub \u53d1\u5e03\u4e86\u5927\u7248\u672c\u66f4\u65b0&#xff08;1.0&#043;&#xff09;&#xff0c;\u5176\u4e2d\u53ef\u80fd\u5305\u542b\u7834\u574f\u6027\u53d8\u66f4&#xff0c;\u800c\u6211\u4eec\u5b89\u88c5\u7684 transformers \u7248\u672c\u5c1a\u672a\u9002\u914d\u8fd9\u4e2a\u65b0\u4e3b\u7248\u672c\u3002<\/li>\n<\/ul>\n<p>\u89e3\u51b3\u65b9\u6848&#xff1a;\u964d\u7ea7huggingface-hub<\/p>\n<ul>\n<li>\u6211\u4eec\u9700\u8981\u5c06huggingface-hub\u964d\u7ea7\u5230\u7b26\u5408\u8981\u6c42\u7684\u7248\u672c\u3002\u6700\u7a33\u59a5\u7684\u65b9\u6cd5\u662f\u5c06\u5176\u964d\u7ea7\u52300.x\u7cfb\u5217\u7684\u6700\u65b0\u7a33\u5b9a\u7248\u3002<\/li>\n<li>\u4e3a\u4e86\u4fdd\u9669\u8d77\u89c1&#xff0c;\u76f4\u63a5\u6307\u5b9a\u4e00\u4e2a\u5df2\u77e5\u517c\u5bb9\u7684\u7a33\u5b9a\u7248\u672c&#xff0c;\u4f8b\u59820.25.0&#xff1a;<\/li>\n<\/ul>\n<p>python3.11 -m pip install huggingface-hub&#061;&#061;0.25.0<\/p>\n<p style=\"margin-left:0;margin-right:0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"426\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072858-6a65b73a94cd3.png\" width=\"1197\" \/><\/p>\n<p>2.4 \u63d2\u4ef6\u7f3a\u5931\u9519\u8bef\u63d0\u793a&#xff1a;<\/p>\n<p>importError This modeling file requires the following packages that were not found in your environment: sentencepiece. Run &#096;pip install sentencepiece&#096;<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u8fd9\u4e2a\u9519\u8bef\u8868\u660e\u7cfb\u7edf\u7f3a\u5c11\u7f16\u8bd1sentencepiece\u6240\u9700\u7684C&#043;&#043;\u6784\u5efa\u5de5\u5177&#xff0c;\u7279\u522b\u662fcmake\u548cg&#043;&#043;&#xff0c;pip\u8bd5\u56fe\u4ece\u6e90\u7801\u7f16\u8bd1sentencepiece&#xff0c;\u4f46\u53d1\u73b0\u7cfb\u7edf\u4e2d\u6ca1\u6709cmake&#xff08;\u62a5\u9519&#xff1a;cmake: \u672a\u627e\u5230\u547d\u4ee4&#xff09;&#xff0c;\u5bfc\u81f4\u7f16\u8bd1\u5931\u8d25\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u5982\u679c\u7f51\u7edc\u73af\u5883\u5141\u8bb8&#xff0c;\u6211\u4eec\u4e5f\u53ef\u4ee5\u5c1d\u8bd5\u76f4\u63a5\u5b89\u88c5\u9884\u7f16\u8bd1\u7684\u4e8c\u8fdb\u5236\u5305&#xff08;wheel&#xff09;&#xff0c;\u8fd9\u6837\u5c31\u4e0d\u9700\u8981cmake\u4e86\u3002\u4f46\u5728\u67d0\u4e9b\u7279\u5b9a\u7684Linux\u7248\u672c\u6216Python\u7248\u672c\u4e0b&#xff0c;\u53ef\u80fd\u6ca1\u6709\u5bf9\u5e94\u7684\u9884\u7f16\u8bd1\u5305&#xff0c;\u5fc5\u987b\u8d70\u4e0a\u9762\u7684\u6e90\u7801\u7f16\u8bd1\u6d41\u7a0b&#xff0c;\u8be6\u7ec6\u5982\u4e0b\u56fe\u4e2d\u7684\u6267\u884c\u8bf4\u660e&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1753\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072858-6a65b73acc7e9.png\" width=\"1767\" \/><\/p>\n<h3>3. \u63a5\u53e3\u670d\u52a1\u6b63\u5e38\u542f\u52a8<\/h3>\n<p>\u5728\u5c42\u5c42\u9519\u8bef\u5904\u7406\u5b8c\u6210\u540e&#xff0c;\u6a21\u578b\u6b63\u5e38\u52a0\u8f7d&#xff0c;\u670d\u52a1\u4e5f\u6b63\u5e38\u542f\u52a8&#xff0c;\u63d0\u4f9b\u5916\u90e8\u8c03\u7528&#xff1b;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"240\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072859-6a65b73bf2489.png\" width=\"1424\" \/><\/p>\n<h3>4. \u663e\u5361\u8fd0\u884c\u72b6\u6001\u67e5\u770b<\/h3>\n<p>\u670d\u52a1\u6b63\u5e38\u542f\u52a8\u540e&#xff0c;\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7nvidia-smi\u547d\u4ee4\u67e5\u770b\u663e\u5361\u7684\u8fd0\u884c\u72b6\u6001&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"318\" src=\"2026-07-26aqo1dblb40h.png\" width=\"735\" \/><\/p>\n<p>4.1 \u9a71\u52a8\u4e0e\u786c\u4ef6\u72b6\u6001<\/p>\n<p>NVIDIA-SMI 580.142 \u00a0| Driver Version: 580.142 \u00a0| CUDA Version: 13.0<\/p>\n<ul>\n<li>\u9a71\u52a8\u7248\u672c 580.142&#xff1a;\u8fd9\u662fNVIDIA\u5b98\u65b9\u9a71\u52a8\u7248\u672c&#xff0c;\u5df2\u6210\u529f\u5b89\u88c5\u5e76\u8fd0\u884c&#xff1b;<\/li>\n<li>CUDA Version: 13.0&#xff1a;\u4ee3\u8868\u9a71\u52a8\u652f\u6301\u7684\u6700\u9ad8CUDA\u7248\u672c&#xff0c;\u540e\u7eedPyTorch\u7b49AI\u6846\u67b6\u53ef\u76f4\u63a5\u4f7f\u7528\u3002<\/li>\n<\/ul>\n<p>4.2 \u6838\u5fc3\u786c\u4ef6\u4e0e\u8d1f\u8f7d\u4fe1\u606f<\/p>\n<p>GPU 0: NVIDIA GeForce RTX 4090<br \/>\n&#8211; \u6e29\u5ea6: 33\u00b0C \u00a0| \u98ce\u6247\u8f6c\u901f: 30% \u00a0| \u529f\u8017: 15W \/ 450W<br \/>\n&#8211; \u663e\u5b58\u5360\u7528: 12469MiB \/ 24564MiB (\u7ea612GB\/24GB)<br \/>\n&#8211; GPU\u5229\u7528\u7387: 0%<\/p>\n<ul>\n<li>\u663e\u5361\u662fRTX4090&#xff0c;\u5b8c\u657424GB\u663e\u5b58\u5df2\u88ab\u8bc6\u522b&#xff1b;<\/li>\n<li>\u6e29\u5ea633\u00b0C\u3001\u529f\u801715W&#xff0c;\u8bf4\u660e\u5f53\u524d\u8d1f\u8f7d\u6781\u4f4e&#xff0c;\u6563\u70ed\u548c\u4f9b\u7535\u90fd\u6b63\u5e38&#xff1b;<\/li>\n<li>\u663e\u5b58\u5360\u7528\u7ea612GB&#xff0c;\u800cGPU\u5229\u7528\u7387 0%&#xff0c;\u8bf4\u660e\u663e\u5b58\u88ab\u5360\u7528\u7684\u8fdb\u7a0b\u5e76\u672a\u771f\u6b63\u8dd1\u6ee1\u8ba1\u7b97\u5355\u5143&#xff0c;\u5927\u6982\u7387\u662f\u5927\u6a21\u578b\u521a\u52a0\u8f7d\u5b8c\u6a21\u578b\u6743\u91cd&#xff0c;\u8fd8\u672a\u5f00\u59cb\u63a8\u7406\u6216\u8bad\u7ec3\u3002<\/li>\n<\/ul>\n<p>4.3 \u663e\u5b58\u5360\u7528\u7684\u8fdb\u7a0b<\/p>\n<p>GPU 0 \u00a0| PID 143911 \u00a0| \u8fdb\u7a0b\u540d: python3.11 \u00a0| \u663e\u5b58\u5360\u7528: 12460MiB<\/p>\n<ul>\n<li>\u5360\u752812GB\u663e\u5b58\u7684\u8fdb\u7a0b\u662fpython3.11&#xff0c;\u4e5f\u5c31\u662f\u6211\u4eec\u5f53\u524d\u8fd0\u884c\u7684Python\u7a0b\u5e8f&#xff1b;<\/li>\n<li>\u7ed3\u5408\u663e\u5b58\u5927\u5c0f\u6765\u770b&#xff0c;\u8fd9\u662f\u4e00\u4e2a\u52a0\u8f7d\u4e86\u7ea612GB\u6a21\u578b\u6743\u91cd\u7684\u5927\u6a21\u578b\u63a8\u7406\u4efb\u52a1&#xff1b;<\/li>\n<li>\u8fdb\u7a0b PID&#xff08;143911&#xff09;\u53ef\u7528\u4e8e\u540e\u7eed\u7ba1\u7406&#xff1a;\n<ul>\n<li>\u60f3\u7ec8\u6b62\u8fdb\u7a0b&#xff1a;kill -9 143911<\/li>\n<li>\u67e5\u770b\u8fdb\u7a0b\u8be6\u60c5&#xff1a;ps -ef | grep 143911<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>4.4 \u5176\u4ed6\u5173\u952e\u7ec6\u8282<\/p>\n<ul>\n<li>Persistence-M: Off&#xff1a;\u6301\u4e45\u6a21\u5f0f\u672a\u5f00\u542f&#xff0c;\u5bf9\u5f53\u524d\u4efb\u52a1\u65e0\u5f71\u54cd&#xff0c;\u670d\u52a1\u5668\u73af\u5883\u4e0b\u53ef\u6309\u9700\u5f00\u542f&#xff1b;<\/li>\n<li>Compute M.: Default&#xff1a;\u9ed8\u8ba4\u8ba1\u7b97\u6a21\u5f0f&#xff0c;\u9002\u914d\u901a\u7528AI\u8ba1\u7b97\u573a\u666f&#xff1b;<\/li>\n<li>Disp.A: Off&#xff1a;\u65e0\u663e\u793a\u8f93\u51fa&#xff0c;\u7b26\u5408\u670d\u52a1\u5668\u65e0\u684c\u9762\u73af\u5883\u7684\u7279\u70b9\u3002<\/li>\n<\/ul>\n<h2>\u4e03\u3001\u670d\u52a1\u5668\u4e2d\u6587\u5b57\u4f53\u5b89\u88c5<\/h2>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u89e3\u51b3matplotlib\u7b49\u5de5\u5177\u4e2d\u6587\u4e71\u7801\u95ee\u9898&#xff0c;\u5b89\u88c5\u5f00\u6e90\u4e2d\u6587\u5b57\u4f53&#xff0c;\u8fd9\u91cc\u8981\u6ce8\u610f\u5b89\u88c5\u7684\u7cfb\u7edf\u7ea7\u5b57\u4f53\u5305&#xff0c;\u4e0d\u662fPython\u5305&#xff0c;\u4e0d\u80fd\u7528pip\u5b89\u88c5\u3002<\/p>\n<p># openEuler\/CentOS\/RHEL\u7cfb\u5217\u6267\u884c<br \/>\nyum install wqy-microhei-fonts -y<\/p>\n<p>\u5982\u679c\u662f\u975e\u4ee5\u4e0a\u7cfb\u5217\u7684\u7cfb\u7edf&#xff0c;\u53c2\u8003\u4ee5\u4e0b\u65b9\u5f0f\u5b89\u88c5&#xff1a;<\/p>\n<ul>\n<li>1. \u5148\u786e\u8ba4\u7cfb\u7edf\u7684\u53d1\u884c\u7248&#xff0c;\u901a\u8fc7\u547d\u4ee4\u8bc6\u522b&#xff1a;cat \/etc\/os-release<\/li>\n<li>2. \u7136\u540e\u6839\u636e\u7ed3\u679c\u9009\u62e9&#xff1a;<\/li>\n<\/ul>\n<p># Debian\/Ubuntu\u5b89\u88c5\u65b9\u5f0f<br \/>\napt update<br \/>\napt install fonts-wqy-microhei<\/p>\n<p># Arch\u5b89\u88c5\u65b9\u5f0f<br \/>\npacman -S wqy-microhei<\/p>\n<p>#Fedora\u5b89\u88c5\u65b9\u5f0f<br \/>\ndnf install wqy-microhei-fonts<\/p>\n<p>\u63a5\u7740\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6e05\u9664matplotlib\u7f13\u5b58&#xff1a;<\/p>\n<p>rm -rf ~\/.cache\/matplotlib<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"816\" src=\"2026-07-26f5rqukvtl4b.png\" width=\"1640\" \/><\/p>\n<h2>\u516b\u3001\u603b\u7ed3<\/h2>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u670d\u52a1\u5668\u5b89\u88c5\u6700\u5927\u7684\u611f\u609f\u5c31\u662f\u7ec6\u8282\u51b3\u5b9a\u6210\u8d25&#xff0c;\u4ece\u6700\u5f00\u59cb\u7684\u7cfb\u7edf\u4fe1\u606f\u67e5\u8be2\u3001\u786c\u4ef6\u8bc6\u522b&#xff0c;\u5230\u9a71\u52a8\u5b89\u88c5\u3001PyTorch GPU\u73af\u5883\u914d\u7f6e\u3001\u6846\u67b6\u4f9d\u8d56\u6392\u9519&#xff0c;\u518d\u5230\u6700\u540e\u9a8c\u8bc1\u663e\u5361\u72b6\u6001&#xff0c;\u6574\u4e2a\u8fc7\u7a0b\u8d70\u4e0b\u6765&#xff0c;\u53d1\u73b0\u6700\u5bb9\u6613\u8e29\u5751\u7684\u4e0d\u662f\u5b89\u88c5\u672c\u8eab&#xff0c;\u800c\u662f\u90a3\u4e9b\u770b\u4e0d\u89c1\u7684\u524d\u7f6e\u6761\u4ef6&#xff1a;\u6bd4\u5982\u5185\u6838\u7248\u672c\u5fc5\u987b\u548ckernel-devel\u4e25\u683c\u5bf9\u5e94\u3001Nouveau\u9a71\u52a8\u5fc5\u987b\u5f7b\u5e95\u7981\u7528\u3001PyTorch \u5b89\u88c5\u65f6\u56fd\u5185\u7f51\u7edc\u5bb9\u6613\u8d85\u65f6&#xff0c;\u751a\u81f3huggingface-hub\u7684\u7248\u672c\u51b2\u7a81\u90fd\u53ef\u80fd\u8ba9\u6211\u4eec\u529f\u4e8f\u4e00\u7bd1\u3002\u8fd9\u4e9b\u7ec6\u8282\u5728\u6559\u7a0b\u91cc\u770b\u7740\u7b80\u5355&#xff0c;\u5b9e\u9645\u64cd\u4f5c\u65f6\u6bcf\u4e00\u6b65\u90fd\u53ef\u80fd\u51fa\u95ee\u9898&#xff0c;\u5fc5\u987b\u8010\u4e0b\u5fc3\u770b\u65e5\u5fd7\u3001\u67e5\u62a5\u9519\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u7ed9\u6b63\u5728\u505a\u7c7b\u4f3c\u914d\u7f6e\u7684\u5927\u4f19\u4eec\u4e00\u4e2a\u5efa\u8bae&#xff1a;\u6240\u6709\u4f9d\u8d56\u5b89\u88c5\u5c3d\u91cf\u548c\u7cfb\u7edf\u73af\u5883\u5bf9\u9f50&#xff0c;\u4e0d\u8981\u76f2\u76ee\u8ffd\u6c42\u6700\u65b0\u7248\u672c&#xff1b;\u6700\u540e&#xff0c;\u9047\u5230\u62a5\u9519\u522b\u614c&#xff0c;\u6309\u6d41\u7a0b\u4e00\u6b65\u6b65\u6392\u67e5&#xff0c;\u6bd4\u53cd\u590d\u91cd\u88c5\u8981\u9ad8\u6548\u5f97\u591a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u5f15\u8a00\u524d\u9762\u6211\u4eec\u5df2\u7ecf\u5b8c\u6574\u8bb2\u8fc7\u5168\u65b0\u670d\u52a1\u5668\u4ece\u96f6\u642d\u5efa\u3001\u90e8\u7f72\u8fd0\u884c\u5927\u6a21\u578b\u7684\u5168\u5957\u6d41\u7a0b&#xff0c;\u4eca\u5929\u54b1\u4eec\u5c31\u5728\u8fd9\u4e2a\u57fa\u7840\u4e0a&#xff0c;\u7ee7\u7eed\u5f80\u4e0b\u505a\u5173\u952e\u4e00\u6b65&#xff1a;\u7ed9\u670d\u52a1\u5668\u914d\u7f6e\u72ec\u7acb\u663e\u5361&#xff0c;\u6253\u901a GPU \u786c\u4ef6\u52a0\u901f\u80fd\u529b\u3002\u672c\u6b21\u5b9e\u64cd\u540c\u6837\u57fa\u4e8e openEuler 22.03 (LTS-SP4) \u670d\u52a1\u5668\u7cfb\u7edf&#xff0c;\u6574\u4f53\u590d\u76d8\u5e26\u5927\u5bb6\u8d70\u5b8cRTX 4090 \u72ec\u663e\u9002\u914d\u5168\u6d41\u7a0b&#xff1a;\u4ece\u7cfb\u7edf\u5185\u6838\u4e0e\u53d1\u884c\u7248\u4fe1\u606f\u67e5\u770b\u3001\u786c\u4ef6\u663e\u5361\u8bc6\u522b&#xff0c;\u5230\u7981\u7528\u7cfb\u7edf\u81ea\u5e26\u5f00\u6e90\u9a71\u52a8\u3001\u5b89\u88c5\u7f16\u8bd1\u6240\u9700\u4f9d<\/p>\n","protected":false},"author":2,"featured_media":84636,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9478,9480,9479,4735],"topic":[],"class_list":["post-84656","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ai","tag-rtx-4090","tag-9479","tag-4735"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5168\u65b0\u670d\u52a1\u5668\u5927\u6a21\u578b\u90e8\u7f72\u8fdb\u9636\uff1aRTX 4090\u663e\u5361\u9a71\u52a8\u5b89\u88c5\u4e0e\u6a21\u578b\u8fd0\u884c\u5bb9\u9519\u9002\u914d\u6307\u5357.176 - \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\/84656.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5168\u65b0\u670d\u52a1\u5668\u5927\u6a21\u578b\u90e8\u7f72\u8fdb\u9636\uff1aRTX 4090\u663e\u5361\u9a71\u52a8\u5b89\u88c5\u4e0e\u6a21\u578b\u8fd0\u884c\u5bb9\u9519\u9002\u914d\u6307\u5357.176 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u3001\u5f15\u8a00\u524d\u9762\u6211\u4eec\u5df2\u7ecf\u5b8c\u6574\u8bb2\u8fc7\u5168\u65b0\u670d\u52a1\u5668\u4ece\u96f6\u642d\u5efa\u3001\u90e8\u7f72\u8fd0\u884c\u5927\u6a21\u578b\u7684\u5168\u5957\u6d41\u7a0b&#xff0c;\u4eca\u5929\u54b1\u4eec\u5c31\u5728\u8fd9\u4e2a\u57fa\u7840\u4e0a&#xff0c;\u7ee7\u7eed\u5f80\u4e0b\u505a\u5173\u952e\u4e00\u6b65&#xff1a;\u7ed9\u670d\u52a1\u5668\u914d\u7f6e\u72ec\u7acb\u663e\u5361&#xff0c;\u6253\u901a GPU \u786c\u4ef6\u52a0\u901f\u80fd\u529b\u3002\u672c\u6b21\u5b9e\u64cd\u540c\u6837\u57fa\u4e8e openEuler 22.03 (LTS-SP4) \u670d\u52a1\u5668\u7cfb\u7edf&#xff0c;\u6574\u4f53\u590d\u76d8\u5e26\u5927\u5bb6\u8d70\u5b8cRTX 4090 \u72ec\u663e\u9002\u914d\u5168\u6d41\u7a0b&#xff1a;\u4ece\u7cfb\u7edf\u5185\u6838\u4e0e\u53d1\u884c\u7248\u4fe1\u606f\u67e5\u770b\u3001\u786c\u4ef6\u663e\u5361\u8bc6\u522b&#xff0c;\u5230\u7981\u7528\u7cfb\u7edf\u81ea\u5e26\u5f00\u6e90\u9a71\u52a8\u3001\u5b89\u88c5\u7f16\u8bd1\u6240\u9700\u4f9d\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/84656.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-26T07:29:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072844-6a65b72ce9e97.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=\"8 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/84656.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/84656.html\",\"name\":\"\u5168\u65b0\u670d\u52a1\u5668\u5927\u6a21\u578b\u90e8\u7f72\u8fdb\u9636\uff1aRTX 4090\u663e\u5361\u9a71\u52a8\u5b89\u88c5\u4e0e\u6a21\u578b\u8fd0\u884c\u5bb9\u9519\u9002\u914d\u6307\u5357.176 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-26T07:29:01+00:00\",\"dateModified\":\"2026-07-26T07:29:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/84656.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/84656.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/84656.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5168\u65b0\u670d\u52a1\u5668\u5927\u6a21\u578b\u90e8\u7f72\u8fdb\u9636\uff1aRTX 4090\u663e\u5361\u9a71\u52a8\u5b89\u88c5\u4e0e\u6a21\u578b\u8fd0\u884c\u5bb9\u9519\u9002\u914d\u6307\u5357.176\"}]},{\"@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":"\u5168\u65b0\u670d\u52a1\u5668\u5927\u6a21\u578b\u90e8\u7f72\u8fdb\u9636\uff1aRTX 4090\u663e\u5361\u9a71\u52a8\u5b89\u88c5\u4e0e\u6a21\u578b\u8fd0\u884c\u5bb9\u9519\u9002\u914d\u6307\u5357.176 - \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\/84656.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5168\u65b0\u670d\u52a1\u5668\u5927\u6a21\u578b\u90e8\u7f72\u8fdb\u9636\uff1aRTX 4090\u663e\u5361\u9a71\u52a8\u5b89\u88c5\u4e0e\u6a21\u578b\u8fd0\u884c\u5bb9\u9519\u9002\u914d\u6307\u5357.176 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e00\u3001\u5f15\u8a00\u524d\u9762\u6211\u4eec\u5df2\u7ecf\u5b8c\u6574\u8bb2\u8fc7\u5168\u65b0\u670d\u52a1\u5668\u4ece\u96f6\u642d\u5efa\u3001\u90e8\u7f72\u8fd0\u884c\u5927\u6a21\u578b\u7684\u5168\u5957\u6d41\u7a0b&#xff0c;\u4eca\u5929\u54b1\u4eec\u5c31\u5728\u8fd9\u4e2a\u57fa\u7840\u4e0a&#xff0c;\u7ee7\u7eed\u5f80\u4e0b\u505a\u5173\u952e\u4e00\u6b65&#xff1a;\u7ed9\u670d\u52a1\u5668\u914d\u7f6e\u72ec\u7acb\u663e\u5361&#xff0c;\u6253\u901a GPU \u786c\u4ef6\u52a0\u901f\u80fd\u529b\u3002\u672c\u6b21\u5b9e\u64cd\u540c\u6837\u57fa\u4e8e openEuler 22.03 (LTS-SP4) \u670d\u52a1\u5668\u7cfb\u7edf&#xff0c;\u6574\u4f53\u590d\u76d8\u5e26\u5927\u5bb6\u8d70\u5b8cRTX 4090 \u72ec\u663e\u9002\u914d\u5168\u6d41\u7a0b&#xff1a;\u4ece\u7cfb\u7edf\u5185\u6838\u4e0e\u53d1\u884c\u7248\u4fe1\u606f\u67e5\u770b\u3001\u786c\u4ef6\u663e\u5361\u8bc6\u522b&#xff0c;\u5230\u7981\u7528\u7cfb\u7edf\u81ea\u5e26\u5f00\u6e90\u9a71\u52a8\u3001\u5b89\u88c5\u7f16\u8bd1\u6240\u9700\u4f9d","og_url":"https:\/\/www.wsisp.com\/helps\/84656.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-26T07:29:01+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260726072844-6a65b72ce9e97.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"8 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/84656.html","url":"https:\/\/www.wsisp.com\/helps\/84656.html","name":"\u5168\u65b0\u670d\u52a1\u5668\u5927\u6a21\u578b\u90e8\u7f72\u8fdb\u9636\uff1aRTX 4090\u663e\u5361\u9a71\u52a8\u5b89\u88c5\u4e0e\u6a21\u578b\u8fd0\u884c\u5bb9\u9519\u9002\u914d\u6307\u5357.176 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-26T07:29:01+00:00","dateModified":"2026-07-26T07:29:01+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/84656.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/84656.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/84656.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5168\u65b0\u670d\u52a1\u5668\u5927\u6a21\u578b\u90e8\u7f72\u8fdb\u9636\uff1aRTX 4090\u663e\u5361\u9a71\u52a8\u5b89\u88c5\u4e0e\u6a21\u578b\u8fd0\u884c\u5bb9\u9519\u9002\u914d\u6307\u5357.176"}]},{"@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\/84656","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=84656"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/84656\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/84636"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=84656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=84656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=84656"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=84656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}