New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tensorflow-gpu doesn't pack CUDA and cuDNN anymore through conda-forge #54423
Comments
Looks like you have to be careful you match the correct Nvidia drivers, could be an issue? https://www.tensorflow.org/install/gpu |
The drivers I have installed can support CUDA 11.2. The TensorFlow install I'm looking for is compatible with CUDA 10.1. Also, as I stated before, even on the machine that already has a functional TF install, and thus presumably correct drivers, conda-forge doesn't provide cudatoolkit or cudnn either. |
Please try with "conda install -c anaconda cudatoolkit " command . If that does not resolve the issue please check with instructions from here with TF 2.8 after activating Conda environment? |
The GPU still isn't recognized, and cuDNN still isn't installed either through conda with cudatoolkit or pip with tensorflow. |
@BptGrm,
|
I have been able to install TF like this previously. |
@BptGrm, It used be earlier. When all the compatible packages release happen at the same time, in that case we no need to explicitly mention any of the versions. Binary installer takes the latest stable version. Since when the CUDA and cuDNN and Tensorflow compatibility is required, we need to mention each package version explicitly. Thanks! |
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
System information
Describe the problem
A few months ago, I installed TensorFlow on a machine through conda-forge. After running into some issues installing it at the system level, I found the simplest solution was to install the tensorflow-gpu package in a conda environment.
That meta-package came in with cudatoolkit and cudnn, and it worked out of the box.
However, as I tried to replicate that install on another machine, I found that the list of packages provided when trying to install tensorflow-gpu through conda-forge did not contain cudatoolkit or cudnn.
I also tried again on the machine where I had a successful install, in another environment, and the issue persisted.
Provide the exact sequence of commands / steps that you executed before running into the problem
conda install tensorflow-gpu==2.3.0 -c conda-forge
conda outputs the following :
Then, running those lines :
Outputs the following :
The text was updated successfully, but these errors were encountered: