How do I make Pytorch work with nvidia cuda?

My laptop has an nvidia cuda compatible GPU (Quadro M1000M). I installed pytorch via conda along with the cuda packages. I also installed cuda and cudnn from the official repos. But when I run torch.cuda.is_available(), I still get False. Is there anything else I need to do?

Make sure that you have installed Python 3.9 with Anaconda, then you might be able to install it with conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch

However, I don’t know if the current CUDA version stops the precompiled version from working (it’s compiled against 11.3).

However², I believe the card is too old: PyTorch no longer supports this GPU because it is too old. - #15 by gdupont - PyTorch Forums