Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will Anaconda's install of cudatoolkit and cudnn mess with my current configuration?

I am trying to set up an anaconda virtual environment with tensorflow-gpu. When I go to install it, it says that it will also be installing cudatoolkit and cudnn, both of which I already have installed and configured on my machine. Will this mess with my existing configuration? Will this all be local inside of the virtual environment?

Note that the versions that it is asking to install are NOT the same as those already on my machine.

I currently have another virtual environment which runs tensorflow-gpu perfectly well, but it never asked me to install these packages.

For reference, I am running Ubuntu 18.04, Cuda 9.0, and cuDNN 7.0.3

Thanks for the help! I've spent a long time getting the packages configured correctly and don't want to have to start over.

like image 676
WNavidson1 Avatar asked May 22 '18 18:05

WNavidson1


People also ask

How do I know if cuDNN is installed?

Step 1: Register an nvidia developer account and download cudnn here (about 80 MB). You might need nvcc --version to get your cuda version. Step 2: Check where your cuda installation is. For most people, it will be /usr/local/cuda/ .

Why do I need cuDNN?

cuDNN is built on top of the CUDA framework which is how you use NVIDIA GPUs for general purpose computing tasks. High performance GPU acceleration is helpful for machine learning tasks because it it allows computers to speed up processes, saving you time.

Does Cudatoolkit need CUDA?

To build an application, a developer has to install only the CUDA Toolkit and necessary libraries required for linking. In order to run a CUDA application, the system should have a CUDA enabled GPU and an NVIDIA display driver that is compatible with the CUDA Toolkit that was used to build the application itself.


1 Answers

Anaconda cudatoolkit doesnt contain all the files which are included in a full CUDA install. Rather cudatoolkit includes the libraries which are redistributable and are used in downstream packages like Tensorflow, PyTorch, etc

[1] https://github.com/ContinuumIO/anaconda-issues/issues/9676

like image 176
Harsha Manjunath Avatar answered Nov 09 '22 21:11

Harsha Manjunath