Running Edward with GPUs on AWS EC2


Anyone have links/advice how to run Edward and Tensorflow with GPUs on Amazon AWS EC2 servers? I tried a Deep Learning AMI instance (p2.xlarge) and a few different options to install and run tensorflow and edward but it uses the CPU rather than GPU whatever I do. Appreciate if someone has pointers or advice. I’m excited about Edward but not getting good enough performance on my MacBook… :frowning:


I managed to find a solution based on this blog post:

Thanks, Robert


To save myself and others time I added docs/notes as well as scripts I used to run the edward Deep Exp Family topic modeling example on AWS EC2 instances: