Till date, I have been using Tensorflow-GPU by installing it using pip and the Cuda related software and Nvidia softwares/drivers from Nvidia's website. Recently, I found that using conda install tensorflow-gpu
also installs cudatoolkit and cudnn.
So, how are these(the ones provided by conda) different from the ones that I downloaded from Nvidia's website?
In my first (previous) environment, conda list
showed that I have installed only TensorFlow(from PyPi) and no cudnn/cudatoolkit, but still everything worked.
Also, in a new environment in which I ran conda install tensorflow-gpu
, conda list
showed me tensorflow-gpu has been installed along with cudatoolkit and cudnn by Anaconda. And in this environment also, everything worked fine.
So does this mean, that downloading and installing Cuda from Nvidia's website is only necessary if I use pip to install TensorFlow?