MS Azure image?

I know that there’s an Amazon ami. Would you consider putting up an image in the Azure marketplace as well?

I don’t know anything about Azure. This is basically the script I used to make the AMI though, feel free to adapt it.

# Preliminary commands to build the EC2 box and install drivers
# Assumes Ubuntu 16.04
sudo apt-get install python-pip
wget https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64-deb
sudo dpkg -i cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64-deb
sudo apt-get update
sudo apt-get install cuda
sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'
sudo apt-get update
sudo apt-get install docker-engine nvidia-modprobe
wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.0-rc.3/nvidia-docker_1.0.0.rc.3-1_amd64.deb
sudo dpkg -i /tmp/nvidia-docker*.deb
sudo nvidia-docker run -it harvardnlp/opennmt:8.0 .
2 Likes