


If you want to actually compile and build CUDA code, you need to install a separate CUDA toolkit which contains all the the development components which conda deliberately omits from their distribution.
#Anaconda cuda toolkit driver
You would still require a supported NVIDIA driver installation to make the tensorflow which conda installs work. The CUDNN package that conda installs is the redistributable binary distribution which is identical to what NVIDIA distribute - which is exactly two files, a header file and a library. what you get is (keeping in mind most of those "files" above are just symlinks) You can check this for yourself: cat /opt/miniconda3/conda-meta/cudatoolkit-10.1.168-0.json Even though it is now greatly expanded in scope from what it used to be (literally 5 files - I think at some point they must have gotten a licensing deal from NVIDIA because some of this wasn't/isn't on the official "freely redistributable" list AFAIK), it still is basically just a handful of libraries. The package name cudatoolkit is a complete misnomer. by following these installation instructions: )Īnd then I noticed that tensorflow-gpu was also installing cuda and cudnnĭo i now have two versions of CUDA/CuDNN installed and how do I check this?ĭo i now have two versions of CUDA installed and how do I check this?Ĭonda installs the bare minimum redistributable library components required to support the CUDA accelerated packages they offer. I first installed CUDA and CuDNN the old way (e.g. Does this mean that I no longer need to install CUDA and CUDNN manually anymore to be able to use tensorflow-gpu? Where does this conda installation of CUDA reside? I see that installing tensorflow-gpu automatically triggers the installation of the cudatoolkit and cudnn. You don't have to deal with installing CUDA and cuDNN manaually at the system wide level. You can have multiple conda environments with different levels of TensorFlow, CUDA, and CuDNN and just use conda activate to switch between them. About Us Anaconda Cloud Download Anaconda. Anaconda will always install the CUDA and CuDNN version that the TensorFlow code was compiled to use. Tensorflow-gpu pkgs/main/linux-64::tensorflow-gpu-2.1.0-h0d30ee6_0 3 Conda Files Labels Badges Label Latest Version cuda-12.2.2 12.2.2. The following packages will be downloaded: When I install tensorflow-gpu through Conda it gives me the following output: conda install tensorflow-gpuĬollecting package metadata (current_repodata.json): doneĮnvironment location: /home/psychotechnopath/anaconda3/envs/DeepLearning3.6
