{"id":196,"date":"2019-09-27T00:03:35","date_gmt":"2019-09-26T16:03:35","guid":{"rendered":"https:\/\/blog.simbot.net\/?p=196"},"modified":"2020-12-20T09:01:52","modified_gmt":"2020-12-20T01:01:52","slug":"build-tensorflow-with-cuda10-1-support","status":"publish","type":"post","link":"https:\/\/blog.simbot.net\/2019\/09\/27\/build-tensorflow-with-cuda10-1-support\/","title":{"rendered":"\u7f16\u8bd1TensorFlow\u652f\u6301CUDA10.1"},"content":{"rendered":"\n

\u4f5c\u8005\uff1ahws000\uff08hws.000#163.com\uff09
\u58f0\u660e\uff1a\u7248\u6743\u6240\u6709\uff0c\u8f6c\u8f7d\u8bf7\u8054\u7cfb\u4f5c\u8005\u3002
\u51fa\u5904\uff1ahttps:\/\/blog.simbot.net\/index.php\/2019\/09\/27\/build-tensorflow-with-cuda10-1-support\/<\/a><\/p>\n

\u00a0 \u00a0 \u00a0 \u00a0 \u6700\u65b0\u7684Nvidia\u9a71\u52a8\u5df2\u7ecf\u66f4\u65b0\u5230426\u4e86\uff0c\u5bf9\u5e94\u7684\u662fCUDA10.1\uff0c\u800c TensorFlow\u7684\u5b98\u65b9\u7248\u672c\u53ea\u652f\u6301CUDA10.0 \uff0c\u60f3\u7528\u6700\u65b0\u7684\u9a71\u52a8\u8c8c\u4f3c\u53ea\u80fd\u81ea\u5df1\u7f16\u8bd1\u4e86\u3002<\/p>\n

\u00a0 \u00a0 \u00a0 \u5176\u5b9e\u7f16\u8bd1TensorFlow\u5f88\u7b80\u5355\uff0c\u6309\u7167\u5b98\u65b9\u7684\u6559\u7a0b<\/a>\uff0c\u5728configure\u65f6\u663e\u793a\u6307\u5b9aCUDA\u7248\u672c\u5c31\u53ef\u4ee5\u3002<\/p>\n

        TF_CUDA_VERSION=10.1 TF_CUDNN_VERSION=7 python .\/configure.py<\/pre><\/pre>\n

\u00a0 \u00a0 \u00a0 \u00a0 \u5426\u5219build_info.py\u91cc\u7684CUDA\u7248\u672c\u4f1a\u51fa\u73b0\u9519\u8bef\uff0c\u8868\u73b0\u5982\u4e0b\uff1a<\/p>\n

        cudart_dll_name = 'cudart64_.dll'\n        cudnn_dll_name = 'cudnn64_.dll'<\/pre><\/pre>\n","protected":false},"excerpt":{"rendered":"

\u6700\u65b0\u7684Nvidia\u9a71\u52a8\u5df2\u7ecf\u66f4\u65b0\u5230426\u4e86\uff0c\u5bf9\u5e94\u7684\u662fCUDA10.1\uff0c\u800c TensorFlow\u7684\u5b98\u65b9\u7248\u672c\u53ea\u652f\u6301CUDA10.0 \uff0c\u60f3\u7528\u6700\u65b0\u7684\u9a71\u52a8\u8c8c\u4f3c\u53ea\u80fd\u81ea\u5df1\u7f16\u8bd1\u4e86\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[27,26],"_links":{"self":[{"href":"https:\/\/blog.simbot.net\/wp-json\/wp\/v2\/posts\/196"}],"collection":[{"href":"https:\/\/blog.simbot.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.simbot.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.simbot.net\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.simbot.net\/wp-json\/wp\/v2\/comments?post=196"}],"version-history":[{"count":7,"href":"https:\/\/blog.simbot.net\/wp-json\/wp\/v2\/posts\/196\/revisions"}],"predecessor-version":[{"id":216,"href":"https:\/\/blog.simbot.net\/wp-json\/wp\/v2\/posts\/196\/revisions\/216"}],"wp:attachment":[{"href":"https:\/\/blog.simbot.net\/wp-json\/wp\/v2\/media?parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.simbot.net\/wp-json\/wp\/v2\/categories?post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.simbot.net\/wp-json\/wp\/v2\/tags?post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}