0

I try to train a machine learning model with my rtx380 10g and I use ubuntu 20.4 on my computer.

When i lunch my application, it says me :

2021-07-02 10:29:53.581609: I tensorflow/core/platform/profile_utils/cpu_utils.cc:114] CPU Frequency: 2496000000 Hz

after that, i tried to print len(my phisical_devices('Gpu')) but it gives me "0".

I installed Conda, but i'm not sure it's working. (Same for Cudnn)

To be honest, i'm quite lost now.

talonmies
  • 70,661
  • 34
  • 192
  • 269
pgmendormi
  • 184
  • 2
  • 12

2 Answers2

0

I had the same issue, did you install CUDA Toolkit, is it the right version based on your GPU?

Also did you do

pip install tensorflow-gpu

Try this thread: Tensorflow not running on GPU

0

it's probably a compatibility issue. Make sure your TF version is compatible with the Python, Cuda & Cudnn versions that are installed on ur PC and make sure that Microsoft Visual Studio is installed.

I'm currently using TF2.4, Python 3.8, Cuda 11.0 and Cudnn 8.0. Give this combination a try and see if it works.

Dharman
  • 30,962
  • 25
  • 85
  • 135
MajorLazer
  • 77
  • 1
  • 6