Anant Doshi
Anant Doshi

Reputation: 205

Tensorflow-GPU not using GPU with CUDA,CUDNN

I want to use Tensorflow on GPU. So I install all the needed tool and installed as below-

  1. CUDA-11.2
  2. CUDNN-11.1
  3. Anaconda-2020.11
  4. Tensorflow-GPU-2.3.0 enter image description here

I tested that my cuda,cudnn is working using deviseQuery example. But Tensorflow not used GPU. Then i find that version compatibility issue is possible so i innstalled CudaToolkit,cudnn using conda environment checking with version compatibility on Tensorflow website which is given below.

  1. CUDA-10.2.89
  2. CUDNN-7.6.5
  3. Tensorflow-GPU-2.3.0

enter image description here enter image description here enter image description here

But after this try Tensorflow-GPU not used GPU,yet. so what i am doing now? Any steps or suggestion require.

Upvotes: 2

Views: 3256

Answers (1)

user11530462
user11530462

Reputation:

The installation engine has a problem for tensorflow-gpu 2.3 in Anaconda on Windows 10.

Workaround is to explicitly specify the correct tensorflow build:

conda install tensorflow-gpu=2.3 tensorflow=2.3=mkl_py38h1fcfbd6_0

Upvotes: 6

Related Questions