Skip to content

Instantly share code, notes, and snippets.

@tonyyang-svail
Last active May 15, 2018 23:35
Show Gist options
  • Save tonyyang-svail/a6096b647fee9847563fcf0040e749a4 to your computer and use it in GitHub Desktop.
Save tonyyang-svail/a6096b647fee9847563fcf0040e749a4 to your computer and use it in GitHub Desktop.

Prepare machine

Install Nvidia Driver

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-390

Install Docker CE

https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository

Install Nvidia Docker 1.0

wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1-1_amd64.deb
sudo dpkg -i /tmp/nvidia-docker*.deb && rm /tmp/nvidia-docker*.deb

Install nvidia-modprobe separately

sudo apt-get install nvidia-modprobe

Start nvidia-docker service

sudo service nvidia-docker start

Start Agent

https://github.com/PaddlePaddle/Paddle/wiki/PaddlePaddle-CI-on-TeamCity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment