Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 777 Bytes

Amazon GPU howto.md

File metadata and controls

22 lines (15 loc) · 777 Bytes

How to set up GPU on EC2 instance

Create EC2 instance

Use p2.xlarge instance type and ami-e00a8180 AMI image. Details

Open ports 22 (ssh) and 80 (http) on your freshly created instance, you create a security group and attach it your instance to get ports open

Launch notebook

Instance you have created contains all you need: fresh versions of theano, lasagne, CUDA driver and cuDNN, just lunch ipython and get hands dirty:

$ sudo su
$ export THEANO_FLAGS='cuda.root=/usr/local/cuda,device=gpu,floatX=float32'
$ export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}}
$ jupyter notebook