Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #you may or may not need to blacklist / remove the nouveau driver before this, google blacklist nouveau
- #CUDA
- wget http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb &&
- sudo dpkg -i cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb &&
- sudo apt-get update;
- sudo apt-get install cuda -y;
- #CUDA PATH APPEND
- echo 'export CUDA_HOME=/usr/local/cuda-7.5 ' >> ~/.bashrc &&
- echo 'export LD_LIBRARY_PATH=${CUDA_HOME}/lib64 ' >> ~/.bashrc &&
- echo 'PATH=${CUDA_HOME}/bin:${PATH} ' >> ~/.bashrc;
- #python basics + tensorflow
- sudo apt-get install git python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose python-setuptools python-pip spyder hdf5-tools libhdf5-dev -y &&
- sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.9.0rc0-cp27-none-linux_x86_64.whl
- #for cudnn, you need to sign up with nvidia. installation is nothing more than copying a few files into system folders (as sudo)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement