Issues with CUDA 12.8 and Pytorch Installation

jeburling: <p>I am having issues downloading pytorch with CUDA12.8. When I utilize the  command line prompt from <a href="https://pytorch.org/get-started/locally/" rel="noopener nofollow ugc">https://pytorch.org/get-started/locally/</a> which is (pip3 install torch torchvision torchaudio --index-url <a href="https://download.pytorch.org/whl/cu128" rel="noopener nofollow ugc">https://download.pytorch.org/whl/cu128</a> ), I get an error message as seen below in the screenshot. I am running the command in a conda env that is working with Python 3.10 because the newest Anaconda download corresponds to Python 3.13 which is unsupported by Pytorch. Any suggestions?<br>
<div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/4/a/4a7e2a00b3a30f77bf46f0ca069f5afbb624042e.png" data-download-href="https://discuss.pytorch.org/uploads/default/4a7e2a00b3a30f77bf46f0ca069f5afbb624042e" title="Screenshot 2025-07-28 144655"><img src="https://discuss.pytorch.org/uploads/default/original/3X/4/a/4a7e2a00b3a30f77bf46f0ca069f5afbb624042e.png" alt="Screenshot 2025-07-28 144655" data-base62-sha1="aCZDyPx5SpL4UxAjpC5npUI0q9o" width="690" height="360" data-dominant-color="292727"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">Screenshot 2025-07-28 144655</span><span class="informations">979×511 39.7 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>

ptrblck: <p>It seems cached binaries are used. Did you try to remove these cached files allowing a re-download of all files again?</p>

jeburling: <p>Yes: I did the following and got the result (screenshot)<br>
pip uninstall torch torchvision torchaudio<br>
pip cache purge<br>
conda clean --all<br>
pip install torch torchvision torchaudio --index-url <a href="https://download.pytorch.org/whl/cu128" rel="noopener nofollow ugc">https://download.pytorch.org/whl/cu128</a><br>
<div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/0/1/017e4bce35b979c11da9f6476973fdcd31568399.png" data-download-href="https://discuss.pytorch.org/uploads/default/017e4bce35b979c11da9f6476973fdcd31568399" title="Screenshot 2025-07-28 155029"><img src="https://discuss.pytorch.org/uploads/default/original/3X/0/1/017e4bce35b979c11da9f6476973fdcd31568399.png" alt="Screenshot 2025-07-28 155029" data-base62-sha1="dd44m6tWZkmd1lxHYmhsYVY0Rj" width="690" height="357" data-dominant-color="2A2828"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">Screenshot 2025-07-28 155029</span><span class="informations">990×513 41.8 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>

ptrblck: <p>I cannot reproduce the issue by checking the checksum of the binary you are downloading:</p>
<pre data-code-wrap="python"><code class="lang-python">wget https://download.pytorch.org/whl/cu128/torch-2.7.1%2Bcu128-cp310-cp310-win_amd64.whl#sha256=5174f02de8ca14df87c8e333c4c39cf3ce93a323c9d470d690301d110a053b3c
...
sha256sum torch-2.7.1+cu128-cp310-cp310-win_amd64.whl 
5174f02de8ca14df87c8e333c4c39cf3ce93a323c9d470d690301d110a053b3c  torch-2.7.1+cu128-cp310-cp310-win_amd64.whl
</code></pre>
<p>as I’m seeing the same <code>sha256sum</code>.<br>
CC <a class="mention" href="/u/malfet">@malfet</a> in case you have seen such an issue.</p>

malfet: <p>I’ve seen those in the past, and my recommendation is to talk to ones ISP, that might install some transparent cache proxies…</p>