FinnRiggott
(Finn Riggott)
22
I had the same issue (Windows 11 Pro, Cuda 12.4, Python 3.11.9)
I was using torch==2.4.1+cu124, torchvision==0.19.1+cu124, torchaudio==2.4.1+cu124.
Going back to torch==2.4.0+cu124, torchvision==0.19.0+cu124, torchaudio==2.4.0+cu124 fixed this for me. Install with:
“pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu124
Looking in indexes: https://download.pytorch.org/whl/cu124”
1 Like
mugi
(william mak)
23
ok i have had encountering similar errors. after trying different versions of torch, the follow works:
windows 11 / i9-14900HX / RTX4070
numpy 1.24
torch 2.2.2
torchvision 0.17.2
torchaudio 2.2.2
cuda 12.1
Thank you, your method worked for me too. My envirements are : windows 11, cuda 12.8, pytorch 2.2.0. This env can work.
Same issue with windows 10 and pythorch 2.6.0. I had to go back to pytorch 2.4.0 to solve it. CPU version.
as1164
(as1164)
26
Still an issue on Windows 11. Using Python 3.11.0. This addressed the issue:
pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --index-url https://download.pytorch.org/whl/cpu
EDIT: Never mind. It installs now, but it throws the same error in runtime