Script to run on an Amazon EC2 instance with a GPU to set up Theano
Search for the Amazon Linux AMI with NVIDIA GRID GPU Driver AMI by Nvidia on the AWS marketplace. Launch this AMI on a GPU instance (e.g. g2.2xlarge).
SSH into the shell of the newly created instance, and install git via:
sudo yum -y install git
Get the setup script by running:
git clone https://github.com/peterroelants/Theano_EC2.git
And run this script via:
cd ./Theano_EC2/ && sudo sh setup.sh
Create the cuda device drivers by running the startup script:
sudo sh cuda_startup.sh
Test the Theano installation by running:
sh test_theano.sh