Installing TensorFlow with GPU support on Windows 10 and Nvidia graphics card in 5 steps

  1. Search for Nvidia Control Panel and look for nvidia version.
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin;
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\extras\CUPTI\lib64;
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\include;
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\libnvvp;
C:\tools\cuda\bin;
pip install tensorflow-gpu
import tensorflow as tffrom tensorflow.python.client import device_libprint("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))device_lib.list_local_devices()
This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)
to use the following CPU instructions in performance-critical operations: AVX AVX2

--

--

--

sharing knowledge.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

8 Best Moments of OutSystems Engineering in 2021

June 2019 Content Summary

How to Use the Backend for Frontend Pattern in Your Mobile App Architecture

Cloud Computing — Who Really Cares?

Scavenger Hunt Round 3: A hidden fact

My first blog, How to start with Web Development in 2022 ?

Memory Management in C++ Part 2

Object Oriented Programming using Python

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Atufa Shireen

Atufa Shireen

sharing knowledge.

More from Medium

Kernel Density Estimation from Scratch in Python

How to Run Hadoop on macOS (Apple M1 and Intel CPU) by One Command

Basics of 3d Point Cloud Data manipulation in Python

how to sort your package in python