Version compatibility issue

stevecoh1: <p>I find myself in this situation:</p>
<p>System: Lenovo Thinkpad P16 - 32 GB Ram + NVidia RTX3500.</p>
<p>OS: Ubuntu Linux 24.04.3</p>
<p>`<code>nvidia-smi </code><br>
<code>Fri Oct 10 11:49:15 2025        </code><br>
<code>+-----------------------------------------------------------------------------------------+ </code><br>
<code>| NVIDIA-SMI 550.163.01             Driver Version: 550.163.01     CUDA Version: 12.4</code></p>
<p><code>...`</code></p>
<p>I am using a python package that is kind of bleeding edge in development.  It is an astrophotography package called SetAstroSuitePro.  It has many functions that can be greatly enhanced with the GPU.  Previous versions of SAS Pro were compatible with my machine and did well utilizing CUDA version 12.4.</p>
<p>Now though, the developers have introduced a new version which uses a later version of pytorch which must be installed.  However, as I understand your <a href="https://pytorch.org/" rel="noopener nofollow ugc">webpage</a>, version 12.4 is no longer supported in this pytorch version.  12.6 is the lowest version supported.</p>
<p>Would it be possible for me to install this package following the pattern of the commands supplied on this page:</p>
<p><code>pip3 install torch torchvision --index-url https://download.pytorch.org/whl/</code><strong><code>cu124</code></strong></p>
<p>Or will that fail?</p>
<p>If that will not work, what is the best way to get v12.6 onto my system?  Can it be done without upgrading the driver (which the Software Updates app will not allow due to version mismatch issues).</p>

ptrblck: <p>The posted command should work but will install the last PyTorch version built with CUDA 12.4, which is <code>torch==2.6.0</code>.</p>
<aside class="quote no-group" data-username="stevecoh1" data-post="1" data-topic="223562">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/s/ac8455/48.png" class="avatar"> stevecoh1:</div>
<blockquote>
<p>If that will not work, what is the best way to get v12.6 onto my system? Can it be done without upgrading the driver (which the Software Updates app will not allow due to version mismatch issues).</p>
</blockquote>
</aside>
<p>The PyTorch binaries ship with their own CUDA runtime dependencies and your locally installed CUDA toolkit won’t be used. Your Ada Lovelace GPU is supported in all of our builds and you would only need to properly install an NVIDIA driver (corresponding to the desired major CUDA version).</p>

stevecoh1: <p>Okay thanks.</p>
<p>Properly install an NVIDIA driver.  Driver 550.163.01 is the most recent that can be installed on the system using normal means (Software Updates app). Higher offered versions like 570 and 580 fail at installation due to unresolved dependencies.  I guess I should try the command and see if the software works.</p>

ptrblck: <p>NVIDIA driver 550.x will work with our CUDA 12.x builds as CUDA’s minor version compatibility will be used in this case as described <a href="https://docs.nvidia.com/deploy/cuda-compatibility/minor-version-compatibility.html">here</a>.</p>

stevecoh1: <p>OK, I’ve made no progress/</p>
<p>I tried the following commands:</p>
<p><code>pip3 install torch torchvision --index-url ``https://download.pytorch.org/whl/cu124</code></p>
<p><code>pip3 install torch torchvision --index-url ``https://download.pytorch.org/whl/cu129</code></p>
<p>even though 12.4 is my current version.  These both installed torch 2.8</p>
<p>Following the lead of <a href="https://pytorch.org/get-started/previous-versions/" rel="noopener nofollow ugc">https://pytorch.org/get-started/previous-versions/</a> I got the command</p>
<p><code>./venv/bin/python -m pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url ``https://download.pytorch.org/whl/cu124</code></p>
<p>None of these produced an installation that the application I was running was satisfied with.</p>
<p>I am not the developer of this application.  I am an end-user.  I need help with what I can do to get this application running.</p>
<p>Should I have been running pip3?</p>