Skip to content

Instantly share code, notes, and snippets.

@chyikwei
Last active May 3, 2017 20:10
Show Gist options
  • Save chyikwei/94efe04b3ce761d459f62025532f3a4a to your computer and use it in GitHub Desktop.
Save chyikwei/94efe04b3ce761d459f62025532f3a4a to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt install htop
wget http://us.download.nvidia.com/tesla/375.51/nvidia-driver-local-repo-ubuntu1604_375.51-1_amd64.deb
sudo dpkg -i nvidia-driver-local-repo-ubuntu1604_375.51-1_amd64.deb
sudo apt-get -y install cuda-drivers
sudo reboot
sudo apt-get install python-pip python-dev build-essential
sudo pip install virtualenv
sudo pip install --upgrade pip setuptools
virtualenv venv_torch
source venv_torch/bin/activate
pip install http://download.pytorch.org/whl/cu80/torch-0.1.12.post2-cp27-none-linux_x86_64.whl
pip install torchvision
pip install ipython
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment