ENVIRONMENT DETAILS:
RESTRICTIONS (https://www.tensorflow.org/extras/cert/Setting_Up_TF_Developer_Certificate_Exam.pdf):
CONFIGURATION STEPS:
Install the driver corresponding to my video card:
What video card do I have?
What driver do I need to install?
This is the driver I got: 545.84-notebook-win10-win11-64bit-international-dch-whql
c. Check if the driver was properly installed with nvidia-smi
command
Install CUDA
b. This is where I took the CUDA kit from:
Download and copy CuDNN files
Download the CuDNN 8.6, according to the dependency list above.
Unzip the archive.
Copy the content of the following subfolders contained in the CuDNN archive:
Set the environment variables:
Add C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin, Toolkit\CUDA\v11.8\extras\CUPTI\lib64, C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include and C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8 to the PATH variable
Install Anaconda
Create a virtual environment using Anaconda and install everything needed for running on GPU there
conda create --name VIRTUALENVIRONMENTNAME python=3.9conda create --name
conda activate VIRTUALENVIRONMENTNAME
conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
pip install --upgrade pip
pip install tensorflow==2.13.*
python -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
#IT DOES NOT WORK 😞
conda deactivate