PyTorch and CUDA driver

前端 未结 3 1751
隐瞒了意图╮
隐瞒了意图╮ 2021-01-19 06:40

I have CUDA 9.2 installed. For example:

(base) c:\\>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built          


        
3条回答
  •  佛祖请我去吃肉
    2021-01-19 07:18

    PyTorch official call for using CUDA 9.0 and I would suggest the same. In other cases, there are sometimes build issues which leads to 'CUDA not detected'.So, when using PyTorch its best to use CUDA 9.0 and CuDnn 7. I'll add a link where you can easily install Cuda 9.0 and CuDnn 7.

    https://yangcha.github.io/CUDA90/

提交回复
热议问题