Looking for PyTorch Binaries for Older GPUs

username: VladimirK
cooked: <p>I have GT 710. It has compute capability of 3.5. Unfortunately, since version 1.3.1 PyTorch does not support cc &lt; 3.7. This means PyTorch &gt; 1.3.0 does not support my GPU. When I try to use PyTorch 1.6.0 I get the error:</p>
<blockquote>
<p>RuntimeError: CUDA error: no kernel image is available for execution on the device</p>
</blockquote>
<p>In this case, <a class="mention" href="/u/peterjc123">@peterjc123</a> recommends to build PyTorch <a href="https://github.com/pytorch/pytorch/issues/31285#issuecomment-565704055" rel="noopener nofollow ugc">from source</a>.  I tried to build PyTorch from source, but it turned out to be not so easy. I gave up after a few days. Then I began to look for someone who succeeded and I found it. Nelson Liu built PyTorch Binaries that support old GPUs. <a href="https://blog.nelsonliu.me/2020/10/13/newer-pytorch-binaries-for-older-gpus/" rel="noopener nofollow ugc">Newer PyTorch Binaries for Older GPUs</a> These binaries for Linux but I need Windows binaries.</p>
<p>I didn’t find any binaries for Windows, but I’m sure they exist.</p>
<p>If anyone has built or found PyTorch Binaries for Windows, please share here.</p>

username: mszhanyi
cooked: <p>Hope it helps.<br>
<a href="https://pytorch.org/get-started/previous-versions/" rel="noopener nofollow ugc">Previous PyTorch Versions | PyTorch</a></p>

username: VladimirK
cooked: <p>Thank you <a class="mention" href="/u/mszhanyi">@mszhanyi</a>, but the official distributions of pytorch do not support 3.5 compute capabilities.</p>

username: KFrank
cooked: <p>Hi Vladimir!</p>
<aside class="quote no-group" data-username="VladimirK" data-post="3" data-topic="138429" data-full="true">
<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/vladimirk/48/44552_2.png" class="avatar"> VladimirK:</div>
<blockquote>
<p>the official distributions of pytorch do not support 3.5 compute capabilities.</p>
</blockquote>
</aside>
<p>I had a similar issue a couple of years ago, and was provided a link<br>
to some legacy binaries that I can no longer access.</p>
<p>For what it’s worth, here’s the (dead?) link:</p>
<p><a href="https://drive.google.com/drive/folders/0B-X0-FlSGfCYdTNldW02UGl4MXM" rel="noopener nofollow ugc">Legacy PyTorch binaries on Google Drive</a></p>
<p><a class="mention" href="/u/ptrblck">@ptrblck</a> directed me to this link and I believe that the binaries were<br>
built by <a class="mention" href="/u/peterjc123">@peterjc123</a>.</p>
<p>I was able to find a windows binary on that link that supported my old<br>
(laptop) gpu.  But I had to go back to the archaic pytorch version 0.3.0<br>
to do so.</p>
<p>For additional context, here is the original thread:</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>Best.</p>
<p>K. Frank</p>

username: VladimirK
cooked: <p>Hi Frank. Thanks for the information. I have already built pytorch for my GPU with cc 3.5. <a href="https://drive.google.com/file/d/15SxsjPtD26Llm-ZvK9ho-MZEiPth1DjG/view?usp=sharing" rel="noopener nofollow ugc">torch-1.6.0a0+b31f58d-cp37-cp37m-win_amd64.whl on Google Drive</a> Unfortunately, this build does not contain CUDA. In order to use this build, you need to install CUDA 9.2. If I manage to build the full version, I will post the link here.</p>

username: VladimirK
cooked: <p>I added missing files. <a href="https://drive.google.com/file/d/1HZIGvM1_hdHpCLkh5AfZg_h9znAcwMpP/view?usp=sharing" rel="noopener nofollow ugc">torch-1.6.0a0+b31f58d-cp37-cp37m-win_amd64.whl</a><br>
I have been tested this file on my computer in another Windows (Windows 7).</p>

username: Kry_Be
cooked: <p>Heyu can You build torch 1.7 and cuda 10.2  ? I have this issue as well, and not a single person shared compiled torch with support for compute 3.5.They should compile version with support for old cards at least once every 6 months or so, dropping support immediately is very bad idea and confusing for people who had no clue they did that.If i had known sooner, i wouldnt bought my GPU, i got gtyx 780cause it has as much cuda cores as gtx 1080 , more than supported gtx `1050 with compute 5…<br>
I hope someone will take care of it properly, dropping backwards compatibility like that is weird stuff, If you guys lack space i can create googledrive account and keep torch on it.<br>
Even better would be to compile torch 1.8 and cuda 11 with old cards support but who knows how ? I spent 2 days on it, full days and still had issues, because every software is changing their backwards compatibility silently and oyu have error after error , you update one thing and then the other ingredient is surprise - not working anymore in that new version…  googling for days to find someone who did this before succesfully.</p>