Home > Enterprise >  Is it needed to install Cuda Toolkit from NVIDIA in Win10 to use Cuda when you already have cudatool
Is it needed to install Cuda Toolkit from NVIDIA in Win10 to use Cuda when you already have cudatool

Time:06-30

I have cudatoolkit and cudnn packages installed in my anaconda environment but tensorflow does not recognize my GPU device. In some web sources I have seen that you can use Cuda by only installing necessary anaconda packages. So, what I would like to know is that do I have to install NVIDIA Cuda from its website to be able to use it or would it lead to conflicts?

CodePudding user response:

I think something wrong with your environment variables. I can recommend these steps:

  • Create a new environment

  • Install required packages: conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0 python3 -m pip install tensorflow

  • Verify the installation, first import tensorflow python3 -c "import tensorflow as tf;

  • Then check the GPU print(tf.config.list_physical_devices('GPU'))"

This should be work `

  • Related