Last active
April 25, 2018 16:15
-
-
Save fedden/da74b066062b53bb5756efeab42b4648 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Instructions: | |
# | |
# To install this script, run: | |
# wget <RAW_URL> -O - | bash | |
# | |
sudo apt-get update -y | |
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_9.0.176-1_amd64.deb | |
wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/libcudnn7_7.0.5.15-1+cuda9.0_amd64.deb | |
wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/libcudnn7-dev_7.0.5.15-1+cuda9.0_amd64.deb | |
wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/libnccl2_2.1.4-1+cuda9.0_amd64.deb | |
wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/libnccl-dev_2.1.4-1+cuda9.0_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1604_9.0.176-1_amd64.deb | |
sudo dpkg -i libcudnn7_7.0.5.15-1+cuda9.0_amd64.deb | |
sudo dpkg -i libcudnn7-dev_7.0.5.15-1+cuda9.0_amd64.deb | |
sudo dpkg -i libnccl2_2.1.4-1+cuda9.0_amd64.deb | |
sudo dpkg -i libnccl-dev_2.1.4-1+cuda9.0_amd64.deb | |
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pu | |
bls | |
echo "export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}" >> ~/.bashrc | |
echo "export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}" >> ~/.bashrc | |
sudo apt-get update -y | |
sudo apt-get install cuda=9.0.176-1 -y | |
sudo apt-get install libcudnn7-dev -y | |
sudo apt-get install libnccl-dev -y | |
rm *.deb | |
sudo apt-get install htop -y | |
sudo apt-get install python3-pip -y | |
sudo apt-get install python3-tk -y | |
sudo pip3 install http://download.pytorch.org/whl/cu90/torch-0.3.1-cp35-cp35m-linux_x86_64.whl | |
sudo pip3 install torchvision | |
sudo pip3 install tensorflow-gpu | |
sudo pip3 install scipy Pillow tensorboardX tqdm matplotlib | |
cd ~ | |
scp -r [email protected]:/home/students/lfedd001/test_sounds . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment