I’ve been trying to install PyTorch unstable from source with cuda8.0 support, which should be possible with the Titan X graphics card I use. However, whenever I do some actual computations I get the following error:
$ python3.6
>>> import torch
>>> torch.cuda.is_available()
True
>>> x = torch.rand(5, 3)
>>> y = torch.rand(5, 3)
>>> x = x.cuda()
>>> y = y.cuda()
>>> x+y
THCudaCheck FAIL file=/home/rwever/Devil/pytorch/aten/src/THC/generated/../generic/THCTensorMathPointwise.cu line=265 error=8 : invalid device function
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: cuda runtime error (8) : invalid device function at /home/rwever/Devil/pytorch/aten/src/THC/generated/../generic/THCTensorMathPointwise.cu:265

The build process does indicate that it finds cuda 8.0, and shows no interesting warnings (I think) or any errors
...
Found CUDA: /usr/local/cuda-8.0 (found suitable version "8.0", minimum required is "5.5")
...
-- Building with NumPy bindings
-- Detected cuDNN at /usr/local/cuda-8.0/lib64/libcudnn.so.6, /usr/local/cuda-8.0/include
-- Detected CUDA at /usr/local/cuda-8.0
...

I am using the same build flags that I’ve been using on another machine, without any luck unfortunately.
export CUDA_HOME=/usr/local/cuda-8.0
export TORCH_CUDA_ARCH_LIST="6.0;6.1"
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64

and my $PATH variable contains /usr/local/cuda-8.0/bin as the first entry. I’m using python3.6.5 and Linux Mint 17.1.
One notable quirck might be that I install with $ python3 setup.py install --user as I don’t have root permissions.