PyTorch no longer supports this GPU because it is too old.

aiz_berg: <p>I installed cuda 9.1 and the last nvidia driver 390.25<br>
±----------------------------------------------------------------------------+<br>
| NVIDIA-SMI 390.25                 Driver Version: 390.25                    |<br>
|-------------------------------±---------------------±---------------------+<br>
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |<br>
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |<br>
|===============================+======================+======================|<br>
|   0  GeForce GTX 950M    Off  | 00000000:01:00.0 Off |                  N/A |<br>
| N/A   47C    P0    N/A /  N/A |    455MiB /  4046MiB |      3%      Default |<br>
±------------------------------±---------------------±---------------------+</p>
<p>±----------------------------------------------------------------------------+<br>
| Processes:                                                       GPU Memory |<br>
|  GPU       PID   Type   Process name                             Usage      |<br>
|=============================================================================|<br>
|    0      1149      G   /usr/lib/xorg/Xorg                           192MiB |<br>
|    0      1906      G   compiz                                       182MiB |<br>
|    0      2391      G   …-token=88128EE1E6E9ED25FEB54AFDB2472B7F    76MiB |<br>
|    0      3837      G   /usr/bin/nvidia-settings                       0MiB |<br>
±----------------------------------------------------------------------------+</p>
<p>but I have an error: Found GPU0 GeForce GTX 950M which is of cuda capability 5.0.<br>
PyTorch no longer supports this GPU because it is too old.</p>

albanD: <p>Hi,</p>
<p>To reduce the size of the precompiled binaries (that were going out of hand), we had to remove some of the old GPU architecture that are used by a minority of people.<br>
You can still use it by compiling from source and it will still work as before !</p>

aiz_berg: <p>Hi,<br>
But I installed pytorch 0.3.0 on windows 10 and everything worked on it without this error</p>

albanD: <p>This deprecation is new from the 0.3.1 release as you can see from the release notes <a href="https://github.com/pytorch/pytorch/releases/tag/v0.3.1">here</a>.</p>

kvechera: <p>We’ve got <a href="http://jetware.io/appliances/jetware/pytorch03_python3_cuda91" rel="nofollow noopener">PyTorch CUDA bundles</a> with compute capabilities starting 3.0, 3.5<br>
There is no separate python package, but you can extract the package from the installer archive.</p>

Yoni_Keren: <p>Since compiling from source is a bit of a headache, and I have a GPU with<br>
a cuda capability of 5.0:</p>
<p>Does that message mean that Pytorch doesn’t support my GPU from 0.3.1 (which is the first version which print this warning AFAIK),or that it won’t support it going forward? (which is what deprecation usually mean)</p>
<p>Also,what kind of operations should I expect NOT to work?<br>
Any reasonable way for me to tell when an unsupported operation was executed?</p>

albanD: <p>From 0.3.1 onward, cuda capability 5.0 will not be included in the pre-packaged binary release (so all <code>torch.cuda</code> related stuff will not work).<br>
You will be able to get pytorch to work with such architecture by compiling from source (so all operations will work).</p>

Yoni_Keren: <p>I see…</p>
<p>well that’s it for my GPU with pytorch I guess <img src="https://discuss.pytorch.org/images/emoji/apple/stuck_out_tongue.png?v=5" title=":stuck_out_tongue:" class="emoji" alt=":stuck_out_tongue:"></p>
<p>Usually warnings or deprecations are for future releases.<br>
Anyways, so what is the very last binary which does support my gpu?<br>
something like <a href="http://download.pytorch.org/whl/cu90/torch-0.3.0-cp35-cp35m-linux_x86_64.whl" rel="nofollow noopener">http://download.pytorch.org/whl/cu90/torch-0.3.0-cp35-cp35m-linux_x86_64.whl</a> ?</p>

albanD: <p>Yes that would be 0.3.0  but that means that you will be missing a lot of bugfix.<br>
Compiling from source should be pretty straighforward if if you already have cuda installed. Let me know if you need help with that.</p>

Yoni_Keren: <p>Thanks bud, that actually was straightforward!</p>
<p>Just notice the version <span class="hashtag-raw">#:</span></p>
<blockquote>
<blockquote>
<blockquote>
<p>torch.<strong>version</strong><br>
‘0.4.0a0+d2ff733’</p>
</blockquote>
</blockquote>
</blockquote>
<p>Just making sure: So even for this version, I should just ignore the warning message of a too old Gpu?</p>

albanD: <p>Are you getting a warning when using it?</p>
<p>Compiling current master will give you as of writing what is going to become 0.4 in the future.<br>
If you want to keep to stable release, you can <code>git checkout 0.3.1</code> to get the exact state corresponding to the 0.3.1 release before compiling.</p>

