Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Latest commit

 

History

History
32 lines (16 loc) · 829 Bytes

README.md

File metadata and controls

32 lines (16 loc) · 829 Bytes

Amazon EC2 Theano instance

Script to run on an Amazon EC2 instance with a GPU to set up Theano

Startup an Amazon EC2 instance

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).

Install Theano

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

Activate CUDA and test Theano

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