如题,在输入以下代码后:
gpu_use=torch.cuda.is_available()
print(gpu_use)
结果为:False
pytorch:1.7.0
cuda:10.2.89
笔记本电脑
两个显卡,核显为Inter(R) UHD Graphics 630
独显NVIDIA GeForce GTX1050TI
这是过程中的资源管理器性能情况
有没有人能解答一下,谢谢!
如题,在输入以下代码后:
gpu_use=torch.cuda.is_available()
print(gpu_use)
结果为:False
pytorch:1.7.0
cuda:10.2.89
笔记本电脑
两个显卡,核显为Inter(R) UHD Graphics 630
独显NVIDIA GeForce GTX1050TI
这是过程中的资源管理器性能情况
有没有人能解答一下,谢谢!
安装的不对,使用conda安装pytorch,cuda为10.2版本的安装方法为:
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
有用请采纳~~~