Last version to support CUDA Capability 3.0

michaelborck: <p>I get you can’t keep supporting older GPUs, so this is not a complaint, just seeing if there is a way to explore torch.cuda() functionality.</p>
<p>I am on a Mac with a GeForce GT 750M which is of CUDA capability 3.0. (Driver CUDA 9.1, cuDNN 7, MacOSX10.13.sdk). I managed to fumble through and compiled  torch-0.4.0x, cmake output detects GPU, (OpenMP, Magma and NNPACK detection fails, are these critical?).</p>
<p>Built using the following command:</p>
<pre><code class="lang-auto">MACOSX_DEPLOYMENT_TARGET=10.13 CC=clang CXX=clang++ python setup.py install
</code></pre>
<p>Builds, install, time for some PyTorch goodness.  But anytime I run a “.cuda()” method I get the following:</p>
<pre><code class="lang-auto">Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 12:04:33)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import torch
&gt;&gt;&gt; t = torch.rand(3)
&gt;&gt;&gt; t

 0.6910
 0.1801
 0.8268
[torch.FloatTensor of size 3]
&gt;&gt;&gt; r = t.cuda()
/anaconda3/lib/python3.6/site-packages/torch/cuda/__init__.py:116: UserWarning:
    Found GPU0 GeForce GT 750M which is of cuda capability 3.0.
    PyTorch no longer supports this GPU because it is too old.

  warnings.warn(old_gpu_warn % (d, name, major, capability[1]))
&gt;&gt;&gt;
</code></pre>
<p>Umm… perhaps I have to install an older version.  A little searching finds   <a href="https://discuss.pytorch.org/t/removed-support-for-cuda-capability-3-0-and-5-0/13760">This post</a> from a couple of days ago (Feb 18, 2018) suggests that compiling from source should work, no mention of version, so assume latest from githuh should be fine.   A general search of the  <a href="https://discuss.pytorch.org/search?q=CUDA%20capability%203.0">pytorch forum search</a> finds posts offering the same advice.</p>
<p>Umm…  have I done something wrong?  Is there an environment variable I need to set?  Do I need to install an older version?    This page <a href="http://pytorch.org/previous-versions/" rel="nofollow noopener">Previous Version</a>, suggests it just a matter of</p>
<pre><code class="lang-auto">git checkout vX.X.X
</code></pre>
<p>And then follow the instruction in the README.md.</p>
<p>What is the last version of PyTorch to support CUDA capability 3.0 (or have I done something wrong with the compile options)?</p>

ptrblck: <p>Might be a stupid question, but Is it working?<br>
<a href="https://discuss.pytorch.org/t/pytorch-no-longer-supports-this-gpu-because-it-is-too-old/13803/11">This thread</a> suggests to ignore the warning as far as I understand. <img src="https://discuss.pytorch.org/images/emoji/apple/wink.png?v=5" title=":wink:" class="emoji" alt=":wink:"></p>

michaelborck: <p>Thanks for the link.   Umm… did ‘r’ above initialise?</p>
<pre><code class="lang-auto">&lt;snip&gt;
&gt;&gt;&gt; r

 0.2959
 0.1837
 0.4290
[torch.cuda.FloatTensor of size 3 (GPU 0)]
&gt;&gt;&gt;
</code></pre>
<p>It does appear to have created a torch.cuda.FLoatTensor.   Does this mean is ‘working’?</p>
<p>Cheers,</p>
<p>Michael.</p>

smth: <p>yes that means it’s working <img src="https://discuss.pytorch.org/images/emoji/apple/slight_smile.png?v=5" title=":slight_smile:" class="emoji" alt=":slight_smile:"></p>

Alex_Donchuk: <p>We are using laptop to debug and compute only on dev box. Its any way to support 5.0 in future releases?</p>

hackomania: <p>I need a bit of help on this one. I use a <a href="http://www.nvidia.com/object/quadro-for-mobile-workstations.html" rel="nofollow noopener">Quadro K2100M</a> with compute capability of 3.0</p>
<p>I’ve managed to build from source (I didn’t checkout any specific version), but I’m still having kernel image availability issues.</p>
<p>Is there a particular checkout that I need to do to get it working?</p>
<p>Thanks a lot again</p>