Yoni_Keren: <p>Yes it does give me a warning , but my code which runs mostly on a gpu works (unlike the 0.3.1 binary).  Should I ignore the warning?</p>
<p>So there’s a better chance of the main branch having more bugs compared to the 0.3.1 branch?<br>
If so I’ll recompile and reinstall it. Might be the last message of this thread so: Thanks a lot man, I really appreciate your help!</p>

soaxelbrooke: <p>Are CUDA 5.2 devices still supported?</p>
<p>From the code changes it looks like only 3.0 and 5.0 devices specifically are getting their support dropped.  Thanks!</p>

sangeet: <p>BTW you don’t <strong>have to</strong> install it from source.<br>
You may simply do<br>
<code>pip install --user http://download.pytorch.org/whl/cu80/torch-0.3.0-cp27-cp27mu-linux_x86_64.whl</code><br>
and save yourself some time!<br>
Torch-0.3.0 still supports my <strong>old</strong> <img src="https://discuss.pytorch.org/images/emoji/apple/confused.png?v=5" title=":confused:" class="emoji" alt=":confused:"> GPU  <img src="https://discuss.pytorch.org/images/emoji/apple/tada.png?v=5" title=":tada:" class="emoji" alt=":tada:"></p>

gdupont: <p>Hi,<br>
I’m a bit stuck with a M1000m gpu here. Current version is not supporting it any more:</p>
<pre><code>Found GPU0 Quadro M1000M which is of cuda capability 5.0.
PyTorch no longer supports this GPU because it is too old.
</code></pre>
<p>Tried to compile from source (following the procedure from readme&gt;installation&gt;from source) but it didn’t solve it. I’m ok to use older binaries but the one suggested by <a class="mention" href="/u/sangeet">@sangeet</a> is not compatible… any other ideas?</p>

smth: <p><a class="mention" href="/u/gdupont">@gdupont</a> You can look at our page that links to older versions: <a href="http://pytorch.org/previous-versions/">http://pytorch.org/previous-versions/</a></p>
<p>0.3.0 should work with your GPU.</p>

gdupont: <p>Ahah, it’s working! And now I discover my GPU doesn’t have enough memory to simply load my model  :’‑(<br>
Thanks anyway.</p>

smb: <p>I use a K2200 for prototyping before I run my code on a compute server. Here are the steps to compile Pytorch in Anaconda:</p>
<p>First install gcc-4.9 g+±4.9 to compile the old Cuda dependencies</p>
<pre><code>    sudo apt-get install gcc-4.9 g++-4.9
</code></pre>
<p>Now mostly the stuff from the pytorch website</p>
<pre><code>    conda upgrade conda
    conda upgrade anaconda

    conda install numpy pyyaml mkl mkl-include setuptools cmake cffi typing
    conda install -c pytorch magma-cuda80

    git clone --recursive https://github.com/pytorch/pytorch
    cd pytorch/

    export CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"
</code></pre>
<p>Get the current version (3.1.0 atm)</p>
<pre><code>    git checkout origin/v0.3.1
</code></pre>
<p>make distutils use the 4.9 compilers</p>
<pre><code>    CC=gcc-4.9 CXX=g++-4.9 python setup.py install
</code></pre>
<p>Unfortunately I couldn’t resolve</p>
<pre><code>    ldd /home/../anaconda3/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so
    
    [....]
    libmkl_gf_lp64.so =&gt; not found
    libmkl_gnu_thread.so =&gt; not found
    libmkl_core.so =&gt; not found
    [....]
</code></pre>
<p>Therefore, to run pytorch code, prefix it with</p>
<pre><code>    LD_LIBRARY_PATH=/home/.../anaconda3/lib64/:/home/.../anaconda3/lib/ python my_pytorch_code.py</code></pre>

devin.bost: <p>We are having a problem where we have a number of people on our team who are running NVIDIA Quadro M1200 cards, and the PyTorch error says that the card has CUDA capability 5.0, but the official NVIDIA page clearly says that the compute capability of this card is 5.2: <a href="https://developer.nvidia.com/cuda-gpus" rel="nofollow noopener">https://developer.nvidia.com/cuda-gpus</a></p>
<p>Is this a PyTorch bug?</p>

ptrblck: <p>That’s strange, since on <a href="https://en.wikipedia.org/wiki/Nvidia_Quadro#Quadro_M">Wikipedia</a> the card has a CUDA compute capability of 5.0 given the same source you posted. Also <a href="https://www.techpowerup.com/gpudb/2921/quadro-m1200-mobile">techpowerup</a> states it has 5.0.</p>
<p>Could you check it on your system using <code>deviceQuery</code>? <a href="https://www.quantstart.com/articles/Installing-Nvidia-CUDA-on-Ubuntu-14-04-for-Linux-GPU-Computing">link</a></p>