Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't find pytorch and cudnn version for CUDA 12.4. Which versions can I download and use?

Tags:

python

pytorch

nvidia-smi output says CUDA 12.4 as follows.

enter image description here I downloaded and installed this as CUDA toolkit

enter image description here

and downloaded cudnn top one: enter image description here

There is no selection for 12.4. Because of this i downloaded pytorch for CUDA 12.1. enter image description here I transferred cudnn files to CUDA folder. Bin folder added to path. And results:

enter image description here I bought a computer to work with CUDA but I can't run it.

like image 825
CanKURT Avatar asked Oct 16 '25 00:10

CanKURT


1 Answers

I have tried the solution @talonmies suggested (simply uninstall the Cuda toolkit v12.4) and run the command pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 and it worked for me.

I hope this can help you in any way!

like image 86
ABELY Avatar answered Oct 17 '25 13:10

ABELY



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!