I have installed pytorch cuda by running this command:
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c nvidia
My cuda version is 11.2 . I am using windows 10 .
Pytorch cuda 11.2 is not available right now . (pytorch.org)
So I have install 11.1 version .
(using nvidia-smi)
Cuda version
But it show false.
torch.cuda.is_available() >>> False
I have tried both 10.2 and 11.1 version.
As far as I know, I do not need to install cuda toolkit for pytorch