Rtx 5090 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

nafe_alhmdan: <p>rtx 5090 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>

ptrblck: <p>Install the nightly binaries with CUDA 12.8 for Blackwell support.</p>

nafe_alhmdan: <p>I downloaded CUDA 12.8 and it didn’t work. Can you help me via MyDisk?</p>

ptrblck: <p>What does <code>torch.__version__</code> and <code>torch.cuda.get_arch_list()</code> return?</p>

nafe_alhmdan: <p>I don’t know how I’m not experienced in programming language</p>

nafe_alhmdan: <p>Can you log into my account and help me?</p>

nafe_alhmdan: <p><img src="https://discuss.pytorch.org/images/emoji/apple/disappointed.png?v=12" title=":disappointed:" class="emoji" alt=":disappointed:" loading="lazy" width="20" height="20">           help my plz</p>

ptrblck: <p>I won’t be able to log into your account to help you out.</p>
<aside class="quote no-group" data-username="nafe_alhmdan" data-post="5" data-topic="217438" data-full="true">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/nafe_alhmdan/48/75984_2.png" class="avatar"> nafe_alhmdan:</div>
<blockquote>
<p>I don’t know how I’m not experienced in programming language</p>
</blockquote>
</aside>
<p>I would assume you would know how to execute a few simple Python commands.</p>

nafe_alhmdan: <p>Via AnyDesk can help my</p>

JuanFMontesinos: <p>You need to execute<br>
<code>pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128</code></p>
<p>as described at <a href="https://pytorch.org/get-started/locally/" class="inline-onebox" rel="noopener nofollow ugc">Start Locally | PyTorch</a><br>
<div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/9/7/974731d487fb56f3a6c8f4f8a410ea48d22d1ca4.png" data-download-href="https://discuss.pytorch.org/uploads/default/974731d487fb56f3a6c8f4f8a410ea48d22d1ca4" title="image"><img src="https://discuss.pytorch.org/uploads/default/optimized/3X/9/7/974731d487fb56f3a6c8f4f8a410ea48d22d1ca4_2_690x281.png" alt="image" data-base62-sha1="lAgDaUny8sUuSFU1zBQc26XcfOY" width="690" height="281" srcset="https://discuss.pytorch.org/uploads/default/optimized/3X/9/7/974731d487fb56f3a6c8f4f8a410ea48d22d1ca4_2_690x281.png, https://discuss.pytorch.org/uploads/default/original/3X/9/7/974731d487fb56f3a6c8f4f8a410ea48d22d1ca4.png 1.5x, https://discuss.pytorch.org/uploads/default/original/3X/9/7/974731d487fb56f3a6c8f4f8a410ea48d22d1ca4.png 2x" data-dominant-color="F6E3E0"><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">image</span><span class="informations">917×374 20.1 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>

Noah_Jang: <p>When using the PyTorch nightly version, training works well on a single RTX 5090 GPU, but issues arise when using two GPUs.</p>

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

Noah_Jang: <p>It turns out that the issue is not with PyTorch, but rather with the latest version of NCCL, which still seems to have problems with the 5090.</p>