[英]tensorflow-gpu 2.2 works with CUDA 10.2 but requires cuDNN 7.6.4 which doesn't have a download file in NVIDIA archive for CUDA 10.2
[英]Is it possible to use CUDA 10.2 with tensorflow 2.1?
由於與我的顯卡(GeForce RTX 2060)不兼容,我發現安裝 CUDA 10.1 時出現問題。 我成功安裝了 CUDA 10.2。 但它看起來與 Tensorflow 2.1 不兼容。
當我在 python 上運行此代碼時:
import tensorflow as tf
tf.config.list_physical_devices()
它返回一個空列表,這意味着沒有可用的 GPU。
有沒有辦法解決這個問題? 謝謝
According to this stream https://github.com/tensorflow/tensorflow/issues/34759 , tensorflow 2.1 is not working with cuda 10.2 unless you build from the sources.
輕松解決問題的唯一方法是降級到 Cuda 10.1,除非您想從源代碼構建。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.