{"id":21975,"date":"2025-04-19T05:12:16","date_gmt":"2025-04-18T21:12:16","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/21975.html"},"modified":"2025-04-19T05:12:16","modified_gmt":"2025-04-18T21:12:16","slug":"%e5%9c%a8%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88ubuntu20-04%ef%bc%89%e5%ae%89%e8%a3%85%e7%94%a8%e6%88%b7%e7%ba%a7%e5%88%ab%e7%9a%84cuda11-8%ef%bc%88%e4%bb%a5%e5%8f%8a%e4%bb%bf%e7%85%a7%e5%89%8d%e9%9d%a2","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/21975.html","title":{"rendered":"\u5728\u670d\u52a1\u5668\uff08Ubuntu20.04\uff09\u5b89\u88c5\u7528\u6237\u7ea7\u522b\u7684cuda11.8\uff08\u4ee5\u53ca\u4eff\u7167\u524d\u9762\u6559\u7a0b\u5b89\u88c5cuda11.3\u540e\u5b89\u88c5cudnn\u548cpytorch1.9.0\uff09"},"content":{"rendered":"<h2>1\u3001cuda11.8\u7684\u4e0b\u8f7d<\/h2>\n<p>\u9996\u5148\u5728cuda\u5b98\u7f51\u4e0b\u8f7d\u6211\u4eec\u9700\u8981\u7684cuda\u7248\u672c&#xff0c;\u8fd9\u91cc\u6211\u4e0b\u8f7d\u7684\u662fcuda11.8&#xff08;\u6211\u7684\u6700\u9ad8\u652f\u6301cuda12.0&#xff09; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418211213-6802c02d2f933.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418211213-6802c02da9a70.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u8fd9\u91cc\u6211\u76f4\u63a5\u4f7f\u7528wget\u547d\u4ee4\u4e0b\u8f7d\u4e0d\u4e86&#xff0c;\u4e8e\u662f\u6211\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u8f93\u5165\u540e\u9762\u7684\u94fe\u63a5\u4e0b\u8f7d\u5230\u672c\u5730&#xff0c;\u4e4b\u540e\u518d\u4e0a\u4f20\u81f3\u670d\u52a1\u5668\u7684&#xff1a;<\/p>\n<p>https:\/\/developer.download.nvidia.com\/compute\/cuda\/11.8.0\/local_installers\/cuda_11.8.0_520.61.05_linux.run<\/p>\n<h2>2\u3001cuda11.8\u7684\u5b89\u88c5<\/h2>\n<p>&#xff08;1&#xff09;\u5047\u8bbe\u7528\u6237\u540d\u4e3aandy&#xff0c;\u5373\/home\/andy&#xff0c;\u5728\u8fd9\u4e2a\u6587\u4ef6\u5939\u4e0b\u624b\u52a8\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\u540d\u4e3acuda-11.8&#xff08;\u5373\/home\/andycuda-11.8&#xff09;&#xff0c;\u7136\u540e\u5728cuda-11.8\u6587\u4ef6\u5939\u91cc\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\u4e3amylib&#xff08;\u5373\/home\/andycuda-11.8\/mylib&#xff09;\u3002\u63a5\u4e0b\u6765\u628a\u4e4b\u524d\u4e0b\u8f7d\u7684cuda_11.8.0_520.61.05_linux.run\u6587\u4ef6\u4e0a\u4f20\u5230\/home\/andy\/cuda-11.8\u6587\u4ef6\u5939\u3002 &#xff08;2&#xff09;\u63a5\u4e0b\u6765\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u8fdb\u5165\u6b64\u6587\u4ef6\u5939&#xff1a;<\/p>\n<p>\/home\/andy\/cuda-11.8<\/p>\n<p>\u7136\u540e\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u66f4\u6539\u6587\u4ef6\u7684\u6267\u884c\u6743\u9650&#xff1a;<\/p>\n<p>chmod 755 cuda_10.2.89_440.33.01_linux.run<\/p>\n<p>\u4e8e\u6211\u4eec\u4e0d\u662f\u7ba1\u7406\u5458\u7528\u6237&#xff0c;\u56e0\u6b64\u65e0\u6cd5\u4f7f\u7528sudo\u5b89\u88c5&#xff0c;\u56e0\u6b64\u76f4\u63a5\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5&#xff1a;<\/p>\n<p> sh cuda_10.2.89_440.33.01_linux.run<\/p>\n<p>&#xff08;3&#xff09;\u63a5\u4e0b\u6765\u7684\u53c2\u8003&#xff1a;\u624b\u628a\u624b\u6559\u4f1a\u4f60\u5728Linux\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u7528\u6237\u7ea7\u522b\u7684CUDA 1&#xff09;\u5728\u8fd9\u91cc\u8f93\u5165accept <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418211214-6802c02e10c26.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> 2&#xff09;\u7136\u540e\u7c7b\u4f3c\u4e8e\u4e0a\u8ff0\u8fd9\u4e2a\u6559\u7a0b\u7684\u56fe\u7247&#xff08;\u81ea\u5df1\u7684\u5fd8\u8bb0\u4fdd\u5b58\u4e86&#xff0c;\u539f\u7406\u662f\u4e00\u6837\u7684&#xff09;&#xff1a;\u6211\u5b89\u88c5\u7684\u662f11.8&#xff0c;\u90a3\u5c31\u662f\u53ea\u52fe\u9009CUDA Toolkit 11.8&#xff0c;\u5176\u4ed6\u7684\u6309Enter\u952e\u5c31\u53ef\u4ee5\u628a\u91cc\u9762\u7684X\u53d6\u6d88\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418211214-6802c02e47122.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> 3&#xff09;\u5728\u53d6\u6d88\u5176\u4ed6\u7684\u52fe\u9009\u4e4b\u540e&#xff0c;\u5149\u6807\u79fb\u52a8\u5230Options\u8fd9\u91cc&#xff0c;\u6309Enter\u3002<\/p>\n<p>\u7136\u540e\u5149\u6807\u79fb\u52a8\u5230Change Toolkit Install Path&#xff0c;\u6309Enter&#xff0c;\u7136\u540e\u6211\u4eec\u53ef\u4ee5\u5c06\u4e4b\u524d\u521b\u5efa\u7684\u76ee\u5f55\u7c98\u8d34\u8fc7\u6765&#xff1a;<\/p>\n<p>\/home\/andy\/cuda-11.8<\/p>\n<p>\u7136\u540e\u79fb\u52a8\u5230Done&#xff0c;\u518d\u6309Enter&#xff0c;\u53c8\u56de\u5230\u4e4b\u524d\u7684\u754c\u9762\u3002<\/p>\n<p>4&#xff09;\u56de\u5230Options\u83dc\u5355&#xff0c;\u5149\u6807\u79fb\u52a8\u5230Library install path&#xff0c;\u6309Enter&#xff0c;\u7136\u540e\u5728\u91cc\u9762\u5c06\u4e4b\u524d\u521b\u5efa\u7684\u53e6\u4e00\u4e2a\u76ee\u5f55\u7c98\u8d34\u8fc7\u6765&#xff1a;<\/p>\n<p>\/home\/andycuda-11.8\/mylib<\/p>\n<p>\u56de\u8f66Done\u3002<\/p>\n<p>5&#xff09;\u7136\u540e\u8fd4\u56de\u4e3b\u754c\u9762&#xff0c;\u9009\u62e9Install<\/p>\n<h2>3\u3001\u5b89\u88c5\u5b8c\u6210\u540e\u7684\u73af\u5883\u914d\u7f6e<\/h2>\n<p>\u5f53\u770b\u5230\u754c\u9762\u91cc\u6709successfully\u7684\u5b57\u773c\u65f6&#xff0c;\u5c31\u8868\u660e\u5b89\u88c5\u6210\u529f\u4e86\u3002\u8fd9\u65f6\u5019&#xff0c;\u8fd8\u9700\u8981\u8fdb\u884c\u73af\u5883\u914d\u7f6e\u3002 \u9996\u5148\u8fdb\u5165\u5230\u7528\u6237\u4e3b\u76ee\u5f55\u91cccd \/home\/andy<\/p>\n<p>\u6267\u884cvim ~\/.bashrc\u4fee\u6539\u547d\u4ee4\u76f8\u5173\u53c2\u6570&#xff1a;\u6309i\u8fdb\u5165\u7f16\u8f91\u6a21\u5f0f&#xff0c;\u7136\u540e\u5728\u6700\u4e0b\u65b9\u6309\u9f20\u6807\u53f3\u952e\u7c98\u8d34\u5373\u53ef\u6dfb\u52a0\u521a\u521a\u5b89\u88c5cuda\u7684\u8def\u5f84&#xff1a;<\/p>\n<p>export PATH&#061;&#034;\/home\/andy\/cuda-11.8\/bin:$PATH&#034;<br \/>\nexport LD_LIBRARY_PATH&#061;&#034;\/home\/andy\/cuda-11.8\/lib64:\/home\/andy\/cuda-11.8\/mylib\/lib64:$LD_LIBRARY_PATH&#034;<\/p>\n<p>\u4e4b\u540e\u6309Esc&#xff0c;\u518d\u6309:&#xff0c;\u63a5\u4e0b\u6765\u8f93\u5165wq&#xff0c;\u5373\u53ef\u4fdd\u5b58\u5e76\u9000\u51fa\u3002<\/p>\n<p>\u6700\u540e\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff0c;\u4f7f\u914d\u7f6e\u751f\u6548&#xff1a;<\/p>\n<p>source ~\/.bashrc<\/p>\n<h2>4\u3001\u68c0\u67e5CUDA\u548cpytorch\u80fd\u5426\u4f7f\u7528.<\/h2>\n<p>\u547d\u4ee4\u884c\u8f93\u5165 nvcc -V \u67e5\u770bcuda\u7248\u672c&#xff0c;\u5982\u679c\u7b26\u5408\u9884\u671f&#xff0c;\u5219\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418211214-6802c02e6d7f0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4ee5\u4e0b\u662fcuda11.3\u5bf9\u5e94\u7684cudnn\u5b89\u88c5\u548cpytorch1.9.0\u7684\u5b89\u88c5<\/h2>\n<h3>1\u3001\u4eff\u7167\u4e0a\u9762\u6559\u7a0b\u5b89\u88c5cuda11.3\u4e4b\u540e&#xff0c;\u5b89\u88c5cudnn\u53c2\u8003\u8fd9\u4e2a&#xff1a;<\/h3>\n<p>\u3010Ubuntu 20.04LTS\u7cfb\u7edf\u3011\u5b89\u88c5CUDA11.8\u3001cuDNN&#xff0c;\u53ef\u8fdb\u884cCUDA\u7248\u672c\u5207\u6362<\/p>\n<p>\u5148\u4e0b\u8f7dcudnn\u5230\u672c\u5730&#xff1a; cudnn\u5b98\u7f51\u94fe\u63a5 \u8fd9\u91cc\u9009\u62e9\u4e0b\u8f7d&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418211214-6802c02ede300.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418211215-6802c02f0334a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>&#xff08;1&#xff09;\u9996\u5148\u5728\/home\/andy\u4e0b\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\u5939&#xff1a;\/home\/andy\/cudnn-cuda11.3 &#xff08;2&#xff09;\u7136\u540e\u5c06\u5728\u672c\u5730\u4e0b\u8f7d\u7684cudnn-11.3-linux-x64-v8.2.1.32.tgz \u4e0a\u4f20\u81f3\u6b64\u6587\u4ef6\u5939 &#xff08;3&#xff09;\u8fdb\u5165\u6b64\u6587\u4ef6\u5939&#xff1a;<\/p>\n<p>cd \/home\/andy\/cudnn-cuda11.3<\/p>\n<p>&#xff08;4&#xff09;\u89e3\u538btgz\u6587\u4ef6&#xff08;\u6ce8\u610f&#xff1a;\u5982\u679c\u4e0b\u8f7d\u7684cudnn\u6587\u4ef6\u540e\u7f00\u4e0d\u662f.tgz\u8981\u8bb0\u5f97\u5148\u4fee\u6539\u4e3a.tgz&#xff09;&#xff1a;<\/p>\n<p>tar -xvf cudnn-11.3-linux-x64-v8.2.1.32.tgz<\/p>\n<p>&#xff08;5&#xff09;\u89e3\u538b\u540e\u5728\/home\/andy\/cudnn-cuda11.3\u51fa\u73b0\u4e00\u4e2a\/home\/andy\/cudnn-cuda11.3\/cuda\u6587\u4ef6\u5939 \u5148\u8fdb\u5165\u6b64cuda\u6587\u4ef6\u5939&#xff1a;<\/p>\n<p>cd \/home\/andy\/cudnn-cuda11.3\/cuda\/<\/p>\n<p>\u518d\u8f93\u5165ls\u67e5\u770b\u6b64\u6587\u4ef6\u5939\u4e0b\u7684\u6587\u4ef6<\/p>\n<p> ls<\/p>\n<p>\u51fa\u73b0&#xff1a;<\/p>\n<p>include lib64 NVIDIA_SLA_cuDNN_Support.txt<\/p>\n<p>\u5148\u8f93\u5165cd ~\u56de\u5230\u7528\u6237\u4e3b\u754c\u9762 \u518d\u5c06cuDNN\u5bf9\u5e94\u6587\u4ef6\u62f7\u8d1d\u81f3CUDA\u6307\u5b9a\u8def\u5f84&#xff1a;<\/p>\n<p>sudo cp \/home\/andy\/cudnn-cuda11.3\/cuda\/include\/cudnn*.h \/home\/andy\/cuda-11.3\/include<br \/>\nsudo cp \/home\/andy\/cudnn-cuda11.3\/cuda\/lib64\/libcudnn* \/home\/andy\/cuda-11.3\/lib64<br \/>\nsudo chmod a&#043;r \/home\/andy\/cuda-11.3\/include\/cudnn*.h \/home\/andy\/cuda-11.3\/lib64\/libcudnn*<\/p>\n<p>\u53c2\u8003&#xff1a;\u6700\u540e\u4e00\u90e8\u5206 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418211215-6802c02f1cfb8.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>2\u3001\u63a5\u4e0b\u6765\u5148\u521b\u5efa\u4e00\u4e2a\u865a\u62df\u73af\u5883env1&#xff0c;\u5b83\u7684python\u7248\u672c\u4e3a3.7<\/h3>\n<p>\u5982\u679c\u4f7f\u7528conda\u4e0b\u8f7d\u4e0d\u4e86\u5c31\u53c2\u8003\u8fd9\u4e2a\u535a\u5ba2&#xff0c;\u4f7f\u7528\u79bb\u7ebf\u5b89\u88c5&#xff1a;<\/p>\n<p>conda create -n env1 python&#061;3.7<\/p>\n<h3>3\u3001\u7136\u540e\u4e0b\u8f7dtorch1.9.0\u548ctorchvision0.10.0<\/h3>\n<p>\u8fdb\u5165pytorch\u5b98\u7f51 \u6309ctrl&#043;F\u641c\u7d221.9.0\u51fa\u73b0\u4e0b\u9762\u8fd9\u4e2a&#xff0c;\u7136\u540e\u4f7f\u7528\u7b2c\u4e8c\u4e2a\u547d\u4ee4&#xff08;\u56e0\u4e3a\u6211\u4eec\u5b89\u88c5\u7684\u662f11.3\u7248\u672c\u7684&#xff09;\u6765\u5b89\u88c5<\/p>\n<p>conda install pytorch&#061;&#061;1.9.0 torchvision&#061;&#061;0.10.0 torchaudio&#061;&#061;0.9.0 cudatoolkit&#061;11.3 -c pytorch -c conda-forge<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418211215-6802c02f91f99.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb7.8k\u6b21\uff0c\u70b9\u8d5e14\u6b21\uff0c\u6536\u85cf56\u6b21\u3002\u9996\u5148\u5728\u4e0b\u8f7d\u6211\u4eec\u9700\u8981\u7684cuda\u7248\u672c\uff0c\u8fd9\u91cc\u6211\u4e0b\u8f7d\u7684\u662f\uff08\u6211\u7684\u6700\u9ad8\u652f\u6301cuda12.0\uff09_ubuntu\u5b89\u88c5cuda11.8<\/p>\n","protected":false},"author":2,"featured_media":21966,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43],"topic":[],"class_list":["post-21975","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728\u670d\u52a1\u5668\uff08Ubuntu20.04\uff09\u5b89\u88c5\u7528\u6237\u7ea7\u522b\u7684cuda11.8\uff08\u4ee5\u53ca\u4eff\u7167\u524d\u9762\u6559\u7a0b\u5b89\u88c5cuda11.3\u540e\u5b89\u88c5cudnn\u548cpytorch1.9.0\uff09 - \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\/21975.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728\u670d\u52a1\u5668\uff08Ubuntu20.04\uff09\u5b89\u88c5\u7528\u6237\u7ea7\u522b\u7684cuda11.8\uff08\u4ee5\u53ca\u4eff\u7167\u524d\u9762\u6559\u7a0b\u5b89\u88c5cuda11.3\u540e\u5b89\u88c5cudnn\u548cpytorch1.9.0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb7.8k\u6b21\uff0c\u70b9\u8d5e14\u6b21\uff0c\u6536\u85cf56\u6b21\u3002\u9996\u5148\u5728\u4e0b\u8f7d\u6211\u4eec\u9700\u8981\u7684cuda\u7248\u672c\uff0c\u8fd9\u91cc\u6211\u4e0b\u8f7d\u7684\u662f\uff08\u6211\u7684\u6700\u9ad8\u652f\u6301cuda12.0\uff09_ubuntu\u5b89\u88c5cuda11.8\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/21975.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-18T21:12:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418211213-6802c02d2f933.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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/21975.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/21975.html\",\"name\":\"\u5728\u670d\u52a1\u5668\uff08Ubuntu20.04\uff09\u5b89\u88c5\u7528\u6237\u7ea7\u522b\u7684cuda11.8\uff08\u4ee5\u53ca\u4eff\u7167\u524d\u9762\u6559\u7a0b\u5b89\u88c5cuda11.3\u540e\u5b89\u88c5cudnn\u548cpytorch1.9.0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T21:12:16+00:00\",\"dateModified\":\"2025-04-18T21:12:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/21975.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/21975.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/21975.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728\u670d\u52a1\u5668\uff08Ubuntu20.04\uff09\u5b89\u88c5\u7528\u6237\u7ea7\u522b\u7684cuda11.8\uff08\u4ee5\u53ca\u4eff\u7167\u524d\u9762\u6559\u7a0b\u5b89\u88c5cuda11.3\u540e\u5b89\u88c5cudnn\u548cpytorch1.9.0\uff09\"}]},{\"@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":"\u5728\u670d\u52a1\u5668\uff08Ubuntu20.04\uff09\u5b89\u88c5\u7528\u6237\u7ea7\u522b\u7684cuda11.8\uff08\u4ee5\u53ca\u4eff\u7167\u524d\u9762\u6559\u7a0b\u5b89\u88c5cuda11.3\u540e\u5b89\u88c5cudnn\u548cpytorch1.9.0\uff09 - \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\/21975.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5728\u670d\u52a1\u5668\uff08Ubuntu20.04\uff09\u5b89\u88c5\u7528\u6237\u7ea7\u522b\u7684cuda11.8\uff08\u4ee5\u53ca\u4eff\u7167\u524d\u9762\u6559\u7a0b\u5b89\u88c5cuda11.3\u540e\u5b89\u88c5cudnn\u548cpytorch1.9.0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb7.8k\u6b21\uff0c\u70b9\u8d5e14\u6b21\uff0c\u6536\u85cf56\u6b21\u3002\u9996\u5148\u5728\u4e0b\u8f7d\u6211\u4eec\u9700\u8981\u7684cuda\u7248\u672c\uff0c\u8fd9\u91cc\u6211\u4e0b\u8f7d\u7684\u662f\uff08\u6211\u7684\u6700\u9ad8\u652f\u6301cuda12.0\uff09_ubuntu\u5b89\u88c5cuda11.8","og_url":"https:\/\/www.wsisp.com\/helps\/21975.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T21:12:16+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418211213-6802c02d2f933.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/21975.html","url":"https:\/\/www.wsisp.com\/helps\/21975.html","name":"\u5728\u670d\u52a1\u5668\uff08Ubuntu20.04\uff09\u5b89\u88c5\u7528\u6237\u7ea7\u522b\u7684cuda11.8\uff08\u4ee5\u53ca\u4eff\u7167\u524d\u9762\u6559\u7a0b\u5b89\u88c5cuda11.3\u540e\u5b89\u88c5cudnn\u548cpytorch1.9.0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T21:12:16+00:00","dateModified":"2025-04-18T21:12:16+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/21975.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/21975.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/21975.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5728\u670d\u52a1\u5668\uff08Ubuntu20.04\uff09\u5b89\u88c5\u7528\u6237\u7ea7\u522b\u7684cuda11.8\uff08\u4ee5\u53ca\u4eff\u7167\u524d\u9762\u6559\u7a0b\u5b89\u88c5cuda11.3\u540e\u5b89\u88c5cudnn\u548cpytorch1.9.0\uff09"}]},{"@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\/21975","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=21975"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/21975\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/21966"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=21975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=21975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=21975"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=21975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}