Hm, are you installing it via pip wheels or source code? Because as far as I understood, PyTorch would be using it’s own CUDA parts when you do the regular pip install (i.e., wheels; pip3 install http://download.pytorch.org/whl/cu90/torch-0.3.0.post4-cp36-cp36m-linux_x86_64.whl). So, my understanding is that even if you have locally CUDA 9.1 installed, it would be using the CUDA 9.0 parts that it comes with. Based on

conda binary has its own cuda, it doesn’t use system CUDA at all.


  
    
    
    Is it possible to link conda binary to cuda in non standard location? 
  
  
    Hi 
Does the conda binary use the $CUDA_ROOT and $LD_LIBRARY_PATH variables? If I want to use CUDA installed at a different location than /usr/local/cuda do I have to install from source? 
Thanks in advance 
  


(There’s probably no way to tell which CUDA version PyTorch is using via the Python interpreter?)