Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Installation notes for GPU-enabled Theano on AWS
# Fix the /tmp directory from my previous AMI, which was a symlink to /mnt/tmp (nonexistent)
sudo rm /tmp
sudo mkdir /tmp
sudo chmod 777 /tmp
# Upgrade Ubuntu packages
sudo apt-get update
sudo apt-get upgrade
# Install Theano dependencies (from:
sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git
# Clone the latest source
git clone git://
cd Theano
sudo python develop
# Test it
# >>> import theano
# >>> theano.test()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment