Skip to content

Instantly share code, notes, and snippets.

@obskein
obskein / install-tensorflow.sh
Created November 13, 2015 23:47 — forked from erikbern/install-tensorflow.sh
Installing TensorFlow on EC2
# Note – this is not a bash script (some of the steps require reboot)
# I named it .sh just so Github does correct syntax highlighting.
#
# This is also available as an AMI in us-east-1 (virginia): ami-cf5028a5
#
# The CUDA part is mostly based on this excellent blog post:
# http://tleyden.github.io/blog/2014/10/25/cuda-6-dot-5-on-aws-gpu-instance-running-ubuntu-14-dot-04/
# Install various packages
sudo apt-get update
@obskein
obskein / build_tensorflow.sh
Last active November 12, 2015 21:45
Build tensorflow from source
#Install Cuda V7.0 (!!!) and Cudnn 6.5
# https://developer.nvidia.com/cuda-toolkit-70
wget http://developer.download.nvidia.com/compute/cuda/7_0/Prod/local_installers/rpmdeb/cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb
sudo dpkg -i
sudo apt-get update
sudo apt-get install cuda=7.0-28