valohai.yaml config file

The valohai.yaml configuration file defines steps of your machine learning pipeline.

The configuration file is optional but we recommend adding it so everything stays reproducible between different Valohai projects using the same git repository. The configuration file must be placed at the root of your project repository.

Here is a “Hello World” step on valohai.yaml to print “hello” on a worker machine:

- step:
    name: greet-me
    image: busybox
    command: echo hello

See also

busybox is one of the simplest Docker images in existence as it includes only the most basic Unix utilities. You can either utilize freely available images from Docker Hub or build your own.

This section describes how to write valohai.yaml files in more detail.