﻿{"id":2659,"date":"2024-05-29T17:06:17","date_gmt":"2024-05-29T09:06:17","guid":{"rendered":"https:\/\/nick.txtcc.com\/?p=2659"},"modified":"2024-05-30T18:31:24","modified_gmt":"2024-05-30T10:31:24","slug":"%e6%98%be%e5%8d%a1%e8%99%9a%e6%8b%9f%e5%8c%96%ef%bc%8ctesla-p4%e5%9c%a8pve8%e4%b8%8b%e7%9a%84vgpu%e9%85%8d%e7%bd%ae%e6%96%b9%e6%a1%88%ef%bc%8c%e5%85%bc%e5%ae%b9%e5%a4%9a%e6%98%be%e5%8d%a1%e7%9b%b4","status":"publish","type":"post","link":"https:\/\/nick.txtcc.com\/index.php\/other\/2659","title":{"rendered":"\u663e\u5361\u865a\u62df\u5316\uff0cTesla P4\u5728PVE8\u4e0b\u7684vgpu\u914d\u7f6e\u65b9\u6848\uff0c\u517c\u5bb9\u591a\u663e\u5361\u76f4\u901a"},"content":{"rendered":"<p>\u524d\u8a00<\/p>\n<p>UP\u4e3b\u6700\u8fd1\u4e70\u4e86\u4e00\u5f20Tesla P4\u7684\u663e\u5361\uff0c\u51c6\u5907\u6298\u817e\u4e00\u4e0b\u663e\u5361\u865a\u62df\u5316\u3002\u4e3b\u8981\u9700\u6c42\u6765\u81ea\u4e8e\u6211\u6bcf\u5929\u90fd\u4f1a\u4f7f\u7528\u5bb6\u91cc\u7684\u51e0\u53f0\u865a\u62df\u673a\u5b8c\u6210\u4e0d\u540c\u7684\u5de5\u4f5c\u4efb\u52a1\u3002\u56e0\u4e3a\u865a\u62df\u673a\u6ca1\u6709\u663e\u5361\u6240\u4ee5\u5f88\u591a\u64cd\u4f5c\u6bd4\u8f83\u5361\uff0c\u7528\u7740\u4e0d\u662f\u90a3\u4e48\u987a\u624b\u3002\u4e5f\u6b63\u56e0\u4e3a\u4e5f\u662f\u529e\u516c\u4f7f\u7528\uff0c\u76f4\u901a\u4e00\u5f20\u9ad8\u6027\u80fd\u663e\u5361\u6027\u4ef7\u6bd4\u6bd4\u8f83\u4f4e\uff0c\u4e5f\u6ca1\u6cd5\u7ed9\u591a\u53f0\u865a\u62df\u673a\u4f7f\u7528\u3002\u6b63\u597d\u6700\u8fd1P4\u663e\u5361\u4ef7\u683c\u4e0d\u8d35\uff0c\u6240\u4ee5\u51c6\u5907\u4e70\u5f20\u6765\u8bd5\u8bd5\u3002<\/p>\n<p>\u7531\u4e8e\u6211\u5e73\u65f6\u6ca1\u6709\u4f7f\u7528NAS\u7684\u65b9\u6848\uff0c\u6240\u4ee5\u5c31\u6ca1\u6709\u9a8c\u8bc1vgpu\u5728NAS\u4e0b\u7684\u7f16\u89e3\u7801\u80fd\u529b\uff0c\u4f46\u662f\u6839\u636e\u5176\u4ed6up\u4e3b\u7684\u89c6\u9891\u6765\u770b\uff0c\u5728jellyfin\u4e0b\u7684\u7f16\u89e3\u7801\u662f\u6ca1\u6709\u95ee\u9898\u7684\u3002<\/p>\n<p>\u76ee\u524dvgpu_unlock\u9879\u76ee\u53ea\u652f\u6301Time-sliced\u6280\u672f\uff0c\u4e5f\u5c31\u662f\u5355GPU\u5b9e\u4f8b\u6027\u80fd\u4f1a\u52a8\u6001\u5206\u914d\u3002\u5982\u4e00\u5f20P4\uff0c\u5982\u679c\u53ea\u6709\u4e00\u4e2aGPU\u5b9e\u4f8b\uff0c\u90a3\u4e48\u591a\u83b7\u5f97\u63a5\u8fd1100%\u7684\u6027\u80fd\uff0c\u540c\u65f62\u4e2aGPU\u5b9e\u4f8b\uff0c\u4f1a\u5206\u522b\u83b7\u5f971\/2\u7684\u6027\u80fd\u3002<\/p>\n<p>\u6574\u4f53\u7684\u865a\u62df\u5316\u903b\u8f91\u5982\u56fe\uff0c\u5927\u81f4\u5206\u4e3a\u865a\u62df\u673a\u3001\u5bbf\u4e3b\u673a\u3001GPU\u865a\u62df\u5316\u6388\u6743\u670d\u52a1\u5668\u4e09\u4e2a\u90e8\u5206\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2720\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/image-1-1-1-1.png\" width=\"546\" height=\"255\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/image-1-1-1-1.png 546w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/image-1-1-1-1-300x140.png 300w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/>\n<p>PVE\u7248\u672c<\/p>\n<p>8.1.4\uff08kernel-6.5.13\uff09\u6211\u8fd9\u91cc\u56e0\u4e3a\u5347\u7ea7\u8fc7kernel\u6240\u4ee5\u7248\u672c\u662f\u6bd4\u8f83\u65b0\u3002<\/p>\n<p>BIOS\u8bbe\u7f6e<\/p>\n<p>\u9700\u8981\u5728\u4e3b\u677f\u4e2d\u5f00\u542fIOMMU\uff08\u5185\u5b58\u865a\u62df\u5316\u76f8\u5173\u6280\u672f\uff09\u3001VT-d\/AMD-V\uff08Intel\/AMD\u5bb6\u7684cpu\u865a\u62df\u5316\u6280\u672f\uff09\u3001Above 4G Decoding\uff08pci-e\u5bfb\u5740\u76f8\u5173\u6280\u672f\uff09\u3001SR-IOV\uff08PCIE\u8bbe\u5907\u865a\u62df\u5316\u76f8\u5173\u6280\u672f\uff09\u529f\u80fd\u3002<\/p>\n<p>\u4e8c\u3001\u7cfb\u7edf\u914d\u7f6e<\/p>\n<p>1\u3001\u52a0\u8f7d\u865a\u62df\u5316\u9a71\u52a8<\/p>\n<p>cat >\/etc\/modules<<EOF\nvfio\nvfio_iommu_type1\nvfio_pci\nvfio_virqfd\nEOF\n2\u3001\u5c4f\u853d\u5f00\u6e90\u9a71\u52a8<\/p>\n<p>echo &#8220;blacklist nouveau&#8221; >> \/etc\/modprobe.d\/pve-blacklist.conf\n3\u3001\u5185\u6838\u914d\u7f6eIOMMU\uff08\u663e\u5361\u76f4\u901a\u7528\uff09<\/p>\n<p>\u4fee\u6539grub\u6587\u4ef6\u4e2d\u7684GRUB_CMDLINE_LINUX_DEFAULT\u53c2\u6570\uff1a\u00a0vim \/etc\/default\/grub<\/p>\n<h1>intel cpu<\/h1>\n<p>GRUB_CMDLINE_LINUX_DEFAULT=&#8221;quiet intel_iommu=on iommu=pt video=efifb:off,vesafb:off&#8221;<\/p>\n<h1>amd cpu<\/h1>\n<p>GRUB_CMDLINE_LINUX_DEFAULT=&#8221;quiet intel_iommu=on iommu=pt video=efifb:off&#8221;\n4\u3001\u66f4\u65b0grub<\/p>\n<p>update-grub\n5\u3001\u5b89\u88c5\u4f9d\u8d56<\/p>\n<p>apt install build-essential dkms mdevctl\n6\u3001\u91cd\u542f\u7cfb\u7edf<\/p>\n<p>7\u3001\u9a8c\u8bc1\u914d\u7f6e<\/p>\n<p>\u91cd\u542f\u540e\u53ef\u4ee5\u770b\u5230vfio\u6a21\u5757\u5df2\u7ecf\u52a0\u8f7d\uff0ciommu\u5df2\u7ecf\u5f00\u542f<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2721\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/14_image-1024x369-1-1-1-1.png\" width=\"1024\" height=\"369\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/14_image-1024x369-1-1-1-1.png 1024w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/14_image-1024x369-1-1-1-1-300x108.png 300w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/14_image-1024x369-1-1-1-1-768x277.png 768w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/14_image-1024x369-1-1-1-1-832x300.png 832w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\n<p>\u4e09\u3001\u83b7\u53d6\u9a71\u52a8<\/p>\n<p><a href=\"https:\/\/foxi.buduanwang.vip\/pan\/vGPU\/17.0\/NVIDIA-Linux-x86_64-550.54.10-vgpu-kvm-patched-kernel6.8-OA5500.run\">https:\/\/foxi.buduanwang.vip\/pan\/vGPU\/17.0\/NVIDIA-Linux-x86_64-550.54.10-vgpu-kvm-patched-kernel6.8-OA5500.run<\/a><\/p>\n<p>\u4e0b\u8f7d\u540e\u6267\u884c .\/NVIDIA-Linux-x86_64-550.54.10-vgpu-kvm-patched-kernel6.8-OA5500.run -m kernel<\/p>\n<p>vgpu\u76f8\u5173\u7684\u9a71\u52a8\u9700\u8981\u6ce8\u518c\u4f01\u4e1a\u8d26\u53f7\u624d\u80fd\u83b7\u53d6\uff0c\u6240\u4ee5\u6211\u4eec\u8fd9\u91cc\u9700\u8981\u5148\u6ce8\u518c\u4e00\u4e2a\u4f01\u4e1a\u8d26\u53f7\u3002\u5927\u5bb6\u4e5f\u53ef\u4ee5\u901a\u8fc7\u5176\u4ed6\u4eba\u5171\u4eab\u7684\u7f51\u76d8\u83b7\u53d6\u76f8\u5e94\u7684\u9a71\u52a8\u3002<\/p>\n<p>\u6ce8\u610f\u4e8b\u9879\uff1avgpu\u9a71\u52a8\u548cLinux\u5185\u6838\u7248\u672c\u6709\u4e00\u4e2a\u6700\u5f00\u59cb\u7684\u652f\u6301\u7248\u672c\u5173\u7cfb\uff0c\u5927\u5bb6\u9700\u8981\u6309\u7167\u8981\u6c42\u4e0b\u8f7d\u9a71\u52a8\u3002\u4f8b\u5982\uff0c\u5982\u679c\u662fPVE8\uff086\u7248\u672cLinux\u5185\u6838\uff09\u5219\u9700\u8981\u4e0b\u8f7d16.0\u4ee5\u4e0a\u7684vgpu\u9a71\u52a8\u3002\u94fe\u63a5\u662fPVE\u5b98\u65b9\u5bf9vgpu\u7684\u652f\u6301\u4fe1\u606f\uff1a<a href=\"https:\/\/pve.proxmox.com\/wiki\/NVIDIA_vGPU_on_Proxmox_VE\">https:\/\/pve.proxmox.com\/wiki\/NVIDIA_vGPU_on_Proxmox_VE<\/a><\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2722\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/15_image-1024x372-1-1-1-1.png\" width=\"1024\" height=\"372\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/15_image-1024x372-1-1-1-1.png 1024w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/15_image-1024x372-1-1-1-1-300x109.png 300w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/15_image-1024x372-1-1-1-1-768x279.png 768w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/15_image-1024x372-1-1-1-1-832x302.png 832w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\n<p>1\u3001\u6ce8\u518cnvidia\u4f01\u4e1a\u8d26\u53f7<\/p>\n<p>\u6ce8\u518c\u4f01\u4e1a\u8d26\u53f7\u65f6\u6709\u51e0\u4e2a\u6ce8\u610f\u70b9\uff0c\u7b2c\u4e00\u662f\u5fc5\u987b\u8981\u4f7f\u7528\u4f01\u4e1a\u90ae\u7bb1\uff0c\u4e0d\u884c\u53ef\u4ee5\u81ea\u5df1\u6ce8\u518c\u4e00\u4e2a\u57df\u540d\u914d\u7f6e\u4e00\u4e2a\u90ae\u7bb1\uff1b\u7b2c\u4e8c\u53ef\u4ee5\u9009\u62e9\u53f0\u6e7e\u7684\u4e00\u4e2a\u5730\u5740\u4f5c\u4e3a\u516c\u53f8\u6ce8\u518c\u5730\uff08\u53ea\u8981\u5730\u5740\u786e\u5b9e\u5b58\u5728\u5373\u53ef\uff09\uff1b\u7b2c\u4e09\u7533\u8bf7\u7684VDI\u6570\u91cf\u53ef\u4ee5\u9009\u6700\u5c11\u7684\uff0c\u4e0b\u9762\u662f\u6211\u6ce8\u518c\u65f6\u5019\u7684\u9009\u9879\uff0c\u4f9b\u5927\u5bb6\u53c2\u8003\u3002<\/p>\n<p>\u8d26\u53f7\u6ce8\u518c\u9875\u9762\u94fe\u63a5\uff1a<a href=\"https:\/\/enterpriseproductregistration.nvidia.com\/?LicType=EVAL&amp;ProductFamily=vGPU\">https:\/\/enterpriseproductregistration.nvidia.com\/?LicType=EVAL&amp;ProductFamily=vGPU<\/a><\/p>\n<p>\u6211\u6ce8\u518c\u65f6\u8fc7\u7a0b\u8fd8\u662f\u6bd4\u8f83\u987a\u5229\u7684\uff0c\u4e0d\u9700\u8981\u4eba\u5de5\u5ba1\u6838\u73af\u8282\uff0c\u4fe1\u606f\u63d0\u4ea4\u540e\u4e00\u4f1a\u513f\u4fbf\u6536\u5230\u4e86\u9a8c\u8bc1\u90ae\u4ef6\uff0c\u9a8c\u8bc1\u901a\u8fc7\u540e\u5373\u53ef\u4e0b\u8f7d\u9a71\u52a8\u4e86\u3002<\/p>\n<p>2\u3001\u83b7\u53d6\u9a71\u52a8<\/p>\n<p>\u4f7f\u7528\u521a\u521a\u6ce8\u518c\u7684\u8d26\u53f7\u767b\u5f55https:\/\/nvid.nvidia.com\u3002\u9009\u62e9software download\uff0c\u5e73\u53f0\u9009\u62e9Linux KVM\uff0c\u5e73\u53f0\u7248\u672c\u9009\u62e9\u6240\u6709\uff0c\u56e0\u4e3aPVE8\u5185\u6838\u7248\u672c\u4e3a6.5\u6240\u4ee5\u8fd9\u91cc\u9009\u62e9\u4e86\u5927\u7248\u672c\u4e3a16\u7684\u6700\u65b0\u5c0f\u7248\u672c16.4\uff0c\u70b9\u51fb\u4e0b\u8f7d\u3002<\/p>\n<p>\u8fd9\u91cc\u65e2\u53ef\u4ee5\u4f7f\u7528Linux\u901a\u7528\u7248\u672c\u7684\u9a71\u52a8\uff0c\u4e5f\u53ef\u4ee5\u9009\u62e9ubuntu\u7248\u672c\u7684\u9a71\u52a8\uff0c\u4e00\u79cd\u662f\u901a\u8fc7\u7f16\u8bd1\u5b89\u88c5\uff0c\u4e00\u79cd\u662f\u901a\u8fc7dpkg\u6765\u5b89\u88c5\u3002\u5728dpkg\u5b89\u88c5\u5b8c\u6210\u540e\u53ef\u4ee5\u901a\u8fc7apt &#8211;fix-broken install\u6765\u5b89\u88c5\u4f9d\u8d56\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2723\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/3_image-1024x484-1-1-1-1.png\" width=\"1024\" height=\"484\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/3_image-1024x484-1-1-1-1.png 1024w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/3_image-1024x484-1-1-1-1-300x142.png 300w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/3_image-1024x484-1-1-1-1-768x363.png 768w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/3_image-1024x484-1-1-1-1-832x393.png 832w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\n<p>3\u3001\u9a71\u52a8\u6587\u4ef6<\/p>\n<p>\u9a71\u52a8\u4e0b\u8f7d\u540e\u662f\u4e00\u4e2a\u538b\u7f29\u5305\uff0c\u5176\u4e2d\u4e3b\u8981\u5206\u4e3a\u4e24\u7c7b\u6587\u4ef6\uff0c\u4e00\u7c7b\u662fHost_Drivers\u8868\u793a\u662f\u5bbf\u4e3b\u673a\uff08PVE\uff09\u4e0a\u5b89\u88c5\u7684\u9a71\u52a8\u3001\u53e6\u4e00\u7c7b\u662fGuest_Drivers\u8868\u793a\u4e3apve\u865a\u62df\u673a\u4e0a\u9700\u8981\u5b89\u88c5\u7684\u9a71\u52a8\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2724\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/4_image-1024x395-1-1-1-1.png\" width=\"1024\" height=\"395\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/4_image-1024x395-1-1-1-1.png 1024w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/4_image-1024x395-1-1-1-1-300x116.png 300w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/4_image-1024x395-1-1-1-1-768x296.png 768w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/4_image-1024x395-1-1-1-1-832x321.png 832w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\n<p><strong>\u5b89\u88c5\u9a71\u52a8<\/strong><\/p>\n<p>\u83b7\u53d6\u8865\u4e01\u6e90\u7801\u3010\u5df2\u5305\u542bvgpu_unlock\u3011\u3010\u6307\u5b9a\u7248\u672c525.125\u3011\u3010\u5982\u679c\u4e0b\u8f7d\u5230\u5df2\u7ecf\u66f4\u65b0\u597d\u7684\u9a71\u52a8\uff0c\u76f4\u63a5\u8df3\u52305.b\u3011<\/p>\n<p>git clone &#8211;recursive <a href=\"https:\/\/github.com\/VGPU-Community-Drivers\/vGPU-Unlock-patcher\">https:\/\/github.com\/VGPU-Community-Drivers\/vGPU-Unlock-patcher<\/a> -b 525.125<\/p>\n<p>\u66f4\u65b0\u9a71\u52a8<\/p>\n<p>4.1\u3001\u5c06\u9a71\u52a8\u6587\u4ef6\u590d\u5236\u5230vGPU-Unlock-patcher\u6587\u4ef6\u5939\u5185\u90e8<\/p>\n<p>cp NVIDIA-Linux-x86_64-525.125* \/root\/vGPU-Unlock-patcher\/<\/p>\n<p>cd \/root\/vGPU-Unlock-patcher\/<\/p>\n<p>4.2\u3001\u66f4\u65b0\u9a71\u52a8\u30106.2\u5185\u6838\u9700\u8981\u6307\u5b9a &#8211;lk6-patches\uff1b\u878d\u5408\u9a71\u52a8\u684c\u9762+vgpu\u6307\u5b9a general-merge\uff1b\u666e\u901a\u9a71\u52a8\u6307\u5b9avgpu-kvm\u3011<\/p>\n<p>.\/patch.sh &#8211;lk6-patches general-merge<\/p>\n<p><strong>\u5b89\u88c5\u9a71\u52a8<\/strong><\/p>\n<p>\u5982\u679cpve\u5b89\u88c5\u4e86\u684c\u9762\u7cfb\u7edf\uff0c\u9700\u8981\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5173\u95ed\u684c\u9762\u73af\u5883<\/p>\n<p>init 3<\/p>\n<p>5.a\u3010\u63a5\u4e09\u3001\u56db\uff0c\u624b\u52a8\u66f4\u65b0\u9a71\u52a8\u3011<\/p>\n<p>cd NVIDIA\u2014\u2014\u2014patched<\/p>\n<p>.\/nvidia-installer &#8211;dkms<\/p>\n<p>5.b\u3010\u8df3\u8fc7\u4e09\u3001\u56db\uff0c\u76f4\u63a5\u4e0b\u8f7d-patched\u9a71\u52a8\u3011<\/p>\n<p>\u8fdb\u5165\u9a71\u52a8\u76ee\u5f55\u6267\u884c\u5982\u4e0b\u547d\u4ee4<\/p>\n<p>chmod +x NVIDIA&#8212;&#8212;.run<\/p>\n<p>.\/NVIDIA&#8212;&#8212;.run &#8211;dkms<\/p>\n<p>\u5982<\/p>\n<p>chmod +x NVIDIA-Linux-x86_64-525.105.17-merged-vgpu-kvm-kernel-6.2.16-patched.run<\/p>\n<p>.\/NVIDIA-Linux-x86_64-525.105.17-merged-vgpu-kvm-kernel-6.2.16-patched.run &#8211;dkms<\/p>\n<p>1\u3001\u5f53\u51fa\u73b0\u5982\u4e0b\u62a5\u9519\u65f6\u8868\u793a\u6211\u4eec\u6ca1\u6709\u5b89\u88c5kernel-devel\u76f8\u5173\u7684\u5185\u6838\u5f00\u53d1\u5305\uff0c\u8fd9\u4e2a\u5305\u5bf9\u5e94\u5728pve\u4e0b\u7684\u540d\u5b57\u662fpve-headers\uff0c\u6240\u4ee5\u6211\u4eec\u9700\u8981\u5b89\u88c5\u8be5\u5305\uff0c\u5b89\u88c5\u540epve\u5c06\u9ed8\u8ba4\u5b89\u88c5\u6700\u65b0\u7684\u5185\u6838\u5305\u548c\u76f8\u5173\u4f9d\u8d56\u3002<\/p>\n<p>\u5728\u5b8c\u6210pve-headers\u540e\u9700\u8981\u91cd\u542f\u670d\u52a1\u5668\uff0c\u91cd\u542f\u540e\u53ef\u4ee5\u901a\u8fc7uname -r\u547d\u4ee4\u67e5\u770b\u5230\u5185\u6838\u7248\u672c\u5df2\u7ecf\u66f4\u65b0\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2725\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/6_image-1024x166-1-1-1-1.png\" width=\"1024\" height=\"166\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/6_image-1024x166-1-1-1-1.png 1024w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/6_image-1024x166-1-1-1-1-300x49.png 300w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/6_image-1024x166-1-1-1-1-768x125.png 768w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/6_image-1024x166-1-1-1-1-832x135.png 832w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\n<p>\u5982\u679c\u4f7f\u7528\u7684\u662fPVE7\u7684\u8bdd\u8fd9\u91cc\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9aheaders\u7248\u672c\u7684\u65b9\u5f0f\u6765\u5b89\u88c5\uff1a<\/p>\n<p>apt install pve-headers-$(uname -r)\n2\u3001\u5b89\u88c5\u7684\u8fc7\u7a0b\u4e2d\u4f1a\u63d0\u793a\uff0c\u662f\u5426\u7528dkms\u6765\u7ba1\u7406\u9a71\u52a8\uff0c\u8fd9\u91cc\u53ef\u4ee5\u9009\u62e9\u662f\u7684\u8bdddkms\u4f1a\u5728\u5185\u6838\u53d1\u751f\u66f4\u65b0\u540e\u81ea\u52a8\u5e2e\u4f60\u91cd\u65b0\u7f16\u8bd1\u9a71\u52a8\uff0c\u5982\u679c\u5728\u6267\u884c\u5b89\u88c5\u811a\u672c\u65f6\u6dfb\u52a0\u547d\u4ee4\u884c\u53c2\u6570&#8211;dkms\u4e5f\u662f\u7b49\u6548\u7684\u3002\u5982\u679c\u4e0d\u60f3\u4f7f\u7528dkms\u7ba1\u7406\u7684\u8bdd\u9009\u5426\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u901a\u8fc7dkms\u7ba1\u7406\u7684\u9a71\u52a8\u53ef\u4ee5\u901a\u8fc7dkms status\u547d\u4ee4\u67e5\u770b<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2726\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/16_image-1-1-1-1.png\" width=\"794\" height=\"112\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/16_image-1-1-1-1.png 794w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/16_image-1-1-1-1-300x42.png 300w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/16_image-1-1-1-1-768x108.png 768w\" sizes=\"auto, (max-width: 794px) 100vw, 794px\" \/>\n<p>\u9a8c\u8bc1\u9a71\u52a8\u5b89\u88c5\u7ed3\u679c<\/p>\n<p>dkms status<\/p>\n<p><strong>\u542f\u52a8vgpu\u670d\u52a1\u5e76\u67e5\u770b\u670d\u52a1\u72b6\u6001<\/strong><\/p>\n<p>systemctl daemon-reload<\/p>\n<p>systemctl restart nvidia-{vgpu-mgr,vgpud}.service<\/p>\n<p>systemctl status nvidia-{vgpu-mgr,vgpud}.service<\/p>\n<p><strong>\u9a8c\u8bc1\u6700\u7ec8\u7ed3\u679c<\/strong><\/p>\n<p>nvidia-smi<\/p>\n<p>\u6216<\/p>\n<p>nvidia-smi -q<\/p>\n<p>\u6216<\/p>\n<p>mdevctl types<\/p>\n<p>\u5982\u679c\u9700\u8981\u91cd\u8fd4\u684c\u9762\u73af\u5883<\/p>\n<p>init 5<\/p>\n<p>&nbsp;<\/p>\n<p>\u9644: \u9a71\u52a8\u72b6\u6001\u67e5\u8be2\u53ca\u5378\u8f7d\u3010\u5982\u9700\u8981\u66f4\u65b0\u5185\u6838\u6216\u9a71\u52a8\u3011<\/p>\n<p>dkms status<\/p>\n<p>dkms uninstall -m nvidia -v 525.105.17<\/p>\n<p>dkms remove -m nvidia -v 525.105.17<\/p>\n<p>\u9a71\u52a8\u4e0b\u8f7d\u5730\u5740<\/p>\n<p><a href=\"https:\/\/github.com\/justin-himself\/NVIDIA-VGPU-Driver-Archive\/releases\">https:\/\/github.com\/justin-himself\/NVIDIA-VGPU-Driver-Archive\/releases<\/a><\/p>\n<p>\u684c\u9762\u9a71\u52a8<\/p>\n<p><a href=\"https:\/\/download.nvidia.com\/XFree86\/Linux-x86_64\/\">https:\/\/download.nvidia.com\/XFree86\/Linux-x86_64\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>chmod 755 NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run\n.\/NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run<\/p>\n<p>3\u3001\u5b89\u88c5\u5b8c\u6210\u540e\u53ef\u4ee5\u901a\u8fc7nvidia-smi\u67e5\u770b\u663e\u5361\u72b6\u6001<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2727\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/8_image-1024x616-1-1-1-1.png\" width=\"1024\" height=\"616\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/8_image-1024x616-1-1-1-1.png 1024w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/8_image-1024x616-1-1-1-1-300x180.png 300w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/8_image-1024x616-1-1-1-1-768x462.png 768w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/8_image-1024x616-1-1-1-1-778x468.png 778w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\n<p>\u53ef\u4ee5\u901a\u8fc7mdevctl types\u547d\u4ee4\u67e5\u770b\u663e\u5361\u652f\u6301\u7684\u62c6\u5206\u6a21\u5f0f\uff0c\u6211\u8fd9\u91cc\u91cc\u8f93\u5165\u547d\u4ee4\u540e\u6ca1\u6709\u663e\u793a\uff0c\u7ecf\u8fc7\u6392\u67e5\u53d1\u73b0\u662f\u90e8\u5206\u4f9d\u8d56\u5bfc\u81f4\uff0c\u6240\u4ee5\u901a\u8fc7apt &#8211;fix-broken install\u547d\u4ee4\u8fdb\u884c\u4e86\u4fee\u590d\u3002<\/p>\n<p>\u4fee\u590d\u5b8c\u6210\u540e\u67e5\u8be2\u5230\u7684\u4fe1\u606f\u5982\u4e0b\uff1a<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2728\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/9_image-779x1024-1-1-1-1.png\" width=\"779\" height=\"1024\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/9_image-779x1024-1-1-1-1.png 779w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/9_image-779x1024-1-1-1-1-228x300.png 228w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/9_image-779x1024-1-1-1-1-768x1010.png 768w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/9_image-779x1024-1-1-1-1-356x468.png 356w\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" \/>\n<p>\u4e94\u3001vGPU\u7684\u7c7b\u578b<\/p>\n<p>\u5bf9\u4e8e\u4e0a\u9762\u6b65\u9aa4\u4e2d\u67e5\u8be2\u5230\u7684vgpu\u7c7b\u578b\uff0c\u6211\u4eec\u53ef\u4ee5\u5f97\u77e5P4\u663e\u5361\u652f\u6301A\u3001B\u3001Q\u4e09\u79cd\u5207\u5206\u65b9\u6848\uff0c\u6bcf\u79cd\u65b9\u6848\u7684\u4f7f\u7528\u573a\u666f\u5982\u4e0b\uff0c\u6839\u636e\u6211\u7684\u4f7f\u7528\u573a\u666f\u5c31\u9009\u62e9Q\u578b\u5207\u5206\u65b9\u6848\u4e86\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2729\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/10_image-1024x377-1-1-1-1.png\" width=\"1024\" height=\"377\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/10_image-1024x377-1-1-1-1.png 1024w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/10_image-1024x377-1-1-1-1-300x110.png 300w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/10_image-1024x377-1-1-1-1-768x283.png 768w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/10_image-1024x377-1-1-1-1-832x306.png 832w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\n<p>\u516d\u3001\u914d\u7f6e\u663e\u5361\u62c6\u5206<\/p>\n<p>\u5728PVE\u63a7\u5236\u53f0\u9009\u62e9Datacenter- Resource Mappings\uff0c\u627e\u5230\u76f8\u5e94\u7684\u663e\u5361\u9009\u62e9\u521b\u5efa\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2730\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/11_image-1024x614-1-1-1-1.png\" width=\"1024\" height=\"614\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/11_image-1024x614-1-1-1-1.png 1024w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/11_image-1024x614-1-1-1-1-300x180.png 300w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/11_image-1024x614-1-1-1-1-768x461.png 768w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/11_image-1024x614-1-1-1-1-781x468.png 781w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\n<p>\u9009\u62e9\u4e00\u53f0\u865a\u62df\u673a\uff0c\u70b9\u51fbadd\u6dfb\u52a0\u4e00\u4e2aPCI\u8bbe\u5907\uff0c\u9009\u62e9Mapped Device\uff0c\u9009\u62e9\u521a\u521a\u521b\u5efa\u7684p4\u914d\u7f6e\uff0c\u9009\u62e9\u5207\u5206\u7c7b\u578b\uff0c2Q\u4e2d2\u7684\u610f\u601d\u5c31\u662f2G\u663e\u5b58\uff0c\u8fd9\u6837\u4e00\u5757P4\u6700\u591a\u80fd\u62c6\u5206\u62104\u5757vgpu\u3002<\/p>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u540c\u65f6\u53ea\u80fd\u4f7f\u7528\u4e00\u79cdvgpu\u7c7b\u578b\uff0c\u5982\u679c\u5176\u4e2d\u4e00\u53f0\u865a\u62df\u673a\u7ed1\u5b9a\u4e86GRID P4-2Q\u7c7b\u578b\u7684vgpu\u5219\u5176\u4ed6\u51e0\u53f0\u865a\u62df\u673a\u4e5f\u53ea\u80fd\u7ed1\u5b9a\u8be5\u7c7b\u578b\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2731\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/12_image-1024x417-1-1-1-1.png\" width=\"1024\" height=\"417\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/12_image-1024x417-1-1-1-1.png 1024w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/12_image-1024x417-1-1-1-1-300x122.png 300w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/12_image-1024x417-1-1-1-1-768x313.png 768w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/12_image-1024x417-1-1-1-1-832x339.png 832w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\n<p>\u4e03\u3001\u865a\u62df\u673a\u5b89\u88c5\u9a71\u52a8<\/p>\n<p>\u5c06\u4e4b\u524d\u4e0b\u8f7d\u7684\u9a71\u52a8\u538b\u7f29\u5305\u4e2d\u7684Guest_Drivers\u76ee\u5f55\u4e2d\u4e2d\u7684windows\u9a71\u52a8\u62f7\u8d1d\u81f3\u865a\u62df\u673a\u4e2d\u5e76\u5b89\u88c5\u9a71\u52a8\u3002\u5b89\u88c5\u5b8c\u6210\u540e\u5c31\u53ef\u4ee5\u5728\u8bbe\u5907\u7ba1\u7406\u5668\u4e2d\u770b\u5230\u6211\u4eec\u7684\u663e\u5361\u4e86\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2732\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/13_image-1024x730-1-1-1-1.png\" width=\"1024\" height=\"730\" alt=\"\" srcset=\"https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/13_image-1024x730-1-1-1-1.png 1024w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/13_image-1024x730-1-1-1-1-300x214.png 300w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/13_image-1024x730-1-1-1-1-768x548.png 768w, https:\/\/nick.txtcc.com\/wp-content\/uploads\/2024\/05\/13_image-1024x730-1-1-1-1-656x468.png 656w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\n<p><strong>\u516b\u3001\u642d\u5efaGPU\u865a\u62df\u5316\u6388\u6743\u670d\u52a1\u5668<\/strong><\/p>\n<p>\u56e0\u4e3a\u82f1\u4f1f\u8fbe\u7684\u9650\u5236\uff0c\u5982\u679cvgpu\u4e0d\u914d\u7f6e\u6388\u6743\u7684\u8bdd\u865a\u62df\u673a\u5e27\u7387\u4f1a\u9010\u6e10\u964d\u4f4e\uff0c\u6700\u7ec8\u81f33\u5e27\/\u79d2\u3002\u6240\u4ee5\u6211\u4eec\u9700\u8981\u4e3avgpu\u914d\u7f6e\u76f8\u5e94\u7684license\uff08\u5bbf\u4e3b\u673a\u4e0a\u7684gpu\u65e0\u9700\u914d\u7f6e\uff09\u3002\u6240\u5e78\u5df2\u7ecf\u6709\u5927\u795e\u5e2e\u6211\u4eec\u628alicense\u670d\u52a1\u5668\u914d\u7f6e\u597d\u4e86\uff0c\u5e76\u4e14\u6253\u5305\u6210\u4e86\u955c\u50cf\uff0c\u6211\u4eec\u53ea\u9700\u8981\u7a0d\u4f5c\u914d\u7f6e\u5373\u53ef\u3002<\/p>\n<p><a href=\"https:\/\/lic.nvidia.space\/genClientToken\">https:\/\/lic.nvidia.space\/genClientToken<\/a><\/p>\n<p>\u4e0a\u9762\u5730\u5740\u4e0b\u8f7d\u6388\u6743\u6587\u4ef6\uff0c\u4fdd\u5b58\u5230\uff08\u6ce8\u610f\u4e0d\u8981\u4fee\u6539\u6587\u4ef6\u540d\uff09\uff1aC:\\Program Files\\NVIDIA Corporation\\vGPU Licensing\\ClientConfigToken\\<\/p>\n<h1>\u91cd\u542f\u670d\u52a1<\/h1>\n<p>Restart-Service NVDisplay.ContainerLocalSystem<\/p>\n<h1>\u786e\u8ba4license\u72b6\u6001<\/h1>\n<p>nvidia-smi.exe -q | Select-String License<\/p>\n<p>linux\u653e\u5230\u8fd9\u91cc\uff1a\/etc\/nvidia\/ClientConfigToken\/<\/p>\n<h1>\u91cd\u542f\u670d\u52a1<\/h1>\n<p>service nvidia-gridd restart<\/p>\n<h1>\u786e\u8ba4license\u72b6\u6001<\/h1>\n<p>nvidia-smi -q | grep License<\/p>\n<p>&nbsp;<\/p>\n<p>1\u3001\u901a\u8fc7\u5982\u4e0b\u7684docker-compose\u6587\u4ef6\u62c9\u8d77license\u670d\u52a1\u5668\uff08DLS_URL\u4fee\u6539\u4e3a\u4f60\u7684\u670d\u52a1\u5668\u5185\u7f51\u5730\u5740\uff0cLEASE_EXPIRE_DAYS\u8868\u793alicense\u7684\u6709\u6548\u671f\u6211\u8fd9\u91cc\u586b\u4e865\u5e74\uff09\uff1a<\/p>\n<p>version: &#8216;3&#8217;\nservices:\ndls:\ncontainer_name: dls\nimage: collinwebdesigns\/fastapi-dls:latest\nrestart: always\nenvironment:<\/p>\n<ul>\n<li>TZ=Asia\/Shanghai<\/li>\n<li>DLS_URL=10.10.20.20<\/li>\n<li>DLS_PORT=443<\/li>\n<li>LEASE_EXPIRE_DAYS=1825<\/li>\n<li>DATABASE=sqlite:\/\/\/\/app\/database\/db.sqlite<\/li>\n<li>DEBUG=false\nnetwork_mode: host\nvolumes:<\/li>\n<li>.\/cert:\/app\/cert<\/li>\n<li>.\/db:\/app\/database\n2\u3001\u901a\u8fc7docker run\u547d\u4ee4\u62c9\u8d77\u670d\u52a1\u5668\uff1a<\/li>\n<\/ul>\n<p>docker run -d -e DLS_URL=10.10.20.20 -e DLS_PORT=443 -p 443:443 makedie\/fastapi-dls\n\u4e5d\u3001\u6fc0\u6d3b\u670d\u52a1\u5668<\/p>\n<p>1\u3001windows\u4e0b\u5728powershell\u4e0b\u4ee5\u7ba1\u7406\u5458\u8fd0\u884c\u5982\u4e0b\u547d\u4ee4\u3002\u6ce8\u610f\u5c06ip\u66ff\u6362\u4e3a\u4e0a\u4e00\u6b65\u4e2dlicense\u670d\u52a1\u5668\u7684\u5730\u5740<\/p>\n<h1>\u83b7\u53d6license<\/h1>\n<p>curl.exe &#8211;insecure -L -X GET <a href=\"https:\/\/10.10.20.20\/-\/client-token\">https:\/\/10.10.20.20\/-\/client-token<\/a> -o &#8220;C:\\Program Files\\NVIDIA Corporation\\vGPU Licensing\\ClientConfigToken\\client_configuration<em>token<\/em>$($(Get-Date).tostring(&#8216;dd-MM-yy-hh-mm-ss&#8217;)).tok&#8221;<\/p>\n<h1>\u91cd\u542f\u670d\u52a1<\/h1>\n<p>Restart-Service NVDisplay.ContainerLocalSystem<\/p>\n<h1>\u786e\u8ba4license\u72b6\u6001<\/h1>\n<p>nvidia-smi.exe -q | Select-String License\n2\u3001linux\u4e0b\u3002\u6ce8\u610f\u5c06ip\u66ff\u6362\u4e3a\u4e0a\u4e00\u6b65\u4e2dlicense\u670d\u52a1\u5668\u7684\u5730\u5740<\/p>\n<h1>\u83b7\u53d6license<\/h1>\n<p>curl &#8211;insecure -L -X GET <a href=\"https:\/\/10.10.20.20\/-\/client-token\">https:\/\/10.10.20.20\/-\/client-token<\/a> -o \/etc\/nvidia\/ClientConfigToken\/client_configuration<em>token<\/em>$(date &#8216;+%d-%m-%Y-%H-%M-%S&#8217;).tok<\/p>\n<h1>\u91cd\u542f\u670d\u52a1<\/h1>\n<p>service nvidia-gridd restart<\/p>\n<h1>\u786e\u8ba4license\u72b6\u6001<\/h1>\n<p>nvidia-smi -q | grep License\n\u6267\u884c\u7ed3\u679c \u4f5c\u8005\uff1a\u7231\u79d1\u6280\u7684\u6a59\u5b50 <a href=\"https:\/\/www.bilibili.com\/read\/cv33513142\/\">https:\/\/www.bilibili.com\/read\/cv33513142\/<\/a> \u51fa\u5904\uff1abilibili<\/p>\n<p>\u5341\u3001\u914d\u7f6e\u663e\u5361\u76f4\u901a<\/p>\n<p>\u63a5\u4e0b\u6765\u6211\u4eec\u6309\u7167\u5e38\u89c4\u7684\u76f4\u901a\u6d41\u7a0b\u5c06\u53e6\u4e00\u5f20\u663e\u5361\u76f4\u901a\u7ed9\u865a\u62df\u673a\u5c31\u53ef\u4ee5\u4e86\uff0c\u73b0\u5728\u6211\u4eec\u5c31\u53ef\u4ee5\u6109\u5feb\u7684\u73a9\u800d\u4e86\uff0c\u5728\u865a\u62df\u673a\u91cc\u5f00\u4e2aParsec\u7528\u6765\u4e32\u6d41\u73a9\u6e38\u620f\u4e5f\u662f\u5b8c\u5168\u6ca1\u95ee\u9898\u7684\u3002<\/p>\n<p>\u7ed3\u8bed\uff1a<\/p>\n<p>\u8fd9\u6837\u6211\u4eec\u540c\u65f6\u652f\u6301\u663e\u5361\u865a\u62df\u5316\u548c\u663e\u5361\u76f4\u901a\u7684PVE\u914d\u7f6e\u5c31\u5b8c\u6210\u4e86\u3002\u5927\u5bb6\u5982\u679c\u6709\u4ec0\u4e48\u95ee\u9898\u7684\u8bdd\u4e5f\u6b22\u8fce\u548c\u6211\u4ea4\u6d41\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u5df2\u77e5\u95ee\u9898\uff1a<\/p>\n<p>1\u3001\u6211\u5728epyc\u7684cpu\u8fdb\u884c\u76f4\u901a\u65f6\u53ea\u6709\u542f\u52a8\u670d\u52a1\u5668\u7684\u7b2c\u4e00\u6b21\u76f4\u901a\u662f\u6709\u6548\u7684\uff0c\u5982\u679c\u4f7f\u7528\u671f\u95f4\u5bf9\u76f4\u901a\u663e\u5361\u6240\u5728\u7684\u865a\u62df\u673a\u8fdb\u884c\u505c\u673a\u7684\u8bdd\u5c31\u4f1a\u5bfc\u81f4\u865a\u62df\u673a\u65e0\u6cd5\u542f\u52a8\u7684\u60c5\u51b5\u3002\u4f46\u662f\u57285700x\u4e0b\u5c31\u6ca1\u6709\u8fd9\u4e2a\u95ee\u9898\uff0c\u5230\u5e95\u662f\u865a\u62df\u673a\u914d\u7f6e\u8fd8\u662f\u5e73\u53f0\u5bfc\u81f4\u7684\u8fd9\u4e00\u95ee\u9898\u8fd8\u6709\u5f85\u7814\u7a76\uff1b<\/p>\n<p>2\u3001\u7406\u8bba\u4e0a\u540c\u67b6\u6784\u768410\u7cfb\u7684\u663e\u5361\u4e5f\u652f\u6301\u8fdb\u884c\u865a\u62df\u5316\uff0c\u53ea\u662f\u9700\u8981\u914d\u7f6evgpu unlock\uff0c\u4f46\u662f\u56e0\u4e3a\u6211\u624b\u91cc\u6ca1\u670910\u7cfb\u7684\u663e\u5361\u6240\u4ee5\u8fd9\u91cc\u5c31\u6ca1\u6709\u8fdb\u884c\u6d4b\u8bd5\uff1b<\/p>\n<p>3\u3001\u663e\u5361\u5728\u914d\u7f6elicense\u7684\u60c5\u51b5\u4e0b\u5e27\u7387\u4e5f\u53ea\u80fd\u8fbe\u523060\u5e27\uff0c\u8fd9\u79cd\u60c5\u51b5\u9700\u8981\u5bf9vgpu\u8fdb\u884c\u4f2a\u88c5\uff0c\u5c06\u5176\u4f2a\u88c5\u6210\u6d88\u8d39\u7ea7gpu\u624d\u53ef\u4ee5\u7a81\u7834\u9650\u5236\uff0c\u56e0\u4e3a\u6211\u8fd9\u91cc\u53ea\u662f\u7ed9\u865a\u62df\u673a\u4f7f\u7528\uff0c\u6ca1\u6709\u7528\u5b83\u6765\u505anas\u76f8\u5173\u7684\u89c6\u9891\u7f16\u89e3\u7801\u64cd\u4f5c\uff0c\u6240\u4ee5\u5c31\u6ca1\u6709\u8fdb\u884c\u6d4b\u8bd5\u4e86\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u53c2\u8003\u94fe\u63a5\uff1a<\/p>\n<p><a href=\"https:\/\/pve.proxmox.com\/wiki\/NVIDIA_vGPU_on_Proxmox_VE\">https:\/\/pve.proxmox.com\/wiki\/NVIDIA_vGPU_on_Proxmox_VE<\/a><\/p>\n<p><a href=\"https:\/\/fairysen.com\/844.html\">https:\/\/fairysen.com\/844.html<\/a><\/p>\n<p><a href=\"https:\/\/foxi.buduanwang.vip\/virtualization\/1683.html\/\">https:\/\/foxi.buduanwang.vip\/virtualization\/1683.html\/<\/a><\/p>\n<p><a href=\"https:\/\/hub.docker.com\/r\/collinwebdesigns\/fastapi-dls\/tags\">https:\/\/hub.docker.com\/r\/collinwebdesigns\/fastapi-dls\/tags<\/a> \u4f5c\u8005\uff1a\u7231\u79d1\u6280\u7684\u6a59\u5b50 <a href=\"https:\/\/www.bilibili.com\/read\/cv33513142\/\">https:\/\/www.bilibili.com\/read\/cv33513142\/<\/a> \u51fa\u5904\uff1abilibili<\/p>","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 UP\u4e3b\u6700\u8fd1\u4e70\u4e86\u4e00\u5f20Tesla P4\u7684\u663e\u5361\uff0c\u51c6\u5907\u6298\u817e\u4e00\u4e0b\u663e\u5361\u865a\u62df\u5316\u3002\u4e3b\u8981\u9700\u6c42\u6765\u81ea\u4e8e\u6211\u6bcf\u5929\u90fd\u4f1a\u4f7f\u7528\u5bb6\u91cc\u7684\u51e0\u53f0\u865a\u62df\u673a\u5b8c\u6210\u4e0d\u540c\u7684\u5de5\u4f5c\u4efb\u52a1\u3002\u56e0\u4e3a\u865a\u62df\u673a\u6ca1\u6709\u663e\u5361\u6240\u4ee5\u5f88\u591a\u64cd\u4f5c\u6bd4\u8f83\u5361\uff0c\u7528\u7740\u4e0d\u662f\u90a3\u4e48\u987a\u624b\u3002\u4e5f\u6b63\u56e0\u4e3a&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":2677,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[555,554,545,553,556],"class_list":["post-2659","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-other","tag-m40","tag-p4","tag-pve","tag-tesla","tag-556"],"_links":{"self":[{"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/2659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=2659"}],"version-history":[{"count":6,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/2659\/revisions"}],"predecessor-version":[{"id":2733,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/2659\/revisions\/2733"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media\/2677"}],"wp:attachment":[{"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=2659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=2659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=2659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}