Skip to content

Instantly share code, notes, and snippets.

@ikegami-yukino
Forked from albertstartup/steps.sh
Last active April 30, 2020 04:24
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ikegami-yukino/d303b906b39db944960b1d73984a583a to your computer and use it in GitHub Desktop.
Save ikegami-yukino/d303b906b39db944960b1d73984a583a to your computer and use it in GitHub Desktop.
aws gpu, ubuntu 16.04, nvidia driver 367, cuda 8,
# Required download
# cudnn-8.0-linux-x64-v5.1.tgz
curl -L -o cuda_8.0.44_linux.run https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_linux-run
curl -L -O http://us.download.nvidia.com/XFree86/Linux-x86_64/367.27/NVIDIA-Linux-x86_64-367.27.run
sudo apt-get install build-essential
sudo apt-get install linux-image-extra-`uname -r`
sudo sh cuda_8.0.44_linux.run
echo -e "export CUDA_HOME=/usr/local/cuda\nexport PATH=\$PATH:\$CUDA_HOME/bin\nexport LD_LIBRARY_PATH=\$LD_LINKER_PATH:\$CUDA_HOME/lib64" >> ~/.bashrc
tar xf cudnn-8.0-linux-x64-v5.1.tgz
cd cuda
sudo cp lib64/* /usr/local/cuda/lib64/
sudo cp include/cudnn.h /usr/local/cuda/include/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment