My RTX5080 GPU can't work with PyTorch

zp9450: <p>\Local\Programs\Python\Python312\Lib\site-packages\torch\cuda_<em>init</em>_.py:235: UserWarning:<br>
NVIDIA GeForce RTX 5080 with CUDA capability sm_120 is not compatible with the current PyTorch installation.<br>
The current PyTorch install supports CUDA capabilities sm_50 sm_60 sm_61 sm_70 sm_75 sm_80 sm_86 sm_90.<br>
If you want to use the NVIDIA GeForce RTX 5080 GPU with PyTorch, please check the instructions at <a href="https://pytorch.org/get-started/locally/" class="inline-onebox" rel="noopener nofollow ugc">Start Locally | PyTorch</a></p>
<p>and i tried <a href="https://pytorch.org/get-started/locally/" class="inline-onebox" rel="noopener nofollow ugc">Start Locally | PyTorch</a>    and find nothing to help<br>
if there is an update suite my GPU<br>
please email me</p>

ptrblck: <p>You need to install the nightly binaries with CUDA 12.8 (select nightly in the install matrix and replace the CUDA version in the URL with <code>cu128</code>). We’ll update the install matrix once all builds are ready.</p>

ou17770103456: <p>When will the new version of pytorch be released?</p>

ptrblck: <p>Nightly binaries are released every night. 2.7 is planned for April I believe.</p>

zp9450: <p>pip3 install --pre torchvision torchaudio --index-url /whl/nightly/cu128<br>
Looking in indexes: /whl/nightly/cu128<br>
Collecting torchvision<br>
Using cached <a href="https://download.pytorch.org/whl/nightly/cu128/torchvision-0.22.0.dev20250302%2Bcu128-cp312-cp312-win_amd64.whl.metadata" rel="noopener nofollow ugc">https://download.pytorch.org/whl/nightly/cu128/torchvision-0.22.0.dev20250302%2Bcu128-cp312-cp312-win_amd64.whl.metadata</a> (6.3 kB)<br>
ERROR: Could not find a version that satisfies the requirement torchaudio (from versions: none)</p>

nafe_alhmdan: <p>hi  rtx5090 Error creating song: CUDA error: no kernel image is available for execution on the device Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.</p>

zp9450: <p>use preview version<br>
pip3 install --pre torch torchvision torchaudio --index-url <a href="https://download.pytorch.org/whl/nightly/cu128" rel="noopener nofollow ugc">https://download.pytorch.org/whl/nightly/cu128</a><br>
if you can‘t match the day package，check version in <a href="https://download.pytorch.org/whl/torch/" rel="noopener nofollow ugc">https://download.pytorch.org/whl/torch/</a></p>

nafe_alhmdan: <p>how i can use preview version<br>
pip3 install --pre torch torchvision torchaudio --index-url</p>

zp9450: <p>“pip3 install --pre torch torchvision torchaudio --index-url <a href="https://download.pytorch.org/whl/nightly/cu128%E2%80%9D" rel="noopener nofollow ugc">https://download.pytorch.org/whl/nightly/cu128”</a><br>
put url end of pip3 cmd</p>

nafe_alhmdan: <p>i can use anydesk fix my bc<br>
thank you</p>

nafe_alhmdan: <p>hi<br>
ERROR: Cannot install torch, torchaudio==2.6.0 and torchvision==0.22.0.dev20250226+cu128 because these package versions have conflicting dependencies.</p>

zp9450: <p><a href="https://download.pytorch.org/whl/nightly/torchvision/" class="onebox" target="_blank" rel="noopener nofollow ugc">https://download.pytorch.org/whl/nightly/torchvision/</a><br>
find your version in this url<br>
i use torchvision-0.22.0.dev20250302+cu128-cp312-cp312-win_amd64.whl<br>
choose your version with +cu128,  cpu version，os type,cpu type</p>

zp9450: <p>i can’t find torchaudio-2.6.0.dev20250302+cu128-cp312-cp312-win_amd64.whl<br>
i need this version</p>

ptrblck: <aside class="quote" data-post="27" data-topic="216099">
  <div class="title">
    <div class="quote-controls"></div>
    <img alt="" width="24" height="24" src="https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ptrblck/48/1823_2.png" class="avatar">
    <a href="https://discuss.pytorch.org/t/pytorch-support-for-sm120/216099/27">Pytorch support for sm120</a> <a class="badge-category__wrapper " href="/c/deployment/14"><span data-category-id="14" style="--category-badge-color: #BF1E2E; --category-badge-text-color: #FFFFFF;" data-drop-close="true" class="badge-category " title="A category of posts focused on production usage of PyTorch. Mobile deployment is out of scope for this category (for now…  )"><span class="badge-category__name">deployment</span></span></a>
  </div>
  <blockquote>
    All audio builds fail on Windows due to: <a href="https://github.com/pytorch/audio/issues/3877" class="inline-onebox">[binary builds] torchaudio Windows cuda nightly builds are failing since 01.29.2025 · Issue #3877 · pytorch/audio · GitHub</a>
  </blockquote>
</aside>


zp9450: <p>i got torchvision-0.22.0.dev20250306+cu128-cp312-cp312-win_amd64.whl<br>
but Requires-Dist: torch (==2.7.0.dev20250305+cu128)<br>
i edit 0305 to 0306 and install completed<br>
if there is a bug 0306 requires 0305,you should know</p>

ptrblck: <p><code>torchaudio</code> binaries for Windows are unblocked now with a workaround.</p>

nafe_alhmdan: <p>hi rtx 5090<br>
pip3 install --pre torch torchvision torchaudio --index-url <a href="https://download.pytorch.org/whl/nightly/cu128" rel="noopener nofollow ugc">https://download.pytorch.org/whl/nightly/cu128</a> If you download the program<br>
replay<br>
Nvidia rvc<br>
it will work because I tried but it didn’t work</p>

davidair: <p>Just got an RTX5080, the following did the trick:</p>
<pre><code class="lang-auto">pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
</code></pre>

Aaargh_Zombies: <blockquote>
<p>pip install --pre torch torchvision torchaudio --index-url <a href="https://download.pytorch.org/whl/nightly/cu128" rel="noopener nofollow ugc">https://download.pytorch.org/whl/nightly/cu128</a></p>
</blockquote>
<p>I’m not remotely technical and don’t really understand a lot of what’s being said on this thread so please bear with me.</p>
<p>I went to the Windows 10 command line and typed exactly what you said, and it came up with a long set of text that can mostly be boiled down to</p>
<blockquote>
<p>Requirement already satisfied</p>
</blockquote>
<p>Followed by</p>
<blockquote>
<p>[notice] A new release of pip is available: 23.0.1 → 25.1.1</p>
</blockquote>
<p>But I’m still getting the error message</p>
<blockquote>
<p>UserWarning:<br>
NVIDIA GeForce RTX 5080 with CUDA capability sm_120 is not compatible with the current PyTorch installation. The current PyTorch install supports CUDA capabilities sm_50 sm_60 sm_61 sm_70 sm_75 sm_80 sm_86 sm_90. If you want to use the NVIDIA GeForce RTX 5080 GPU with PyTorch, please check the instructions at <a href="https://pytorch.org/get-started/locally/" rel="noopener nofollow ugc">Start Locally | PyTorch</a></p>
</blockquote>
<p>Is there anything else that I should be looking at?</p>
<p>I have just upgraded from a 30 series to a 50 series graphics card, and everything was running smoothly before that.</p>

ptrblck: <p>Uninstall your older PyTorch installation via <code>pip uninstall torch</code> before installing the new binary.</p>