batch-shipyard/recipes/Caffe-CPU
Fred Park 05e9773741 Update recipes
- `remove_container_after_exit` is now defaulted enabled
- Move to CentOS-HPC 7.3 for ib recipes
2017-08-03 19:13:57 -07:00
..
config Update recipes 2017-08-03 19:13:57 -07:00
docker Update Caffe recipes and images 2016-11-21 13:30:03 -08:00
README.md Update Caffe recipes and images 2016-11-21 13:30:03 -08:00

README.md

Caffe-CPU

This recipe shows how to run Caffe on a single node using CPU only.

Configuration

Please see refer to this set of sample configuration files for this recipe.

Pool Configuration

The pool configuration should enable the following properties:

  • max_tasks_per_node must be set to 1 or omitted

Other pool properties such as publisher, offer, sku, vm_size and vm_count should be set to your desired values.

Global Configuration

The global configuration should set the following properties:

  • docker_images array must have a reference to a valid Caffe CPU-enabled Docker image. alfpark/caffe:cpu can be used for this recipe.

Jobs Configuration

The jobs configuration should set the following properties within the tasks array which should have a task definition containing:

  • image should be the name of the Docker image for this container invocation, e.g., alfpark/caffe:cpu
  • command should contain the command to pass to the Docker run invocation. For the alfpark/caffe:cpu Docker image and to run the MNIST convolutional example, the command would simply be: "/caffe/run_mnist.sh"

Dockerfile and supplementary files

The Dockerfile for the Docker image can be found here.

You must agree to the Caffe License prior to use.