Older non-CUDA Version Needed

username: prpsymbol
cooked: <p>I am trying to run a particular model (DeblurGAN) and I am running into version problems. It seems that the model won’t run with the latest version of Pytorch, but I can’t seem to install version 0.3.1 in a non-CUDA version. I keep getting the unsupported wheel using variants of "pip install <a href="http://download.pytorch.org/whl/cpu/torch-0.3.1-cp27-cp27m-win_amd64.whl" rel="nofollow noopener">http://download.pytorch.org/whl/cpu/torch-0.3.1-cp27-cp27m-win_amd64.whl</a> ". I checked the downloads page, but I don’t see any non-CUDA 0.3.1 versions. What am I missing?</p>

username: justusschock
cooked: <p>The easiest way would be to install it with conda via</p>
<pre><code class="lang-auto">conda install pytorch=0.3.1 -c soumith
</code></pre>
<p>EDIT: Additionally the website states:</p>
<aside class="quote no-group" data-username="pytorch website" data-full="true">
<div class="title">
<div class="quote-controls"></div>
 pytorch website:</div>
<blockquote>
<p>CUDA support is optional; for example, you can install the cu80/torch-0.2.0.post3-cp36-cp36m-manylinux1_x86_64.whl package on a system that does not have CUDA.</p>
</blockquote>
</aside>

username: wowi
cooked: <p>I want to install PyTorch 0.3.1 for old project,<br>
Is there any alternative way to install? Because I checked it online, they already remove old version.</p>

username: ptrblck
cooked: <p>You can find the <code>0.3.1</code> pip wheels <a href="https://pytorch.org/get-started/previous-versions/">here</a>, but I would strongly encourage you to update the code and to use the latest PyTorch release.</p>

username: wowi
cooked: <p><a class="mention" href="/u/ptrblck">@ptrblck</a>  Thank you for your reply. It would be good if you send me the link for it.<br>
And I need this version for Windows 10.</p>

username: wowi
cooked: <p>I checked it out what you gave me the link, but I can not find PyTorch 0.3.1 version on it.<br>
I found this version, <strong>but I need 0.3.1</strong></p>
<pre><code class="lang-auto">conda install pytorch-cpu==1.1.0 torchvision-cpu==0.3.0 cpuonly -c pytorch
</code></pre>

username: ptrblck
cooked: <p>The CUDA8.0 pip wheels for Linux and Python3.6 can be downloaded from here:<br>
<a href="https://download.pytorch.org/whl/cu80/torch-0.3.1-cp36-cp36m-linux_x86_64.whl" class="onebox" target="_blank" rel="noopener">https://download.pytorch.org/whl/cu80/torch-0.3.1-cp36-cp36m-linux_x86_64.whl</a></p>
<aside class="quote no-group" data-username="wowi" data-post="5" data-topic="21664">
<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/wowi/48/41975_2.png" class="avatar"> wowi:</div>
<blockquote>
<p>And I need this version for Windows 10.</p>
</blockquote>
</aside>
<p>The pip wheels weren’t built for Windows back then, so you would need to build it from source.<br>
In any case, I would still recommend not to use this ancient PyTorch release and to stick to the latest one.</p>

username: wowi
cooked: <p><a class="mention" href="/u/ptrblck">@ptrblck</a>  I would not like to use, but I have one old project and this project was build with PyTorch 0.3.1. That’s why I need this version. <div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/b/9/b9d95f8d69ee7aa49c7eb635a2fcb7ebaef91af1.png" data-download-href="https://discuss.pytorch.org/uploads/default/b9d95f8d69ee7aa49c7eb635a2fcb7ebaef91af1" title="image"><img src="https://discuss.pytorch.org/uploads/default/original/3X/b/9/b9d95f8d69ee7aa49c7eb635a2fcb7ebaef91af1.png" alt="image" data-base62-sha1="qw63ebk4J72k696adSS6BYxRr5D" width="690" height="186" data-dominant-color="FBFBFB"><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">767×207 4.87 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><br>
<a href="https://github.com/OanaMariaCamburu/e-SNLI" rel="noopener nofollow ugc">https://github.com/OanaMariaCamburu/e-SNLI</a></p>
<p>I mention GitHub link, and they mention few dependencies and one of the dependencies was <em>Pytorch 0.3.1</em>.</p>

username: ptrblck
cooked: <p>Yeah, I see. As already mentioned you would have to try to build PyTorch from source using the old version (or might find other (non-official) pip wheels). I would nevertheless try to run the code in the current release and see what is failing. Since I cannot see any <code>setup.py</code> I assume that no build step is needed so you might need to e.g. remove the usage of <code>Variable</code> etc.</p>

username: wowi
cooked: <p>Yes, sure  I will try to remove the usage of Variable etc.</p>