Categories
Misc

Struggling to get Nvidia GPU to cooperate on Windows with TensorFlow

Hey, I’m using python 3.9.4 on Windows 10 and am trying to run an ML program in VScode, but despite all of the available resources I just can’t seem to get my GPU to run the program

When I run the following code:

import tensorflow as tf from tensorflow import keras print("Num GPUs Available: ", len(tf.config.experimental.list_physical_devices('GPU'))) 

It says:

Num GPUs Available: 0

Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use

GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.

So I checked the site and added the necessary Cuda folders to the environment path and still no luck. If someone could give some guidance as to how they achieved this I’d be grateful

EDIT: SOLVED – https://www.youtube.com/watch?v=hHWkvEcDBO0

submitted by /u/Kubrickian75
[visit reddit] [comments]

Leave a Reply

Your email address will not be published.