Follow this tutorial Tensorflow GPU I did it and it works perfect.

Attention! - install version 9.0! newer version is not supported by Tensorflow-gpu

Steps:

  1. Uninstall your old tensorflow
  2. Install tensorflow-gpu pip install tensorflow-gpu
  3. Install Nvidia Graphics Card & Drivers (you probably already have)
  4. Download & Install CUDA
  5. Download & Install cuDNN
  6. Verify by simple program

from tensorflow.python.client import device_lib print(device_lib.list_local_devices())

How do I use TensorFlow GPU? - Stack Overflow

https://stackoverflow.com/questions/51306862/how-do-i-use-tensorflow-gpu

How do I use TensorFlow GPU version instead of CPU version in Python 3.6 x64 ? import tensorflow as tf. Python is using my CPU for calculations ...

Use a GPU | TensorFlow Core

https://www.tensorflow.org/guide/gpu

Overview. TensorFlow supports running computations on a variety of types of devices, including CPU and GPU. They are represented with string identifiers for  ...

tensorflow-gpu · PyPI

https://pypi.org/project/tensorflow-gpu/

Project description. Python PyPI. TensorFlow is an open source software library for high performance numerical computation. Its flexible architecture allows easy  ...

Install TensorFlow with pip

https://www.tensorflow.org/install/pip

tensorflow-gpu==1.15 —Release with GPU support (Ubuntu and Windows). System requirements. Python 3.5–3.8. Python 3.8 support requires TensorFlow 2.2 or ...

Docker | TensorFlow

https://www.tensorflow.org/install/docker

Docker is the easiest way to enable TensorFlow GPU support on Linux since only ... Within the container, you can start a python session and import TensorFlow.

Installing Tensorflow with CUDA, cuDNN and GPU support on ...

https://towardsdatascience.com/installing-tensorflow-with-cuda-cudnn-and-gpu-support-on-windows-10-60693e46e781

This article covers the installation of Tensorflow with CUDA, cuDNN and GPU ... Microsoft Visual Studio; the NVIDIA CUDA Toolkit; NVIDIA cuDNN; Python ...

Set Up Your GPU for Tensorflow

https://databricks.com/tensorflow/using-a-gpu

python matmul.py cpu 1500. The first thing you'll notice when running GPU- enabled code is a large increase in output, compared to a normal TensorFlow script.

TensorFlow — Anaconda documentation

https://docs.anaconda.com/anaconda/user-guide/tasks/tensorflow/

CPU-only TensorFlow on Python 2 on Linux or macOS: conda create -n tf-2 tensorflow python=2 conda activate tf-2. GPU TensorFlow on Python 2 on Linux:.

tensorflow/tensorflow

https://hub.docker.com/r/tensorflow/tensorflow/

Official Docker images for the machine learning framework TensorFlow ... docker run -it --rm --runtime=nvidia tensorflow/tensorflow:latest-gpu python.