Table of Contents
- Project Pipeline
- GPU Support (Windows)
- Tensorflow GPU
- Possible Errors
- GPU Support (Linux)
data > preprocessing > models > training > predictions
You can follow from the official documentation here OR...
Guidance for Tensorflow Installation with CUDA, cudNN and GPU support: Youtube Video
Tested on Windows environment with Tensorflow 2.9, CUDA 11.2, cudnn 8.1
-
GO HERE FIRST to check cross compatibility
-
Download and install Microsoft Visual Studio
-
Download and install NVIDIA CUDA Toolkit
-
Download NVIDIA cuDNN
-
Extract cuDNN and transfer the files within
- Copy folders bin, include, lib
- Paste and replace to ...\NVIDIA GPU Computing Toolkit\CUDA\v11.2\
- Search and open Edit the system environment variables
- Go to Environment Variables
- Double click on Path and add these full dir path:
- ...\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin
- ...\NVIDIA GPU Computing Toolkit\CUDA\v11.2\libnvvp
-
Install and create Anaconda Python environment (check compatible version)
conda create --name {any_name} python=={compatible_version}
- Install Tensorflow (compatible with GPU support)
pip install tensorflow=={compatible_version}
Please refer link
Could not locate zlibwapi.dll. Please make sure it is in your library path
Copy of the missing zlib DLL in the NVIDIA Nsight directory:
C:\Program Files\NVIDIA Corporation\Nsight Systems 2022.4.2\host-windows-x64\zlib.dll
Copied and renamed it to:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\zlibwapi.dll