Hello Peter!
Thanks for your reply (and sorry for being a little slow in following up).



 ptrblck:




 KFrank:

Am I right that the “cu80” part of the file name suggests that the
binary is built with CUDA SDK 8.0 and that it could therefore
potentially support compute capability 2.0 – 6.2?


Generally yes, but the used compute capability has to be specified using the TORCH_CUDA_ARCH_LIST flag as used here.
So while the binaries support e.g. CUDA10, the compute capability might be limited so specific architectures.


Okay, this makes sense.  (I tried installing a “CUDA 9.0” version from
the pytorch main page.  It installed fined, and seemed to run – I didn’t
try anything substantive – but announced that its support for compute
capability started earliest at 3.5, and was not compatible with my 3.0
gpu.  I imagine it runs fine with the cpu, but I didn’t test it.)
Now on to my follow-up question:
Coming back to your earlier post:



 ptrblck:

However, if you would like to play around with some legacy PyTorch version, you might get lucky finding some supported binaries here (built by @peterjc123).


I downloaded a CUDA 8.0 version from your legacy-binaries link
(specifically pytorch-0.3.0-py36_0.3.0cu80.tar.bz).  It has some
.dll’s in it so I am supposing it is a windows build.  I chose a CUDA
8.0 version in the hope that it might support compute capability 3.0
(but I don’t know that yet).
I ran:
pip3 install file:///C:/<path_to_bz_file>/pytorch-0.3.0-py36_0.3.0cu80.tar.bz2

and got the following error:
Processing c:\<path_to_bz_file>\pytorch-0.3.0-py36_0.3.0cu80.tar.bz2
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\<path_to_python>\python36\lib\tokenize.py", line 452, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\USERXY~1\\AppData\\Local\\Temp\\pip-req-build-d2relny2\\setup.py'
    ----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\USERXY~1\AppData\Local\Temp\pip-req-build-d2relny2\

Note the “8.3” format of the username; a ten-alphabetic-character
(no spaces, numbers, or special characters) username has been
translated to the 8.3 form.  I don’t know why or where.
I can confirm that C:\Users\USERXY~1\AppData\Local\Temp\ is
accessible (through the 8.3 username), and that the installing user
can create (and read) subdirectories and files there.  (Note that
nothing else in the path to the “Temp” directory is longer than
eight characters, although the “pip-req-build-d2relny2” subdirectory
that pip created (or tried to create) is.)
I do not see a “pip-req-build-d2relny2” subdirectory in the Temp
directory (nor a setup.py file in such a subdirectory), so either it
wasn’t created, or pip cleaned up after itself after the install failed.
Would you (or anyone else) have some ideas about what might be
going on and how to fix it?  This is on windows 10, if that matters.
Since I wasn’t able to install this particular pytorch build, I wasn’t
able to query it for which compute capability levels it supports.  But
I can unzip / untar the .tar.bz file, so would you know if there is a
way I can figure out the compute capability from the unzipped file,
even if I can’t install it?
Thanks again for your help.
K. Frank