Skip to content

Instantly share code, notes, and snippets.

@btakashi
Created December 8, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save btakashi/35a18b70dc4b258210f4 to your computer and use it in GitHub Desktop.
Save btakashi/35a18b70dc4b258210f4 to your computer and use it in GitHub Desktop.
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: http://deeplearning.net/software/theano/install_ubuntu.html#install-ubuntu)
sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git
# Clone the latest source
cd
git clone git://github.com/Theano/Theano.git
cd Theano
sudo python setup.py develop
# Test it
python
# >>> import theano
# >>> theano.test()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment