After researching a lot on how to use PyTorch with a RTX 3060 card, specially with older versions or torch
(0.4.0
) and torchvision
(0.2.1
), I noticed that it was either impossible or very hard to do. RTX 3060 and these packages apparently doesn't have compatibility with the same versions of CUDA and cuDNN. I tried to do this by using different combinations with compiled versions available in conda, but didn't work, maybe it could work if you recompile from source these versions.
After all this, actually I was able to use RTX 3060 effectively with latest versions of all these dependencies with two methods:
- Using a conda env, and latest versions published in pytorch site (https://pytorch.org/get-started/locally):
conda create -n rtx_3060 python=3.6.5
conda activate rtx_3060
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c nvidia