{"id":2224,"date":"2021-12-14T13:06:43","date_gmt":"2021-12-14T05:06:43","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=2224"},"modified":"2024-05-05T14:19:36","modified_gmt":"2024-05-05T06:19:36","slug":"ubuntu-%e9%85%8d%e7%bd%ae%e6%98%be%e5%8d%a1%e7%8e%af%e5%a2%83","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=2224","title":{"rendered":"Ubuntu \u914d\u7f6e CUDA \u73af\u5883"},"content":{"rendered":"\n<p>\u6ce8\u610f VMware \u865a\u62df\u673a\u65e0\u6cd5\u4f7f\u7528\u663e\u5361\uff0c\u65e0\u6cd5\u914d\u7f6e<\/p>\n\n\n\n<p>\u4e8e 2022.5.21 \u5728 Ubuntu 20.04 x86_64 \u6d4b\u8bd5<\/p>\n\n\n\n<p>CUDA \u4e0e\u9a71\u52a8\u7248\u672c\u7684\u5bf9\u5e94\u5173\u7cfb\uff1a<a href=\"https:\/\/docs.nvidia.com\/cuda\/cuda-toolkit-release-notes\/index.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/docs.nvidia.com\/cuda\/cuda-toolkit-release-notes\/index.html<\/a><\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong>\u5b89\u88c5\u663e\u5361\u9a71\u52a8<\/strong><\/p>\n\n\n\n<p>\u67e5\u770b\u8bbe\u5907\u53ef\u7528\u9a71\u52a8<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu-drivers devices<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"786\" height=\"533\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/2022-05-21-09-44-14-\u7684\u5c4f\u5e55\u622a\u56fe.png\" alt=\"\" class=\"wp-image-6062 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/2022-05-21-09-44-14-\u7684\u5c4f\u5e55\u622a\u56fe.png 786w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/2022-05-21-09-44-14-\u7684\u5c4f\u5e55\u622a\u56fe-300x203.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/2022-05-21-09-44-14-\u7684\u5c4f\u5e55\u622a\u56fe-768x521.png 768w\" data-sizes=\"(max-width: 786px) 100vw, 786px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 786px; --smush-placeholder-aspect-ratio: 786\/533;\" \/><\/figure>\n\n\n\n<p>\u5b89\u88c5\u9a71\u52a8<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt install -y nvidia-driver-\u7248\u672c<\/pre>\n\n\n\n<p>\u5b9e\u9645\u4e0a\u7cfb\u7edf\u4e5f\u662f\u9884\u88c5\u4e86\u9a71\u52a8\u7684<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">cat \/proc\/driver\/nvidia\/version<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"725\" height=\"121\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-63.png\" alt=\"\" class=\"wp-image-6064 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-63.png 725w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-63-300x50.png 300w\" data-sizes=\"(max-width: 725px) 100vw, 725px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 725px; --smush-placeholder-aspect-ratio: 725\/121;\" \/><\/figure>\n\n\n\n<p>\u4f46\u662f\u6211\u8fd9\u91cc\u8981\u5b89\u88c5 CUDA 11.6.2\uff0c\u8981\u6c42\u9a71\u52a8\u7248\u672c\u81f3\u5c11\u8fbe\u5230 510.47.03\uff0c\u6309\u7167\u4e0a\u9762\u7684\u65b9\u5f0f\u4e5f\u662f\u53ef\u4ee5\u5b89\u88c5 510 \u7684\uff0c\u4f46\u662f\u90a3\u4e2a\u5e94\u8be5\u662f\u5b89\u88c5\u7684\u516c\u5171\u9a71\u52a8\uff0c\u6709\u4e00\u6b21\u6211\u5b89\u88c5\u540e\u5c31\u5f00\u4e0d\u4e86\u673a\u4e86\u3002\u6240\u4ee5\u6211\u4e00\u822c\u662f\u53bb\u5b98\u7f51\u4e0b\u8f7d\u5339\u914d\u663e\u5361\u578b\u53f7\u7684\u9a71\u52a8\u8fdb\u884c\u5b89\u88c5\uff1a<a href=\"https:\/\/www.nvidia.cn\/geforce\/drivers\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.nvidia.cn\/geforce\/drivers\/<\/a><\/p>\n\n\n\n<p>\u67e5\u770b\u663e\u5361\u578b\u53f7<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">lspci | grep NVIDIA<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"739\" height=\"77\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-60.png\" alt=\"\" class=\"wp-image-6053 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-60.png 739w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-60-300x31.png 300w\" data-sizes=\"(max-width: 739px) 100vw, 739px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 739px; --smush-placeholder-aspect-ratio: 739\/77;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"603\" height=\"605\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-62.png\" alt=\"\" class=\"wp-image-6060 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-62.png 603w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-62-300x300.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-62-150x150.png 150w\" data-sizes=\"(max-width: 603px) 100vw, 603px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 603px; --smush-placeholder-aspect-ratio: 603\/605;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"830\" height=\"157\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-64.png\" alt=\"\" class=\"wp-image-6068 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-64.png 830w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-64-300x57.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-64-768x145.png 768w\" data-sizes=\"(max-width: 830px) 100vw, 830px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 830px; --smush-placeholder-aspect-ratio: 830\/157;\" \/><\/figure>\n\n\n\n<p>\u684c\u9762\u73af\u5883\u4e0b\u7cfb\u7edf\u9884\u88c5\u7684\u663e\u5361\u9a71\u52a8\u5df2\u7ecf\u52a0\u8f7d\u5230\u5185\u6838\u4e2d\uff0c\u76f4\u63a5\u5b89\u88c5\u4f1a\u5931\u8d25\u3002\u5efa\u8bae\u91cd\u542f\u8fdb Recovry \u6a21\u5f0f\u8fdb\u884c\u5b89\u88c5\uff0croot \u6743\u9650\u6267\u884c\u4e0b\u8f7d\u7684\u5b89\u88c5\u7a0b\u5e8f\uff08NVIDIA-Linux-x86_64[\u7248\u672c]run\uff09\u3002<\/p>\n\n\n\n<p>\u5b89\u88c5\u8fc7\u7a0b\u6d89\u53ca\u5230\u7f16\u8bd1\uff0c\u5728\u5b89\u88c5\u524d\u5e94\u5148\u5b89\u88c5\u5de5\u5177\u94fe<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt update\nsudo apt install -y build-essential pkg-config cmake libglvnd-dev<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1000\" height=\"289\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-65.png\" alt=\"\" class=\"wp-image-6073 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-65.png 1000w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-65-300x87.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-65-768x222.png 768w\" data-sizes=\"(max-width: 1000px) 100vw, 1000px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1000px; --smush-placeholder-aspect-ratio: 1000\/289;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1000\" height=\"249\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-66.png\" alt=\"\" class=\"wp-image-6074 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-66.png 1000w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-66-300x75.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-66-768x191.png 768w\" data-sizes=\"(max-width: 1000px) 100vw, 1000px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1000px; --smush-placeholder-aspect-ratio: 1000\/249;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1000\" height=\"565\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/1653103244227.jpg\" alt=\"\" class=\"wp-image-6075 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/1653103244227.jpg 1000w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/1653103244227-300x170.jpg 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/1653103244227-768x434.jpg 768w\" data-sizes=\"(max-width: 1000px) 100vw, 1000px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1000px; --smush-placeholder-aspect-ratio: 1000\/565;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1000\" height=\"196\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-67.png\" alt=\"\" class=\"wp-image-6076 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-67.png 1000w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-67-300x59.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-67-768x151.png 768w\" data-sizes=\"(max-width: 1000px) 100vw, 1000px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1000px; --smush-placeholder-aspect-ratio: 1000\/196;\" \/><\/figure>\n\n\n\n<p>\u4e2d\u95f4\u6709\u4e00\u4e2a\u8be2\u95ee\u662f\u5426\u5b89\u88c5 32 \u4f4d\u9a71\u52a8\uff0c\u53ef\u4ee5\u9009 no\uff0c64 \u4f4d\u7cfb\u7edf\u6ca1\u6709\u5fc5\u8981\u518d\u88c5 32 \u4f4d\u7684\u3002\u5b89\u88c5\u5b8c\u91cd\u542f\u6b63\u5e38\u8fdb\u5165\u7cfb\u7edf\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"722\" height=\"106\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-68.png\" alt=\"\" class=\"wp-image-6077 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-68.png 722w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-68-300x44.png 300w\" data-sizes=\"(max-width: 722px) 100vw, 722px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 722px; --smush-placeholder-aspect-ratio: 722\/106;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong>\u5b89\u88c5 CUDA<\/strong><\/p>\n\n\n\n<p>CUDA \u5386\u53f2\u53d1\u5e03\u7248\u672c\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/developer.nvidia.com\/cuda-toolkit-archive\" target=\"_blank\">https:\/\/developer.nvidia.com\/cuda-toolkit-archive<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"545\" height=\"514\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-70.png\" alt=\"\" class=\"wp-image-6083 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-70.png 545w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-70-300x283.png 300w\" data-sizes=\"(max-width: 545px) 100vw, 545px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 545px; --smush-placeholder-aspect-ratio: 545\/514;\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9 CUDA \u7248\u672c\u540e\uff0c\u518d\u6839\u636e\u73af\u5883\u8fdb\u884c\u9009\u62e9\uff0c\u4e0b\u9762\u4f1a\u663e\u793a\u76f8\u5173\u64cd\u4f5c\u547d\u4ee4\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"554\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-69-1024x554.png\" alt=\"\" class=\"wp-image-6080 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-69-1024x554.png 1024w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-69-300x162.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-69-768x416.png 768w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/image-69.png 1260w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/554;\" \/><\/figure>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">wget https:\/\/developer.download.nvidia.com\/compute\/cuda\/repos\/ubuntu2004\/x86_64\/cuda-ubuntu2004.pin\nsudo mv cuda-ubuntu2004.pin \/etc\/apt\/preferences.d\/cuda-repository-pin-600\nwget https:\/\/developer.download.nvidia.com\/compute\/cuda\/11.6.2\/local_installers\/cuda-repo-ubuntu2004-11-6-local_11.6.2-510.47.03-1_amd64.deb\nsudo dpkg -i cuda-repo-ubuntu2004-11-6-local_11.6.2-510.47.03-1_amd64.deb\nsudo apt-key add \/var\/cuda-repo-ubuntu2004-11-6-local\/7fa2af80.pub\nsudo apt-get update\nsudo apt-get -y install cuda<\/pre>\n\n\n\n<p>\u5b89\u88c5\u5b8c CUDA \u540e\u91cd\u542f\u8ba1\u7b97\u673a<\/p>\n\n\n\n<p>\u4f7f\u7528\u4e0b\u9762\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u663e\u5361\u4fe1\u606f\uff0c\u52a0\u4e0a -l \u53c2\u6570\u53ef\u4ee5\u6301\u7eed\u66f4\u65b0\uff08\u663e\u5b58\u3001GPU \u4f7f\u7528\u7387\uff09<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">nvidia-smi<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"786\" height=\"533\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/2022-05-21-12-06-29-\u7684\u5c4f\u5e55\u622a\u56fe.png\" alt=\"\" class=\"wp-image-6089 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/2022-05-21-12-06-29-\u7684\u5c4f\u5e55\u622a\u56fe.png 786w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/2022-05-21-12-06-29-\u7684\u5c4f\u5e55\u622a\u56fe-300x203.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/2022-05-21-12-06-29-\u7684\u5c4f\u5e55\u622a\u56fe-768x521.png 768w\" data-sizes=\"(max-width: 786px) 100vw, 786px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 786px; --smush-placeholder-aspect-ratio: 786\/533;\" \/><\/figure>\n\n\n\n<p>\u6ce8\u610f\u4e0a\u9762\u663e\u793a\u7684 CUDA \u7248\u672c\u662f\u6307\u663e\u5361\u9a71\u52a8\u5185\u7f6e\u7684 CUDA \u7248\u672c\uff0c\u5982\u679c\u624b\u52a8\u5b89\u88c5\u7684 CUDA \u7248\u672c\u4e0d\u540c\uff0c\u4ee5\u624b\u52a8\u5b89\u88c5\u7684\u4e3a\u51c6<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/usr\/local\/cuda\/bin\/nvcc --version<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"786\" height=\"533\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/2022-05-21-12-07-21-\u7684\u5c4f\u5e55\u622a\u56fe.png\" alt=\"\" class=\"wp-image-6090 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/2022-05-21-12-07-21-\u7684\u5c4f\u5e55\u622a\u56fe.png 786w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/2022-05-21-12-07-21-\u7684\u5c4f\u5e55\u622a\u56fe-300x203.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/05\/2022-05-21-12-07-21-\u7684\u5c4f\u5e55\u622a\u56fe-768x521.png 768w\" data-sizes=\"(max-width: 786px) 100vw, 786px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 786px; --smush-placeholder-aspect-ratio: 786\/533;\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><strong>\u5b89\u88c5 cuDNN<\/strong><\/p>\n\n\n\n<p>\u4e0b\u8f7d\u5730\u5740\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/developer.nvidia.com\/rdp\/cudnn-archive#a-collapse51b\" target=\"_blank\">https:\/\/developer.nvidia.com\/rdp\/cudnn-archive#a-collapse51b<\/a> \uff08\u9700\u8981\u6ce8\u518c\u767b\u5f55\u5e10\u53f7\u624d\u80fd\u4e0b\u8f7d\uff09<\/p>\n\n\n\n<p>\u4e0b\u8f7d cuDNN \u7248\u672c\u9700\u8981\u4e0e CUDA \u7248\u672c\u5bf9\u5e94\uff0c\u9700\u8981\u4e0b\u8f7d\u4e24\u4e2a\u6587\u4ef6\uff0c\u4e00\u4e2a\u662f\u8fd0\u884c\u5e93\uff0c\u53e6\u5916\u4e00\u4e2a\u662f\u5f00\u53d1\u5e93\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"583\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2021\/12\/2021-12-14-13-04-17-\u7684\u5c4f\u5e55\u622a\u56fe-1024x583.png\" alt=\"\" class=\"wp-image-2229 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2021\/12\/2021-12-14-13-04-17-\u7684\u5c4f\u5e55\u622a\u56fe-1024x583.png 1024w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2021\/12\/2021-12-14-13-04-17-\u7684\u5c4f\u5e55\u622a\u56fe-300x171.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2021\/12\/2021-12-14-13-04-17-\u7684\u5c4f\u5e55\u622a\u56fe-768x438.png 768w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2021\/12\/2021-12-14-13-04-17-\u7684\u5c4f\u5e55\u622a\u56fe-1536x875.png 1536w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2021\/12\/2021-12-14-13-04-17-\u7684\u5c4f\u5e55\u622a\u56fe.png 1848w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/583;\" \/><\/figure>\n\n\n\n<p>\u4e0b\u8f7d\u540e\u5148\u5b89\u88c5\u6587\u4ef6\u540d\u4e0d\u5e26 dev \u7684\u8fd0\u884c\u5e93\uff0c\u518d\u5b89\u88c5 dev \u5f00\u53d1\u5e93<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"786\" height=\"533\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2021\/12\/2021-12-19-01-20-25-\u7684\u5c4f\u5e55\u622a\u56fe.png\" alt=\"\" class=\"wp-image-2341 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2021\/12\/2021-12-19-01-20-25-\u7684\u5c4f\u5e55\u622a\u56fe.png 786w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2021\/12\/2021-12-19-01-20-25-\u7684\u5c4f\u5e55\u622a\u56fe-300x203.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2021\/12\/2021-12-19-01-20-25-\u7684\u5c4f\u5e55\u622a\u56fe-768x521.png 768w\" data-sizes=\"(max-width: 786px) 100vw, 786px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 786px; --smush-placeholder-aspect-ratio: 786\/533;\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6ce8\u610f VMware \u865a\u62df\u673a\u65e0\u6cd5\u4f7f\u7528\u663e\u5361\uff0c\u65e0\u6cd5\u914d\u7f6e \u4e8e 2022.5.21 \u5728 Ubuntu 20.04 x86 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[1,598],"tags":[],"class_list":["post-2224","post","type-post","status-publish","format-standard","hentry","category-all","category-linux"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/2224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2224"}],"version-history":[{"count":0,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/2224\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}