tensorflow 2.5.0 CUDA compatibility
See original GitHub issueThe latest versions use tensorflow==2.5.0
, CUDA==10.2
, cudnn7
.
Apparently, tensorflow==2.5.0
seems to be not compatible with CUDA==10.2
.
full log:
2021-06-22 06:10:01.725884: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcusparse.so.11'; dlerror: libcusparse.so.11: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64
2021-06-22 06:10:01.725969: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudnn.so.8'; dlerror: libcudnn.so.8: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64
2021-06-22 06:10:01.725984: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1766] 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...
2021-06-22 06:10:01.864938: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1258] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-06-22 06:10:01.864983: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1264] 0
2021-06-22 06:10:01.864993: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1277] 0: N
2021-06-22 06:10:02.428699: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 0 with properties:
pciBusID: 0000:3e:00.0 name: Tesla V100-SXM2-32GB computeCapability: 7.0
coreClock: 1.53GHz coreCount: 80 deviceMemorySize: 31.75GiB deviceMemoryBandwidth: 836.37GiB/s
2021-06-22 06:10:02.428764: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1766] 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...
2021-06-22 06:10:02.429027: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1258] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-06-22 06:10:02.429043: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1264]
GPU test:
import tensorflow as tf
print(tf.__version__)
print(tf.test.is_gpu_available())
>>> 2.5.0
>>> False
A simple workaround was downgrading to tensorflow-gpu==2.3.0
, which was still OK in my project.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
tensorflow 2.5.0 cuda and cudnn version · Issue #49295
0 GPU works perfectly with CUDA 11.2. 2 and cuDNN 8.1. 1, at least on Windows 10 x64 in a conda environment running...
Read more >Tensorflow 2.5 with GPU device (Python 3.9, Cuda 11.2.2 ...
I want to share the procedure to work with your GPU with the new stable version of tensorflow 2.5 in case someone is...
Read more >Which TensorFlow and CUDA version combinations are ...
Which TensorFlow and CUDA version combinations are compatible? · Linux GPU · Linux CPU · macOS GPU · macOS CPU · Windows GPU...
Read more >How to install Tensorflow 2.5 with CUDA 11.2 and CuDNN 8.1 ...
In this article, I am going to show you how you can install Tensorflow 2.5, CUDA 11.2.1, and CuDNN 8.1, for Windows 10,...
Read more >CUDA/Cudnn/Driver/GCC/TensorFlow/Python version ...
The compatibility requirement is most flexible. NVIDIA has separated cudnn builds for each cuda version. Here is the official link that lists ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed. Feel free to reopen this issue if problem still exist.
@vanakema Sorry for that mistake! We will fix it ASAP.