get the CUDA and CUDNN version on windows with Anaconda installe

后端 未结 3 1523
遇见更好的自我
遇见更好的自我 2020-12-16 05:44

There is a tensorflow-gpu version installed on Windows using Anaconda, how to check the CUDA and CUDNN version of it? Thanks.

3条回答
  •  时光取名叫无心
    2020-12-16 06:24

    Use the following command to check CUDA installation by Conda:

    conda list cudatoolkit
    

    And the following command to check CUDNN version installed by conda:

    conda list cudnn
    

    If you want to install/update CUDA and CUDNN through CONDA, please use the following commands:

    conda install -c anaconda cudatoolkit
    conda install -c anaconda cudnn
    

    Alternatively you can use following commands to check CUDA installation:

    nvidia-smi
    

    OR

    nvcc --version
    

提交回复
热议问题