Installing cuDNN for Theano without root access
<p>Can I install <a href="https://developer.nvidia.com/cudnn" rel="nofollow">cuDNN</a> locally without root access ?</p>

<p>I don't have root access to a linux machine  I am using (the distro is openSuse), but I have CUDA 7.5 already installed. </p>

<p>I am using Theano and I need cuDNN to improve the speed of the operations on the GPU.</p>

<p>I downloaded <code>cudnn-7.5-linux-x64-v5.1</code> from Nvidia and as per the instructions I need to copy the CuDNN archive content to CUDA installation folder, i.e. (cuda/lib64/ and cuda/include/). But that would require me to have root access.</p>

<p>Is it possible that I extract the cudnn archive locally and provide theano with the path to the cudnn library ?</p>

<p>You could copy the entire CUDA SDK to your home and tell Theano and others that they should use your local copy of CUDA by adding/modifying these environment variables in your <code>~/.bashrc</code></p>

<pre><code>export CUDA_ROOT=~/program/cuda-7.5
export CUDA_HOME=~/program/cuda-7.5
export PATH=${CUDA_HOME}/bin:$PATH
export LD_LIBRARY_PATH=/usr/lib64/nvidia:${CUDA_HOME}/lib64:$LD_LIBRARY_PATH
</code></pre>

<p>Then you could simply extract cuDNN to your local CUDA SDK dir <code>~/program/cuda-7.5/</code></p>

python linux gpu theano-cuda