Pytorch installation error wheel'torch' located is inavlid

RTX4060 , NVIDIA-SMI 551.61 Driver Version: 551.61 CUDA Version: 12.4 |
|-----------------------------------------±-----------------------±---------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 4060 … WDDM | 00000000:01:00.0 On | N/A |
| N/A 38C P8 2W / 125W | 278MiB / 8188MiB | 0% Default |
| | | N/A |
±----------------------------------------±-----------------------±---------------------+

±----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 17352 C+G …_8wekyb3d8bbwe\PAD.Console.Host.exe N/A |
±----------------------------------------------------------------------------------------+
I have installed CUDA 11.8 for stable support

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:41:10_Pacific_Daylight_Time_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0

but when i tried to installed pytorch for windows


pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

i got following error
ERROR: Wheel ‘torch’ located at C:\Users-—\AppData\Local\Temp\pip-unpack-vsfpo0zm\torch-2.2.1+cu118-cp311-cp311-win_amd64.whl is invalid.

Waiting for your kind help friends.
Thanks .

Hi, @xubair9023

Sorry. This is a forum to support devtools - Sanitizer usage, and we are not familiar this installation.
So please ask in cuda installation or deep learning related forum directly.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.