79345783

Date: 2025-01-10 13:04:46
Score: 0.5
Natty:
Report link

when installing PyTorch 2.5 try to use Python versions from 3.9 up to 3.12, because PyTorch 2.5 officially supports Python versions from 3.9 up to 3.12.

CUDA 12.4 is compatible with NVIDIA driver version is 566.36.

For cuDNN cuDNN 9.1.0.70 version is compatible with CUDA 12.4.

For Installation:

  1. Create a new virtual environment using conda with python version 3.12.0:

    conda create -n pytorch_env python==3.12.0

  2. Activate the env:

    conda activate pytorch_env

  3. Install pyTorch with CUDA 12.4:

    conda install pytorch torchvision torchaudio pytorch-cuda=12.4 -c pytorch -c nvidia

  4. Now try to verify it:

    print(torch.cuda.is_available())

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): when in
  • Low reputation (1):
Posted by: Touseef Ahmad