Hello Pytorch forum,
I have previously installed Pytorch 1.0 from source on my Mac OSX 10.12 with cuda 9.0 and cudnn 7.0 ; it runs fine with external GPU support connecting an NVIDIA GTX Titan X (compute capability 5.2).
I cloned again the source and tried to install for upgrading to Pytorch 1.2 with
python3 setup.py install (I do not use conda)
It runs until it breaks with
[ 39%] Building NVCC (Device) object caffe2/CMakeFiles/torch.dir/__/aten/src/THC/torch_generated_THCStorage.cu.o
nvcc fatal   : Unsupported gpu architecture ‘compute_70’
…
File “/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py”, line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘cmake’, ‘–build’, ‘.’, ‘–target’, ‘install’, ‘–config’, ‘Release’, ‘–’, ‘-j’, ‘4’]’ returned non-zero exit status 2.
Does anyone know what could be wrong please ?
Is it due to the compute capability of my GPU below 7.0 ?
Thanks