Git Product home page Git Product logo

deep-learning-images's Introduction

RealScout Deep Learning Images

Packer templates for Caffe and TensorFlow based EC2 GPU-enabled machine and Docker container images from RealScout.

Step 0

Download the v5 cuDNN bundle from https://developer.nvidia.com/cudnn and place it in install/.

You'll also need:

Finally, clone this repo and run the commands below from the root of this project. Probably:

git clone https://github.com/RealScout/deep-learning-images.git
cd deep-learning-images

Base Image

First create a base image with CUDA and cuDNN libraries installed. We need a Ubuntu 16.04 AMI to start building up from, the template includes a recent one that can be overriden by passing -var ubuntu_ami=ami-xxxx to packer.

To build your base image run: packer build base.json. You should get a message about a successful build including an AMI ID like ami-xxxxx.

==> amazon-ebs: Uploading install/cudnn-8.0-linux-x64-v5.1.tgz => /tmp/cudnn.tar.gz
==> amazon-ebs: Provisioning with shell script: install/cudnn.sh
==> amazon-ebs: Stopping the source instance...
==> amazon-ebs: Waiting for the instance to stop...
==> amazon-ebs: Creating the AMI: Base 1479906007
    amazon-ebs: AMI: ami-6908e904
==> amazon-ebs: Waiting for AMI to become ready...

Note that AMI ID, here ami-6908e904, we'll need it in the next step.

Base++ Images

Now follow instructions for your favorite deep learning package. You could combine them and make one enormous image with all of them installed.

Each of these templates will also build Docker container images. To prevent that, pass -only=amazon-ebs to packer. Use -only=docker to only build the docker images. note: docker container images are not GPU-enabled as currently configured.

Caffe Image

Caffe version: HEAD

To build your caffe image run (substitute the ami id from the base step): packer build -var base_ami=ami-6908e904 caffe.json.

TensorFlow Image

TF Version: v0.11.0

To build your tensorflow image run (substitute the ami id from the base step): packer build -var base_ami=ami-6908e904 tensorflow.json.

deep-learning-images's People

Contributors

graphaelli avatar chrisconley avatar

Watchers

 avatar James Cloos avatar Philipp Rosenbeck avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.