- Install Python Anaconda
- Now choose the appropriate Nvidia Drivers —CUDA 10.1 requires 418.x or higher.
- Download the CUDA Toolkit —TensorFlow supports CUDA 10.1 (TensorFlow >= 2.1.0)
- Now download the Cudnn libraries (>= 7.6)
Conveniently download the NVIDIA driver as per ur device, My Setup
- Install Anaconda first, then install the NVIDIA drivers as per ur machine.
- Install CUDA Toolkit with default settings and usually it takes time so bare with it !
- Now extract the Cudnn libraries zip file and copy all the files to "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2" location and overwrite the files on that location. (If u find this step difficult run the cudnn.bat file as Administrator which will do it for you)
- On successfull completion of the above steps proceed further to creation of virtual environments.
After downloading all the files and successfull instllation now run it manually,
To enter this environment, you must use the following command. You must execute this command every time you open a new Anaconda/Miniconda terminal window:
You must also link your new tensorflow environment to Jupyter so that you can choose it as a Kernal. Always make sure to run your Jupyter notebooks from your 3.7 kernel. You should only need to enter this command once.
At this point, you should have a working Python environment for TensorFlow.
To Del an env
To verify the setup use version.py for checking the tf version and to test GPU setup use gpu_setup.py
- DLL error then extract the DDL script from ddl.zip and paste it to C:\Windows\System32.
- Run the Visual studio driver attached for device kernel compatibility issues.