Help with running Pytorch on an old GPU

JohanR: <p>Hey, I’m attempting to run this pix2pix PyTorch implementation (<a href="https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix" rel="nofollow noopener">https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix</a>) on my old GeForce GTX 660 Ti that uses Driver Version: 340.107. As far as I’ve understood from other posts and websites my driver can only run CUDA 6.0 or 6.5. Is there any PyTorch that can run with 6.0/6.5? I found that Anaconda have CUDAtoolkits for 6.0/6.5 but that PyTorch through Anaconda only seems to go down to CUDA 7.<br>
Another post said to make a build from source but I have no idea how to proceed with that.<br>
The pix2pix implementations works well with PyTorch 0.41+ and has older branches that support PyTorch 0.1-0.3.</p>
<p>Any help would be greatly appreciated!</p>
<p>Best,<br>
Johan</p>
<p>Error when running PyTorch with CUDA 10:<br>
File “/home/johan/anaconda3/lib/python3.7/site-packages/torch/cuda/<strong>init</strong>.py”, line 110, in _check_driver<br>
of the CUDA driver.""".format(str(torch._C._cuda_getDriverVersion())))<br>
AssertionError:<br>
The NVIDIA driver on your system is too old (found version 6050).<br>
Please update your GPU driver by downloading and installing a new<br>
version from the URL: <a href="http://www.nvidia.com/Download/index.aspx" rel="nofollow noopener">http://www.nvidia.com/Download/index.aspx</a></p>

KFrank: <p>Hello Johan!</p>
<aside class="quote no-group" data-username="JohanR" data-post="1" data-topic="75548" data-full="true">
<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/j/e36b37/48.png" class="avatar"> JohanR:</div>
<blockquote>
<p>Is there any PyTorch that can run with 6.0/6.5? I found that Anaconda have CUDAtoolkits for 6.0/6.5 but that PyTorch through Anaconda only seems to go down to CUDA 7.</p>
</blockquote>
</aside>
<p>I went through a similar issue, and was helped greatly by the answers I<br>
got in this thread (thanks, in particular, to <a class="mention" href="/u/ptrblck">@ptrblck</a> and <a class="mention" href="/u/peterjc123">@peterjc123</a>):</p>
<aside class="quote quote-modified" data-post="1" data-topic="51263">
  <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/k/ecb155/48.png" class="avatar">
    <a href="https://discuss.pytorch.org/t/pre-built-pytorch-for-cuda-compute-capability-3-0-on-windows/51263">Pre-built pytorch for CUDA [compute capability] 3.0 on windows?</a> 
  </div>
  <blockquote>
    Hi Forum! 
Would anybody know of a pre-built pytorch windows / CUDA 3.0 
version?  (It’s windows 10, if that matters.) 
I’m aware that pytorch no longer formally supports older CUDA 
versions, but I have seen older pre-built packages floating 
around on the internet – just not this configuration. 
(I will be installing pytorch on an older laptop with a CUDA 3.0 
quadro k1100m graphics card.  I’ll just be monkeying around, 
so I don’t need the gpu, but I’d like to monkey around with 
the gpu, as …
  </blockquote>
</aside>

<p>In particular, one of these <a href="https://drive.google.com/drive/folders/0B-X0-FlSGfCYdTNldW02UGl4MXM" rel="noopener nofollow ugc">pytorch legacy builds</a> worked for me.</p>
<p>Note, going this route pushed me back to pytorch version 0.3.0.<br>
I suppose that this has been something of a worthy archeological<br>
learning experience for me, but it is a bit of a nuisance.</p>
<aside class="quote no-group">
<blockquote>
<p>Another post said to make a build from source but I have no idea how to proceed with that.</p>
</blockquote>
</aside>
<p>I didn’t have the courage for this (so I just shamble along with version<br>
0.3.0).</p>
<p>Good luck.</p>
<p>K. Frank</p>

JohanR: <p>Thank you <a class="mention" href="/u/kfrank">@KFrank</a> ! Your discussion with ptrblck and peterjc123 was very detailed so hopefully I’m able to reproduce the steps.</p>