Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TensorFlow 2.13.0 cannot use GPU

Tags:

tensorflow

TensorFlow 2.13.0 GPU, what versions of cuda and cudnn are required?

$ python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

v2.13.0-rc2-7-g1cb1a030a62 2.13.0

Ubuntu22.04 system

enter image description here

enter image description here

enter image description here

The above is to install cuda and cudnn versions. But the GPU is not recognized.

enter image description here

enter image description here

So, what versions of cuda and cudnn are needed?

like image 496
KnSun Avatar asked Aug 30 '26 22:08

KnSun


1 Answers

CUDA 11.8 and cuDNN 8.6 seem to be the correct versions for TensorFlow 2.13.

Source: https://www.tensorflow.org/install/source#gpu

like image 182
druskacik Avatar answered Sep 03 '26 09:09

druskacik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!