我已经更新了我的 cuda 并安装了 tensorflow-gpu,但我还是报错了
任何人都可以帮助弄清楚发生了什么以及如何解决它吗?
>>> print(tf.test.is_gpu_available())
2023-03-03 10:22:41.327797: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-03-03 10:22:41.328004: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Found device 0 with properties:
name: NVIDIA GeForce RTX 2060 major: 7 minor: 5 memoryClockRate(GHz): 1.68
pciBusID: 0000:0a:00.0
2023-03-03 10:22:41.328146: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcudart.so.10.0'; dlerror: libcudart.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-11.2/lib64:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:}
2023-03-03 10:22:41.328236: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcublas.so.10.0'; dlerror: libcublas.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-11.2/lib64:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:}
2023-03-03 10:22:41.328318: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcufft.so.10.0'; dlerror: libcufft.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-11.2/lib64:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:}
2023-03-03 10:22:41.328398: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcurand.so.10.0'; dlerror: libcurand.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-11.2/lib64:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:}
2023-03-03 10:22:41.328484: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcusolver.so.10.0'; dlerror: libcusolver.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-11.2/lib64:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:}
2023-03-03 10:22:41.328568: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcusparse.so.10.0'; dlerror: libcusparse.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-11.2/lib64:/usr/local/cuda-11.0/lib64:/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:}
2023-03-03 10:22:41.328598: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2023-03-03 10:22:41.328610: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1662] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2023-03-03 10:22:41.328633: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1180] Device interconnect StreamExecutor with strength 1 edge matrix:
2023-03-03 10:22:41.328646: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1186] 0
2023-03-03 10:22:41.328657: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1199] 0: N
False
我已经更新了我的 cuda 并安装了 tensorflow-gpu,但我还是遇到了错误。 我想要 tensorflow 可用我的 gpu
检查安装的cudnn和cuda工具包版本是否与安装的tensorflow版本兼容