2. Install additional dependencies:
luarocks install tds luarocks install bit32 # if using LuaJIT
3. Clone the OpenNMT repository:
git clone https://github.com/OpenNMT/OpenNMT cd OpenNMT
And you are ready to go! Take a look at the quickstart to familiarize yourself with the main training workflow.
First you need to install
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
If this command does not work, you may need to run the following updates:
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
Then simply run our Docker container:
sudo nvidia-docker run -it harvardnlp/opennmt:8.0
Once in the instance, check out the latest code:
git clone https://github.com/OpenNMT/OpenNMT
The best way to do this is through Docker. We have a public AMI with the preliminary CUDA drivers installed:
ami-c12f86a1. Start a P2/G2 GPU instance with this AMI and run the
nvidia-docker command above to get started.