GPU版本的Pytorch安装
1.CUDA的安装
查看自己计算机CUDA支持的版本
2.CUDNN的安装
对应找到CUDNN的版本
3.Pytorch的安装
找自己的CUDA对应的PYtorch安装包
https://pytorch.org/get-started/previous-versions/
并在下面的页面下载
https://download.pytorch.org/whl/cu101/torch_stable.html
参考的文章有:
https://blog.csdn.net/qq_40077736/article/details/127748900
https://mp.weixin.qq.com/s/rht6A0xPkBvRRwf8rH0qsg
https://mp.weixin.qq.com/s/eMwkNu4rbstnc7WzPYJHng
https://blog.csdn.net/weixin_46028455/article/details/129499407
命令中报错切换环境失败:
链接