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


  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

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

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

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

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

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 ...

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

python 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

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:.


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