{"id":12620,"date":"2025-04-18T19:43:17","date_gmt":"2025-04-18T11:43:17","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/12620.html"},"modified":"2025-04-18T19:43:17","modified_gmt":"2025-04-18T11:43:17","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%98%be%e5%8d%a1%e9%a9%b1%e5%8a%a8%e3%80%81cuda%e3%80%81cudnn%e3%80%81conda%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/12620.html","title":{"rendered":"\u670d\u52a1\u5668\u663e\u5361\u9a71\u52a8\u3001CUDA\u3001cuDNN\u3001conda\u5b89\u88c5"},"content":{"rendered":"<h2>&#xff08;1&#xff09;\u67e5\u770b\u670d\u52a1\u5668\u73af\u5883&#xff1a;<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"59\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114312-68023ad0e4f55.png\" width=\"297\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"138\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114312-68023ad0f180b.png\" width=\"698\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"141\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114313-68023ad10c2a6.png\" width=\"687\" \/><\/p>\n<h2 id=\"%EF%BC%882%EF%BC%89%E7%A1%AE%E5%AE%9A%E5%8F%AF%E5%AE%89%E8%A3%85CUDA%E7%89%88%E6%9C%AC%EF%BC%9A\">&#xff08;2&#xff09;\u786e\u5b9a\u53ef\u5b89\u88c5CUDA\u7248\u672c&#xff1a;<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"476\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114313-68023ad11a968.png\" width=\"1126\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"913\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114313-68023ad1516e5.png\" width=\"1063\" \/><\/p>\n<p>NVIDIA CUDA Toolkit Release Notes<\/p>\n<p>\u53ef\u5b89\u88c512.0\u81f312.3,\u5f53\u713612\u4ee5\u4e0b\u4e5f\u53ef\u4ee5<\/p>\n<h2 id=\"(3)%E5%AE%89%E8%A3%8512.3%EF%BC%9A\">&#xff08;3&#xff09;\u5b89\u88c512.3&#xff1a;<\/h2>\n<p>\u53c2\u8003&#xff1a;CUDA\u4e0ecuDNN\u5728linux \/ Ubuntu22.04\u4e0a\u7684\u5b89\u88c5\u4e0e\u5378\u8f7d&#xff0c;\u5305\u542bCUDA\u7684.run\u5b89\u88c5\u4e0e.deb\u5b89\u88c5&#xff0c;cuDNN\u7684.tar\u5b89\u88c5\u4e0e.deb\u5b89\u88c5_ubuntu22.04\u5378\u8f7dcudnn-CSDN\u535a\u5ba2<\/p>\n<p>Linux\u670d\u52a1\u5668\u4e0a\u5b89\u88c5CUDA11.2\u548c\u5bf9\u5e94\u7684cuDNN 8.4.0_linux\u5b89\u88c5cuda-CSDN\u535a\u5ba2<\/p>\n<p>\u3010\u8bb0\u5f55\u3011linux20.04\u5b89\u88c5cuda\u3001cudnn\u4ee5\u53caanaconda\u8fc7\u7a0b_linux cudnn-CSDN\u535a\u5ba2<\/p>\n<p>\u3010linux\u3011\u670d\u52a1\u5668ubuntu\u5b89\u88c5cuda11.0\u3001cuDNN\u6559\u7a0b&#xff0c;\u7b80\u5355\u6613\u61c2&#xff0c;\u5305\u6559\u5305\u4f1a_\u670d\u52a1\u5668\u5b89\u88c5cuda-CSDN\u535a\u5ba2<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"806\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114313-68023ad1b0757.png\" width=\"1142\" \/><\/p>\n<p>CUDA Toolkit<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"948\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114314-68023ad214d48.png\" width=\"1315\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"448\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114314-68023ad276709.png\" width=\"2487\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"558\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114314-68023ad2e6be9.png\" width=\"904\" \/><\/p>\n<p>\u5df2\u6709\u9a71\u52a8&#xff0c;\u6240\u4ee5\u53d6\u6d88Driver\u5b89\u88c5(\u7a7a\u683c\u952e\u6216\u5de6\u53f3\u952e\u5207\u6362)&#xff0c;\u4e0a\u4e0b\u952e\u79fb\u52a8\u5230Install<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"452\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114315-68023ad31b336.png\" width=\"2036\" \/><\/p>\n<p>\u6dfb\u52a0\u73af\u5883\u53d8\u91cf&#xff1a;<\/p>\n<p>sudo vim ~\/.bashrc <\/p>\n<p>\u5728 Vim \u7f16\u8f91\u5668\u91cc&#xff0c;i\u8fdb\u5165\u63d2\u5165\u6a21\u5f0f &#xff0c;Esc \u952e\u56de\u5230\u547d\u4ee4\u6a21\u5f0f&#xff0c;\u5728\u547d\u4ee4\u6a21\u5f0f\u4e0b&#xff0c;\u6309\u4e0b : \u540e&#xff0c;Vim \u4f1a\u5728\u7f16\u8f91\u5668\u5e95\u90e8\u663e\u793a\u4e00\u4e2a\u547d\u4ee4\u884c\u8f93\u5165\u533a\u57df&#xff0c;:wq \u548c \ud83d\ude21 \u90fd\u662f\u7528\u4e8e\u4fdd\u5b58\u6587\u4ef6\u4fee\u6539\u5e76\u9000\u51fa\u7f16\u8f91&#xff0c;:q!\u00a0\u7528\u4e8e\u4e0d\u4fdd\u5b58\u9000\u51fa\u3002<\/p>\n<p>#cuda init<br \/>\nexport PATH&#061;$PATH:\/usr\/local\/cuda-12.3\/bin<br \/>\nexport LD_LIBRARY_PATH&#061;\/usr\/local\/cuda-12.3\/lib64 <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"83\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114315-68023ad367aa8.png\" width=\"480\" \/><\/p>\n<p>\u66f4\u65b0bashrc\u6587\u4ef6<\/p>\n<p>source ~\/.bashrc <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"156\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114315-68023ad374c84.png\" width=\"392\" \/><\/p>\n<p>\u6709\u65f6\u9700\u8981\u91cd\u542f\u624d\u884c\u3002<\/p>\n<p>\u67e5\u770b\u73af\u5883\u53d8\u91cf&#xff1a;<\/p>\n<p>echo $PATH<br \/>\necho $LD_LIBRARY_PATH <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"84\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114315-68023ad384f8c.png\" width=\"915\" \/><\/p>\n<h2 id=\"%EF%BC%884%EF%BC%89%E6%8F%92%E6%9B%B21%E4%B9%8BCUDA12.0%E5%AE%89%E8%A3%85%E3%80%81%E9%A9%B1%E5%8A%A8%E5%8D%B8%E8%BD%BD%E5%AE%89%E8%A3%85%EF%BC%9A\">&#xff08;4&#xff09;\u63d2\u66f2\u4e4bCUDA12.0\u5b89\u88c5\u3001\u9a71\u52a8\u5378\u8f7d\u5b89\u88c5&#xff1a;<\/h2>\n<p>\u7b2c\u4e00\u6b21\u66f4\u65b0bashrc\u6587\u4ef6\u540e&#xff0c;nvcc -V\u67e5\u770b\u53d1\u73b0\u8fd8\u662f10.1&#xff0c;\u7531\u4e8e\u65e0\u8111\u8ddf\u6559\u7a0b&#xff0c;\u628a\u5df2\u6709550\u9a71\u52a8\u5378\u4e86&#xff01;&#xff01;&#xff01;&#xff08;\u6211\u5e94\u8be5\u91cd\u542f\u7684\u706c\ua20d \ua20d\u706c&#xff0c;\u81f3\u5c11\u4e0b\u6b21\u67e5\u6e05\u4ee3\u7801\u4ec0\u4e48\u610f\u601d\u518d\u8dd1\u554a)<\/p>\n<p>\u867d\u7136\u4f46\u662f&#xff0c;\u8fd8\u662f\u8bb0\u5f55\u4e00\u4e0b\u5378\u8f7d\u6240\u6709\u4ee3\u7801&#xff1a;<\/p>\n<p>sudo apt-get remove nvidia-* #\u4f7f\u7528 apt-get \u5de5\u5177\u5378\u8f7d\u6240\u6709\u4ee5 nvidia- \u5f00\u5934\u7684\u8f6f\u4ef6\u5305&#xff0c;\u4f46\u4fdd\u7559\u5b83\u4eec\u7684\u914d\u7f6e\u6587\u4ef6<br \/>\nsudo \/usr\/bin\/nvidia-uninstall #\u8fd0\u884c NVIDIA \u5b98\u65b9\u63d0\u4f9b\u7684\u5378\u8f7d\u811a\u672c&#xff0c;\u5bf9 NVIDIA \u9a71\u52a8\u8fdb\u884c\u66f4\u5f7b\u5e95\u7684\u5378\u8f7d<br \/>\nsudo apt-get &#8211;purge remove nvidia-* #\u4f7f\u7528 apt-get \u5de5\u5177\u5378\u8f7d\u6240\u6709\u4ee5 nvidia- \u5f00\u5934\u7684\u8f6f\u4ef6\u5305&#xff0c;\u5e76\u5220\u9664\u5b83\u4eec\u7684\u914d\u7f6e\u6587\u4ef6<br \/>\nsudo apt autoremove nvidia-* #\u6839\u636e\u4e0a\u53e5\u8f93\u51fa\u63d0\u793a\u6267\u884c&#xff0c;\u4f7f\u7528 apt \u5de5\u5177\u81ea\u52a8\u79fb\u9664\u6240\u6709\u4ee5 nvidia- \u5f00\u5934\u7684\u8f6f\u4ef6\u5305&#xff0c;\u5e76\u4e14\u4f1a\u987a\u5e26\u5220\u9664\u90a3\u4e9b\u56e0\u5378\u8f7d\u8fd9\u4e9b NVIDIA \u76f8\u5173\u8f6f\u4ef6\u5305\u800c\u53d8\u5f97\u4e0d\u518d\u9700\u8981\u7684\u4f9d\u8d56\u5305<br \/>\nsudo apt-get purge nvidia* #\u4f7f\u7528 apt-get \u5de5\u5177\u5378\u8f7d\u6240\u6709\u4ee5 nvidia \u5f00\u5934\u7684\u8f6f\u4ef6\u5305&#xff0c;\u5e76\u5220\u9664\u5b83\u4eec\u7684\u914d\u7f6e\u6587\u4ef6<br \/>\nsudo apt-get purge libnvidia* #\u4f7f\u7528 apt-get \u5de5\u5177\u5378\u8f7d\u6240\u6709\u4ee5 libnvidia \u5f00\u5934\u7684\u8f6f\u4ef6\u5305&#xff0c;\u5e76\u5220\u9664\u5b83\u4eec\u7684\u914d\u7f6e\u6587\u4ef6<br \/>\nsudo dpkg &#8211;list | grep nvidia-* #\u76f4\u5230\u547d\u4ee4\u4e0d\u8f93\u51fa\u4efb\u4f55\u5185\u5bb9<br \/>\nubuntu-drivers devices #\u67e5\u627e\u53ef\u7528\u7684\u9a71\u52a8\u7248\u672c<br \/>\nsudo apt-get install nvidia-driver-535 nvidia-settings nvidia-prime #\u5b89\u88c5recommended\u7684535&#xff0c;\u4e3a\u4ec0\u4e48\u4e0d\u662f550&#xff1f;&#xff01;<\/p>\n<p>\u5378\u8f7d\u4ee3\u7801\u7cbe\u70bc&#xff1a;\u00a0<\/p>\n<p>sudo \/usr\/bin\/nvidia-uninstall <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"413\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114315-68023ad39577d.png\" width=\"940\" \/><\/p>\n<p>\u4ece\u6b64\u5c71\u8def\u5341\u516b\u5f2f(\u706c\ua20d \ua20d\u706c)&#xff1a;<\/p>\n<p>\u5b89\u88c5\u4e86\u9a71\u52a8535\u4e4b\u540e&#xff0c;\u5b89\u88c5\u4e86CUDA12.0&#xff0c;nvidia-smi\u51fa\u73b0\u95ee\u9898&#xff1a;<\/p>\n<p>1&#xff09;-bash: \/usr\/bin\/nvidia-smi: No such file or directory<\/p>\n<p>2&#xff09;NVIDIA-SMI has failed because it couldn&#039;t communicate with the NVIDIA driver.\u00a0 Make sure that the latest NVIDIA driver is installed and running.<\/p>\n<p>\u53c8\u5378\u6389535&#xff0c;\u53c8\u5b89\u88c5535&#xff1a;<\/p>\n<p>\u53c2\u8003&#xff1a;\u670d\u52a1\u5668&#xff1a;\u663e\u5361\u9a71\u52a8\u91cd\u88c5&#xff08;Ubuntu 20.04&#xff09;_ubuntu20.04\u5b89\u88c5\u663e\u5361\u9a71\u52a8-CSDN\u535a\u5ba2<\/p>\n<p>sudo apt install nvidia-driver-535-server <\/p>\n<p>&#xff0c;nvidia-smi\u7ec8\u4e8e\u8f93\u51fa\u6b63\u5e38&#xff0c;\u4f46550\u624d\u662f\u5b98\u65b9\u63a8\u8350\u7248\u672c<\/p>\n<p>\u4e0b\u8f7d NVIDIA \u5b98\u65b9\u9a71\u52a8 | NVIDIA<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"606\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114315-68023ad3ba218.png\" width=\"625\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"614\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114315-68023ad3d25c6.png\" width=\"1404\" \/><\/p>\n<p>\u6240\u4ee5\u53c8\u5378\u6389535&#xff1a;<\/p>\n<p>  306  sudo \/usr\/bin\/nvidia-uninstall #\u9047\u5230bug<br \/>\n  307  sudo apt-get remove nvidia-* #\u5220\u9664\u65e0\u6548\u9a71\u52a8<br \/>\n  314  sudo apt install nvidia-utils-550-server #\u5b89\u4e0d\u4e86<br \/>\n  316  sudo dpkg &#8211;list | grep nvidia-*<br \/>\n  317  sudo \/usr\/bin\/nvidia-uninstall  #\u9047\u5230bug<br \/>\n  318  sudo apt-get &#8211;purge remove nvidia-*<br \/>\n  319  sudo apt autoremove nvidia-*<br \/>\n  320  sudo apt-get purge nvidia*<br \/>\n  321  sudo apt-get purge libnvidia*<br \/>\n  322  sudo dpkg &#8211;list | grep nvidia-*<br \/>\n  323  ubuntu-drivers devices <\/p>\n<p>&#xff0c;\u628a550\u5b89\u56de\u53bb(\u706c\ua20d \ua20d\u706c)<\/p>\n<p>\u53c2\u8003&#xff1a;\u5fae\u4fe1\u89c6\u9891\u53f7&#xff1a;\u73d1\u4eac\u79d1\u6280\u3001\u5929\u7528\u79d1\u6280<\/p>\n<p>  350  wget https:\/\/cn.download.nvidia.com\/XFree86\/Linux-x86_64\/550.144.03\/NVIDIA-Linux-x86_64-550.144.03.run  #\u4e0b\u8f7dnvidia\u9a71\u52a8<br \/>\n  351  ls NVIDIA-Linux-x86_64-550.144.03.run #\u67e5\u770b\u4e0b\u8f7d\u7684\u6587\u4ef6<br \/>\n  340  sudo vim \/etc\/netplan\/00-installer-config.yaml #\u4fee\u6539\u914d\u7f6e\u6587\u4ef6<br \/>\n    \u672b\u5c3e\u6dfb\u52a0&#xff1a;<br \/>\n    blacklist nouveau<br \/>\n    blacklist lbm-nouveau<br \/>\n    options nouveau modeset&#061;0<br \/>\n    alias nouveau off<br \/>\n    alias lbm-nouveau off<\/p>\n<p>  343  which gcc # \u6709\u8f93\u51fa\u8bf4\u660e\u5df2\u5b89\u88c5&#xff0c;\u5982\u65e0\u5b89\u88c5&#xff1a;sudo apt-get install gcc<br \/>\n  344  which make # \u6709\u8f93\u51fa\u8bf4\u660e\u5df2\u5b89\u88c5&#xff0c;\u5982\u65e0\u5b89\u88c5&#xff1a;sudo apt-get install make<br \/>\n  345  ls<br \/>\n  346  chmod &#043;x  NVIDIA-Linux-x86_64-550.144.03.run #\u8d4b\u4e88\u6267\u884c\u6743\u9650<br \/>\n  348  ls -l NVIDIA-Linux-x86_64-550.144.03.run #\u4f7f\u7528 ls -l \u547d\u4ee4\u786e\u8ba4\u6743\u9650\u662f\u5426\u5df2\u7ecf\u6dfb\u52a0\u6210\u529f<br \/>\n  349  sudo .\/NVIDIA-Linux-x86_64-550.144.03.run\u00a0&#8211;no-opengl-files  #\u9047\u5230bug:command not found<br \/>\n  356  sudo .\/NVIDIA-Linux-x86_64-550.144.03.run &#8211;no-opengl-files #\u624b\u52a8\u6572\u5c31\u597d\u4e86&#xff0c;\u6ca1\u770b\u51fa\u548c\u4e0a\u9762\u6709\u5565\u533a\u522b\u554a<br \/>\n  #\u5b89\u88c5\u65f6&#xff0c;Woluld you like to register the kernel module sources with DKMS? No<br \/>\n  #Nvidia&#039;s 32-bit compatibility libraries? No<br \/>\n  357  sudo reboot<br \/>\n  358  nvidia-smi <\/p>\n<h2 id=\"%EF%BC%885%EF%BC%89%E5%A4%9ACUDA%E5%88%87%E6%8D%A2\">&#xff08;5&#xff09;\u591aCUDA\u5207\u6362<\/h2>\n<p>\u901a\u8fc7.run\u6587\u4ef6\u5b89\u88c5\u7684CUDA\u7248\u672c\u901a\u5e38\u53ef\u4ee5\u901a\u8fc7\u67e5\u770b\/usr\/local\u76ee\u5f55\u6765\u68c0\u67e5&#xff1a;<\/p>\n<p>ls \/usr\/local | grep cuda<br \/>\nls -l \/usr\/local\/cuda <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"65\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114316-68023ad424232.png\" width=\"312\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"59\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114316-68023ad43127b.png\" width=\"578\" \/><\/p>\n<p>\u8868\u660e cuda \u662f\u4e00\u4e2a\u7b26\u53f7\u94fe\u63a5&#xff0c;\u5b83\u6307\u5411 cuda-12.0 \u76ee\u5f55<\/p>\n<p>\u7531\u4e8e\u5b89\u88c5cuda-12.0\u65f6&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"371\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114316-68023ad43def4.png\" width=\"570\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"384\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114316-68023ad451be8.png\" width=\"570\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"380\" src=\"2025-04-18celbowzkxv0.png\" width=\"567\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"376\" src=\"2025-04-18hrm0jzui15m.png\" width=\"566\" \/><\/p>\n<p>\u672a\u53d6\u6d88\u8ba9\u5b89\u88c5\u7a0b\u5e8f\u81ea\u52a8\u66f4\u65b0\u8f6f\u94fe\u63a5&#xff0c;\u6240\u4ee5\u8f6f\u94fe\u63a5\u6307\u5411\u540e\u5b89\u88c5\u7684cuda-12.0<\/p>\n<p>\u6cd51&#xff1a;\u4fee\u6539.bashrc\u6587\u4ef6\u4e2d\u7684cuda\u7248\u672c\u53f7\u5b9e\u73b0\u591aCUDA\u5207\u6362<\/p>\n<p>sudo vim ~\/.bashrc<br \/>\n# .bashrc\u6587\u4ef6\u672b\u5c3e\u4e09\u884c&#xff0c;\u4fee\u6539\u7248\u672c\u53f712.3<br \/>\n# cuda init<br \/>\nexport PATH&#061;$PATH:\/usr\/local\/cuda-12.3\/bin<br \/>\nexport LD_LIBRARY_PATH&#061;\/usr\/local\/cuda-12.3\/lib64<\/p>\n<p>source ~\/.bashrc <\/p>\n<p>\u4fee\u6539\u540envcc -V\u663e\u793a12.3&#xff0c;\u00a0\u4f46\u8f6f\u94fe\u63a5\/usr\/local\/cuda\u8fd8\u662f\u6307\u541112.0&#xff0c;<\/p>\n<p>\u6ce8\u610f&#xff1a;\u5f53\u524d\u5b9e\u9645\u4f7f\u7528\u7684 CUDA \u7248\u672c\u4ee5 nvcc -V \u4e3a\u51c6<\/p>\n<p>\u6b64\u65f6\u82e5\u60f3\u89e3\u51b3\u7248\u672c\u4e0d\u4e00\u81f4\u7684\u95ee\u9898&#xff0c;\u9700\u8981\u66f4\u65b0\u7b26\u53f7\u94fe\u63a5&#xff1a;<\/p>\n<p>sudo rm -rf \/usr\/local\/cuda<br \/>\nsudo ln -s \/usr\/local\/cuda-12.3 \/usr\/local\/cuda <\/p>\n<p>\u4e5f\u5c31\u662f\u5207\u6362CUDA\u7248\u672c\u9700\u8981\u6539\u4e24\u4e2a\u5730\u65b9&#xff0c;\u63a8\u8350\u6cd52&#xff01;<\/p>\n<p>\u6cd52&#xff1a;.bashrc\u6587\u4ef6\u4e2d\u7684cuda\u6307\u5411\u8f6f\u94fe\u63a5&#xff0c;\u624b\u52a8\u4fee\u6539\u8f6f\u94fe\u63a5\u4ee5\u6307\u5411\u4e0d\u540c\u7248\u672c\u7684CUDA\u00a0<\/p>\n<p># .bashrc\u6587\u4ef6\u672b\u5c3e\u6dfb\u52a0\u4ee5\u4e0b\u4e09\u884c&#xff1a;<br \/>\n# cuda init<br \/>\nexport PATH&#061;$PATH:\/usr\/local\/cuda\/bin<br \/>\nexport LD_LIBRARY_PATH&#061;\/usr\/local\/cuda\/lib64<\/p>\n<p># \u5220\u4e86\u65e7\u7684\u8f6f\u94fe\u63a5&#xff0c;\u94fe\u63a5\u65b0\u7684\u76ee\u5f55\u5373\u53ef<br \/>\nsudo rm -rf \/usr\/local\/cuda<br \/>\nsudo ln -s \/usr\/local\/cuda-12.3 \/usr\/local\/cuda<\/p>\n<p>\u81ea\u7531\u5207\u6362&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"339\" src=\"2025-04-18nt4yhnjnisy.png\" width=\"675\" \/><\/p>\n<p>\u6709\u65f6\u9700\u8981sudo reboot \u6216\u00a0sudo ldconfig\u00a0\u5237\u65b0<\/p>\n<p>\u8fdb\u4e00\u6b65\u6d4b\u8bd5&#xff1a;<\/p>\n<p>  442  cd installpackage<br \/>\n  443  nvcc add.cu -o add<br \/>\n  444  .\/add <\/p>\n<p>\u8f93\u51fa0 3 6 9 12 15 18 21 24 27&#xff0c;CUDA\u53ef\u7528&#xff01;\u00a0<\/p>\n<p>GPU\u670d\u52a1\u5668\u5b89\u88c5\u663e\u5361\u9a71\u52a8\u3001CUDA\u548ccuDNN_existing package manager installation of the drive-CSDN\u535a\u5ba2<\/p>\n<p>Linux\u4e4bcuda\u3001cudnn\u5b89\u88c5\u53ca\u7248\u672c\u5207\u6362_cudnn\u7248\u672c-CSDN\u535a\u5ba2<\/p>\n<p>\u670d\u52a1\u5668&#xff1a;\u591aCUDA\u914d\u7f6e_\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u591a\u4e2acuda-CSDN\u535a\u5ba2<\/p>\n<p>\u3010\u8bb0\u5f55\u3011linux20.04\u5b89\u88c5cuda\u3001cudnn\u4ee5\u53caanaconda\u8fc7\u7a0b_linux cudnn-CSDN\u535a\u5ba2<\/p>\n<p>CUDA\u4e0ecuDNN\u5728linux \/ Ubuntu22.04\u4e0a\u7684\u5b89\u88c5\u4e0e\u5378\u8f7d&#xff0c;\u5305\u542bCUDA\u7684.run\u5b89\u88c5\u4e0e.deb\u5b89\u88c5&#xff0c;cuDNN\u7684.tar\u5b89\u88c5\u4e0e.deb\u5b89\u88c5_ubuntu22.04\u5378\u8f7dcudnn-CSDN\u535a\u5ba2<\/p>\n<h2 id=\"%EF%BC%886%EF%BC%89%E5%AE%89%E8%A3%85cuDNN%C2%A0\">&#xff08;6&#xff09;\u5b89\u88c5cuDNN\u00a0<\/h2>\n<p>\u7531\u4e8e\u6709\u591a\u7248\u672c\u9700\u6c42&#xff0c;\u56e0\u6b64\u4f7f\u7528.tar\u538b\u7f29\u5305\u5b89\u88c5<\/p>\n<p>cuDNN Archive | NVIDIA Developer<\/p>\n<p>\u5b98\u7f51\u4e0b\u8f7d\u5f97\u5230<\/p>\n<p>CUDA12.0\u5bf9\u5e94cudnn-linux-x86_64-8.8.0.121_cuda12-archive.tar.xz<\/p>\n<p>CUDA12.3\u5bf9\u5e94cudnn-linux-x86_64-8.9.5.30_cuda12-archive.tar.xz<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"842\" src=\"2025-04-18e2qtgmc2wke.png\" width=\"628\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"551\" src=\"2025-04-18irzcl5l33g5.png\" width=\"1237\" \/><\/p>\n<p>\u6cd51&#xff1a;\u8f6f\u94fe\u63a5<\/p>\n<p>\u5c06\u89e3\u538b\u5f97\u5230\u7684\u6587\u4ef6\u79fb\u5230\u65b0\u5efa\u6587\u4ef6\u5939\/opt\/cudnn\u4e2d&#xff0c;\u63a5\u7740\u5c06include\u6587\u4ef6\u5939\u4e0elib\u6587\u4ef6\u5939\u4e2d\u7684\u6240\u6709\u6587\u4ef6\u8f6f\u8fde\u63a5\u5230cuda\/include\/\u4e0ecuda\/lib64\/\u4e2d&#xff0c;\u6ce8\u610f\u7559\u610f\u5230\u5e95\u5c06cuDNN\u94fe\u63a5\u5230\u4e86\u54ea\u4e2a\u7248\u672c\u4e0b\u7684cuda<\/p>\n<p>$ sudo mkdir -p \/opt\/cudnn<\/p>\n<p># \u89e3\u538b\u3001\u79fb\u52a8<br \/>\n$ sudo tar -xJvf cudnn-linux-x86_64-8.8.0.121_cuda12-archive.tar.xz -C \/opt\/cudnn<\/p>\n<p># \u67e5\u770b\u4e00\u4e0b\u76ee\u5f55\u7ed3\u6784<br \/>\n$ cd \/opt\/<br \/>\n$ tree -L 2 cudnn # \u5b89\u88c5sudo apt install tree<br \/>\ncudnn<br \/>\n\u2514\u2500\u2500 cudnn-linux-x86_64-8.8.0.121_cuda12-archive<br \/>\n    \u251c\u2500\u2500 include<br \/>\n    \u251c\u2500\u2500 lib<br \/>\n    \u2514\u2500\u2500 LICENSE<\/p>\n<p># \u94fe\u63a5\u6587\u4ef6\u5939<br \/>\n$ sudo ln -sf \/opt\/cudnn\/cudnn-linux-x86_64-8.8.0.121_cuda12-archive\/include\/* \/usr\/local\/cuda\/include\/<br \/>\n$ sudo ln -sf \/opt\/cudnn\/cudnn-linux-x86_64-8.8.0.121_cuda12-archive\/lib\/* \/usr\/local\/cuda\/lib64\/<\/p>\n<p>\u6cd52&#xff1a;<\/p>\n<p>cudnn\u7248\u672c\u4e0ecuda\u7248\u672c\u662f\u4e00\u4e00\u5bf9\u5e94\u7684&#xff0c;\u4e14\u53ea\u80fd\u6709\u4e00\u79cd\u5bf9\u5e94\u5173\u7cfb&#xff0c;\u56e0\u6b64&#xff0c;\u5728\u786e\u5b9acuda\u7248\u672c\u4e4b\u540e&#xff0c;\u518d\u4e0b\u8f7d\u5bf9\u5e94cudnn\u7248\u672c<\/p>\n<p>\u76f4\u63a5\u5c06\u89e3\u538b\u5f97\u5230\u7684\u6587\u4ef6\u590d\u5236\u5230\u5bf9\u5e94CUDA\u6587\u4ef6\u5939&#xff0c;\u7b80\u5355\u76f4\u89c2&#xff0c;\u63a8\u8350&#xff01;<\/p>\n<p>#12.0<br \/>\n# \u89e3\u538b<br \/>\nsudo tar -xJvf cudnn-linux-x86_64-8.8.0.121_cuda12-archive.tar.xz<\/p>\n<p># \u590d\u5236\u6587\u4ef6<br \/>\nsudo cp cudnn-linux-x86_64-8.8.0.121_cuda12-archive\/include\/* \/usr\/local\/cuda-12.0\/include\/<br \/>\nsudo cp cudnn-linux-x86_64-8.8.0.121_cuda12-archive\/lib\/* \/usr\/local\/cuda-12.0\/lib64\/<\/p>\n<p># \u6dfb\u52a0\u8bfb\u53d6\u6743\u9650<br \/>\nsudo chmod a&#043;r \/usr\/local\/cuda-12.0\/lib64\/*<br \/>\nsudo chmod a&#043;r \/usr\/local\/cuda-12.0\/include\/*<\/p>\n<p># \u68c0\u67e5cudnn\u7248\u672c\u53f7<br \/>\ncat \/usr\/local\/cuda-12.0\/include\/cudnn_version.h | grep CUDNN_MAJOR -A 2<\/p>\n<p>#12.3<br \/>\n# \u89e3\u538b<br \/>\nsudo tar -xJvf cudnn-linux-x86_64-8.9.5.30_cuda12-archive.tar.xz<\/p>\n<p># \u590d\u5236\u6587\u4ef6<br \/>\nsudo cp cudnn-linux-x86_64-8.9.5.30_cuda12-archive\/include\/* \/usr\/local\/cuda-12.3\/include\/<br \/>\nsudo cp cudnn-linux-x86_64-8.9.5.30_cuda12-archive\/lib\/* \/usr\/local\/cuda-12.3\/lib64\/<\/p>\n<p># \u6dfb\u52a0\u8bfb\u53d6\u6743\u9650<br \/>\nsudo chmod a&#043;r \/usr\/local\/cuda-12.3\/lib64\/*<br \/>\nsudo chmod a&#043;r \/usr\/local\/cuda-12.3\/include\/*<\/p>\n<p># \u68c0\u67e5cudnn\u7248\u672c\u53f7<br \/>\ncat \/usr\/local\/cuda-12.3\/include\/cudnn_version.h | grep CUDNN_MAJOR -A 2<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"139\" src=\"2025-04-18bvpnmxxa3b1.png\" width=\"729\" \/><\/p>\n<\/p>\n<p>\u8fdb\u4e00\u6b65\u6d4b\u8bd5&#xff1a;<\/p>\n<p>cd installpackage<br \/>\nunzip cuDNN-samples-v8-main.zip<br \/>\ncd cuDNN-samples-v8-main\/mnistCUDNN<br \/>\nsudo apt-get install libfreeimage-dev # \u5b89\u88c5 FreeImage \u5e93<br \/>\nsudo make clean &amp;&amp; make # \u5f53 make clean \u547d\u4ee4\u6210\u529f\u6267\u884c&#xff08;\u8fd4\u56de\u72b6\u6001\u7801\u4e3a 0&#xff09;\u65f6&#xff0c;\u624d\u4f1a\u7ee7\u7eed\u6267\u884c\u540e\u9762\u7684 make \u547d\u4ee4<br \/>\n.\/mnistCUDNN # .\/ \u7528\u4e8e\u660e\u786e\u6307\u5b9a\u6587\u4ef6\u4f4d\u4e8e\u5f53\u524d\u76ee\u5f55 \u53ef\u6267\u884c\u6587\u4ef6mnistCUDNN\u901a\u8fc7\u524d\u9762\u7684 make \u547d\u4ee4\u7f16\u8bd1\u751f\u6210 <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"407\" src=\"2025-04-18hce0gisfrey.png\" width=\"855\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"799\" src=\"2025-04-18dbjezlywk2o.png\" width=\"940\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"741\" src=\"2025-04-18y0z3d3p31wl.png\" width=\"736\" \/>\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"289\" src=\"2025-04-18w3rvenahgxg.png\" width=\"732\" \/><\/p>\n<p>Test passed!&#xff0c;cuDNN\u53ef\u7528&#xff01;\u00a0<\/p>\n<h2>&#xff08;7&#xff09;\u5b89\u88c5Anaconda3<\/h2>\n<p>\u5b98\u7f51\u94fe\u63a5&#xff1a;Download Now | Anaconda<\/p>\n<p>wget https:\/\/repo.anaconda.com\/archive\/Anaconda3-2024.10-1-Linux-x86_64.sh<br \/>\nbash Anaconda3-2024.10-1-Linux-x86_64.sh <\/p>\n<p>\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"134\" src=\"2025-04-18ishgkrcurqq.png\" width=\"449\" \/><\/p>\n<p>\u82e5\u9ed8\u8ba4\u5176\u5b89\u88c5\u4f4d\u7f6e&#xff0c;\u76f4\u63a5Enter\u952e&#xff0c;\u82e5\u60f3\u6539\u53d8\u5b89\u88c5\u4f4d\u7f6e&#xff0c;\u53ef\u5728\u5176\u540e\u8f93\u5165\u6307\u5b9a\u5b89\u88c5\u4f4d\u7f6e\u3002\u672c\u6b21\u5b89\u88c5\u9ed8\u8ba4\u5176\u5b89\u88c5\u4f4d\u7f6e<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"394\" src=\"2025-04-18zhlx2vxlcoe.png\" width=\"677\" \/><\/p>\n<p>\u8c46\u5305\u89e3\u91ca&#xff1a;<\/p>\n<p>conda config &#8211;set auto_activate_base false \u662f\u5bf9 Conda \u73af\u5883\u6fc0\u6d3b\u8bbe\u7f6e\u7684\u8c03\u6574&#xff0c;\u6267\u884c\u6b64\u547d\u4ee4\u540e&#xff0c;Conda \u672c\u8eab\u7684\u529f\u80fd\u4e0d\u53d7\u5f71\u54cd&#xff0c;\u4ecd\u7136\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u3002\u53ea\u662f\u5728\u542f\u52a8 shell \u65f6\u4e0d\u4f1a\u81ea\u52a8\u8fdb\u5165 base \u73af\u5883&#xff0c;\u907f\u514d\u4e86\u4e0d\u5fc5\u8981\u7684\u73af\u5883\u6fc0\u6d3b\u3002\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u8981\u624b\u52a8\u6fc0\u6d3b base \u73af\u5883\u6216\u5176\u4ed6\u81ea\u5b9a\u4e49\u73af\u5883&#xff0c;\u4f8b\u5982\u4f7f\u7528 conda activate base \u6216 conda activate your_env_name \u547d\u4ee4\u3002\u6b64\u547d\u4ee4\u7684\u4e3b\u8981\u76ee\u7684\u662f\u63a7\u5236 Conda \u57fa\u7840\u73af\u5883&#xff08;base \u73af\u5883&#xff09;\u7684\u81ea\u52a8\u6fc0\u6d3b\u884c\u4e3a\u3002\u5f53\u4f60\u6267\u884c conda init \u540e&#xff0c;\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u6bcf\u6b21\u542f\u52a8 shell \u65f6&#xff0c;Conda \u4f1a\u81ea\u52a8\u6fc0\u6d3b base \u73af\u5883\u3002\u800c\u4f7f\u7528 conda config &#8211;set auto_activate_base false \u547d\u4ee4&#xff0c;\u4f60\u53ef\u4ee5\u5c06\u8fd9\u4e2a\u81ea\u52a8\u6fc0\u6d3b\u7684\u8bbe\u7f6e\u5173\u95ed\u3002\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u4e4b\u540e\u6bcf\u6b21\u542f\u52a8 shell \u65f6&#xff0c;Conda \u4ecd\u7136\u4f1a\u88ab\u521d\u59cb\u5316&#xff0c;\u4f46\u4e0d\u4f1a\u81ea\u52a8\u8fdb\u5165 base \u73af\u5883\u3002\u4f60\u53ef\u4ee5\u5728\u9700\u8981\u65f6\u624b\u52a8\u6fc0\u6d3b\u6240\u9700\u7684\u73af\u5883\u3002<\/p>\n<p>\u800c conda init &#8211;reverse $SHELL \u662f\u5bf9 Conda \u521d\u59cb\u5316\u914d\u7f6e\u7684\u64a4\u9500&#xff0c;\u6267\u884c\u8be5\u547d\u4ee4\u540e&#xff0c;Conda \u5728 shell \u542f\u52a8\u65f6\u4e0d\u4f1a\u81ea\u52a8\u521d\u59cb\u5316&#xff0c;\u8fd9\u610f\u5473\u7740\u4f60\u65e0\u6cd5\u76f4\u63a5\u4f7f\u7528 conda \u547d\u4ee4\u3002\u5982\u679c\u9700\u8981\u4f7f\u7528 Conda&#xff0c;\u4f60\u9700\u8981\u91cd\u65b0\u6267\u884c conda init \u547d\u4ee4\u6765\u521d\u59cb\u5316 shell \u914d\u7f6e\u6587\u4ef6&#xff0c;\u6216\u8005\u624b\u52a8\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u7b49\u65b9\u5f0f\u6765\u8ba9 shell \u8bc6\u522b Conda\u3002\u8be5\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u64a4\u9500\u4e4b\u524d conda init \u5bf9 shell \u914d\u7f6e\u6587\u4ef6\u6240\u505a\u7684\u66f4\u6539\u3002conda init \u4f1a\u5728 shell \u914d\u7f6e\u6587\u4ef6&#xff08;\u5982 ~\/.bashrc \u6216 ~\/.zshrc&#xff09;\u4e2d\u6dfb\u52a0\u521d\u59cb\u5316\u4ee3\u7801&#xff0c;\u4f7f\u5f97\u6bcf\u6b21\u542f\u52a8 shell \u65f6\u81ea\u52a8\u521d\u59cb\u5316 Conda\u3002\u800c conda init &#8211;reverse $SHELL \u4f1a\u5220\u9664\u8fd9\u4e9b\u6dfb\u52a0\u7684\u4ee3\u7801&#xff0c;\u5c06 shell \u914d\u7f6e\u6587\u4ef6\u6062\u590d\u5230\u672a\u6267\u884c conda init \u4e4b\u524d\u7684\u72b6\u6001\u3002\u6267\u884c\u6b64\u547d\u4ee4\u540e&#xff0c;\u4e0b\u6b21\u542f\u52a8 shell \u65f6&#xff0c;Conda \u4e0d\u4f1a\u81ea\u52a8\u521d\u59cb\u5316&#xff0c;\u9700\u8981\u624b\u52a8\u6267\u884c\u521d\u59cb\u5316\u64cd\u4f5c\u624d\u80fd\u4f7f\u7528 Conda\u3002<\/p>\n<p>  490  source ~\/anaconda3\/bin\/activate<br \/>\n  491  conda &#8211;version<br \/>\n  492  conda env list <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"198\" src=\"2025-04-18rcnxhvpxwlj.png\" width=\"358\" \/><\/p>\n<p>\u00a0conda\u5e38\u7528\u6307\u4ee4&#xff1a;<\/p>\n<p>1\u3001 \u67e5\u770b\u6240\u6709\u865a\u62df\u73af\u5883<br \/>\nconda env list    <\/p>\n<p>2\u3001\u521b\u5efa\u73af\u5883<br \/>\nconda create -n \u865a\u62df\u73af\u5883\u540d python&#061;&#061;\u7248\u672c\u53f7<br \/>\nconda create -n pt21_c python&#061;&#061;3.8<\/p>\n<p>3\u3001\u6fc0\u6d3b\u8fdb\u5165\u5df2\u521b\u5efa\u7684\u73af\u5883<br \/>\nconda activate \u73af\u5883\u540d<br \/>\nconda activate pt21_c<\/p>\n<p>4\u3001\u9000\u51fa\u73af\u5883<br \/>\nconda deactivate<\/p>\n<p>5\u3001\u5220\u9664\u73af\u5883<br \/>\nconda remove -n \u73af\u5883\u540d &#8211;all<br \/>\nconda remove -n pt21_c &#8211;all <\/p>\n<p>\u3010\u8bb0\u5f55\u3011linux20.04\u5b89\u88c5cuda\u3001cudnn\u4ee5\u53caanaconda\u8fc7\u7a0b_linux cudnn-CSDN\u535a\u5ba2<\/p>\n<p>ubuntu\u670d\u52a1\u5668\u6df1\u5ea6\u5b66\u4e60\u73af\u5883\u914d\u7f6e&#8211;cuda\u3001cudnn\u3001conda\u7684\u4e0b\u8f7d\u3001\u81ea\u5b9a\u4e49\u5b89\u88c5\u4f4d\u7f6e\u53ca\u73af\u5883\u914d\u7f6e_ubuntu\u4e0b\u8f7dcuda-CSDN\u535a\u5ba2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf18\u6b21\u3002Ubuntu20.04 x86_64_driver 550.144\u4e0b\u8f7d<\/p>\n","protected":false},"author":2,"featured_media":12600,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[88],"topic":[],"class_list":["post-12620","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-conda"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668\u663e\u5361\u9a71\u52a8\u3001CUDA\u3001cuDNN\u3001conda\u5b89\u88c5 - \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\/12620.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668\u663e\u5361\u9a71\u52a8\u3001CUDA\u3001cuDNN\u3001conda\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf18\u6b21\u3002Ubuntu20.04 x86_64_driver 550.144\u4e0b\u8f7d\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/12620.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T11:43:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114312-68023ad0e4f55.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=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/12620.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/12620.html\",\"name\":\"\u670d\u52a1\u5668\u663e\u5361\u9a71\u52a8\u3001CUDA\u3001cuDNN\u3001conda\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T11:43:17+00:00\",\"dateModified\":\"2025-04-18T11:43:17+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/12620.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/12620.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/12620.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668\u663e\u5361\u9a71\u52a8\u3001CUDA\u3001cuDNN\u3001conda\u5b89\u88c5\"}]},{\"@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":"\u670d\u52a1\u5668\u663e\u5361\u9a71\u52a8\u3001CUDA\u3001cuDNN\u3001conda\u5b89\u88c5 - \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\/12620.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668\u663e\u5361\u9a71\u52a8\u3001CUDA\u3001cuDNN\u3001conda\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf18\u6b21\u3002Ubuntu20.04 x86_64_driver 550.144\u4e0b\u8f7d","og_url":"https:\/\/www.wsisp.com\/helps\/12620.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T11:43:17+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418114312-68023ad0e4f55.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/12620.html","url":"https:\/\/www.wsisp.com\/helps\/12620.html","name":"\u670d\u52a1\u5668\u663e\u5361\u9a71\u52a8\u3001CUDA\u3001cuDNN\u3001conda\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T11:43:17+00:00","dateModified":"2025-04-18T11:43:17+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/12620.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/12620.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/12620.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668\u663e\u5361\u9a71\u52a8\u3001CUDA\u3001cuDNN\u3001conda\u5b89\u88c5"}]},{"@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\/12620","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=12620"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/12620\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/12600"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=12620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=12620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=12620"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=12620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}