Having issues setting up CUDA drivers on windows 10

Hey all! first time poster here so please let me know if this is not the right forum to post this!

I am working on my first solo ML project and I’m having issues getting my NN to train on my GPU.

I’m running a virtual environment with venv on VSCode and have followed all the sinstructions in NVidia’s documentaion (with the installer) but get this error in Jupyter whenever I try to import tensorflow:

In text in case the image does not work:

2025-01-10 12:45:47.742039: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used. 2025-01-10 12:45:47.766100: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used. 2025-01-10 12:45:47.766530: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2025-01-10 12:45:48.320350: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT 2025-01-10 12:45:48.930253: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] could not open file to read NUMA node: /sys/bus/pci/devices/0000:2b:00.0/numa_node Your kernel may have been built without NUMA support. 2025-01-10 12:45:48.931411: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1960] 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 पाइप के साथ TensorFlow स्थापित करें for how to download and setup the required libraries for your platform. Skipping registering GPU devices…

[1]:

[PhysicalDevice(name=‘/physical_device:CPU:0’, device_type=‘CPU’)]

Could anyone here help me out in figuring out what is going wrong?

hi @MateoStr

This is not an error but a warning. here are two threads which should help you resolve your issue

The above link mentions your code executes but due to cuda and tf version mismatch, your codes might not be working on GPU

The below link more provides details for cuda driver related issue

you probably have pip install tensorflow, did you download the tf package locally?