当前位置:网站首页>Let torch cuda. is_ Experience of available() changing from false to true

Let torch cuda. is_ Experience of available() changing from false to true

2022-06-26 17:54:00 LIZHEMGHONG

First map
 Insert picture description here
Ha ha ha , finally … …
Ha ha ha , Do you think , If your results are the same , Will also be super super happy ヾ(๑╹◡╹)ノ"

Let's get some dry goods

One 、 Main process
1、link
2、link
1 and 2 They are all about the main process , Both have their own emphases , But probably : Install the video card driver -> install CUDA-> get cudnn-> install pytorch-GPU.
But they didn't mention a pit , It's me. pytorch The version seen on the official website only corresponds to CUDA10.2 and 11.1( It's today 2021.3.23), Don't be silly like me to install the latest 11.2, Then it is found that there is no corresponding instruction on the official website .
So I suggest you take a look at pytorch On the official website CUDA What is the version before installing CUDA

 here , You see

Two 、 Official installation resources
1、link.
2、link
3、link
4、link

1 Is the official website for installing the graphics card driver
 Insert picture description here

2 It's installation CUDA Official website , There are various versions of CUDA
3 It's installation cudnn Official website , There are various versions of cudnn
4 It's installation pytorch Official website

3、 ... and 、 Auxiliary resources
1、link.
2、link.
3、link.
4、link.
5、link.

1 yes cudnn Installation method , But take that 3 Just move the folders , No need to change environment variables manually , Because it is installed CUDA After that, the environment variable is automatically changed , You can check it
2 Talked a lot , I mainly looked at the previous examination CUDA And graphics card driver in and out of the way
3 I have a problem ,Windows NVIDIA Corporation Under no NVSMI Folder (2 In that step, my graphics card driver is not ), If you 2 If you don't have any problems, you don't have to read it ( Thanks to the blogger NVSMI Folder resources )
4 yes NVIDIA What if the installer fails , Look at the folding answer  Insert picture description here
That's his answer , If you have no problem installing the graphics card driver, you don't have to look
5 How to view the driver version number of a graphics card

原网站

版权声明
本文为[LIZHEMGHONG]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206261742207111.html