The Configuration file

The ELBO configuration is specified in YAML in a configuration file. Let's look at its contents.

The configuration file, typically named elbo.yaml has the following properties:

Tip: If you are submitting the task for the first time, you may want to run the training task on an Economy class machine and then move to higher classes when you see the model converging after a few epochs.

Here is a sample configuration with comments on what each property means:

#
# ELBO Sample Config File for MNIST Classifier Task
#
# All paths are relative to where the `elbo.yaml` file is placed

name: "Train MNIST Classifier"

# The GPU class to use - Economy, MidRange, HighEnd, All
gpu_class: Economy

# The script to run for setting up the environment. For example - installing packages 
# on Ubuntu
setup: setup.sh

# The PIP requirements file. ELBO will install the requirements specified in this 
# file before launching the task.
requirements: requirements.txt

# The main entry point in the task. Once the script exits or terminates, the task
# is considered complete.
run: main.py

# The task directory, relative to this file. This directory will be tar-balled and sent to ELBO task executor for
# execution
task_dir: .

# Artifacts directory. This is the directory that will be copied over as output. All model related files - 
# checkpoints, generated samples, evaluation results etc. should be placed in this directory. 
artifacts: ~/artifacts

Last updated