Is not compatible with the current PyTorch installation

Eunhae_Lee: <p>Hello, I’m using Mobaxterm to access a server to work on training a model when I try to run the command to launch it, I have his error:</p>
<p>NVIDIA GeForce RTX 3090 with CUDA capability sm_86 is not compatible with the current PyTorch installation.<br>
The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_61 sm_70 sm_75 compute_37.<br>
If you want to use the NVIDIA GeForce RTX 3090 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>Unfortunately, I have no clue how to use Pytorch, I already used the command from Pytorch website to install the latest version but well it doesn’t seem to work, can anyone help me, I’ve been stuck for a few days??  I used this command to install it: conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia</p>
<p>note: I have absolutely no idea how pytorch works and i’m not that good in programming, I looked for a solution before posting but it was confusing and didn’t have a similar case<br>
Thank you.</p>

ptrblck: <p>You have most likely installed a PyTorch binary with CUDA 10.2 dependencies, which should also be visible via <code>torch.version.cuda</code>. Uninstall it and reinstall the right one with CUDA 11.8 or 12.1.</p>

Eunhae_Lee: <p>I’m sorry that i still don’t get it. With this command  <em>conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia</em> i’m still not getting the latest pytorch? (Is this even how to get binaries??)</p>
<p>Also is this a command that I can run? Because it’s not working for me</p>
<aside class="quote no-group" data-username="ptrblck" data-post="2" data-topic="192705">
<div class="title">
<div class="quote-controls"></div>
<img loading="lazy" alt="" width="24" height="24" src="https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ptrblck/48/1823_2.png" class="avatar"> ptrblck:</div>
<blockquote>
<p>torch.version.cuda</p>
</blockquote>
</aside>

ptrblck: <aside class="quote no-group" data-username="Eunhae_Lee" data-post="3" data-topic="192705">
<div class="title">
<div class="quote-controls"></div>
<img loading="lazy" alt="" width="24" height="24" src="https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/e/278dde/48.png" class="avatar"> Eunhae_Lee:</div>
<blockquote>
<p>With this command <em>conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia</em> i’m still not getting the latest pytorch?</p>
</blockquote>
</aside>
<p>You should, but as you can see in related posts usually the user’s environment is using multiple and conflicting PyTorch installations.</p>
<aside class="quote no-group" data-username="Eunhae_Lee" data-post="3" data-topic="192705">
<div class="title">
<div class="quote-controls"></div>
<img loading="lazy" alt="" width="24" height="24" src="https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/e/278dde/48.png" class="avatar"> Eunhae_Lee:</div>
<blockquote>
<p>Because it’s not working for me</p>
</blockquote>
</aside>
<p>It works for me:</p>
<pre data-code-wrap="python"><code class="lang-python">torch.version.cuda
Out[2]: '12.1'
</code></pre>
<p>If this does not return anything or raises an error, your installation might indeed be corrupt.<br>
I would then recommend to create a new and empty virtual environment and to install the desired PyTorch binary only once.</p>