Maximum Likelihood Data science blog

Setting up TensorFlow 0.9 with Python 3.5 on AWS GPU-instance


This guide will show you how to:

  • setup an AWS account on your linux machine
  • launch a gpu-powered ec2 instance (g2.2xlarge) from the command line
  • ssh to the launched instance
  • set up tensorFlow 0.9

In case you know to setup the aws instance, checkout this bash script for installing tensorflow and its dependencies automatically.

Things to be installed


  • AWS command line tool: awscli

On the ec2 instance running Ubuntu 14.04:

  • Required linux packages
  • CUDA 7.5
  • cuDNN v4
  • Anaconda with Python 3.5
  • TensorFlow 0.9
  • GPU usage tool gpustat

Tutorial ends by runnning an example MNIST image classifier on a GPU.

Continue reading...