Pytorch cannot use cuda

pytorch has been successfully installed according to conda install pytorch torchvision cudatoolkit=10.0-c pytorch
cuda and cudnn on the official website. Through the nvcc instruction, you can see that it is Cuda compilation tools, release 10.0, V10.0.130
, but the result is False when you execute torch.cuda.is_available () . How do you solve it?

Jun.14,2022
Has

created the virtualenv environment


Hello, have you solved this problem? mine is also unable to call GPU

.
Menu