See also

For the technical specifications, go to valohai.yaml pipeline section.

Pipeline is a version controlled collection of executions some of which rely on the results of the previous executions thus creating a directed graph. These pipeline graphs consist of nodes and edges and we’ll discuss these further down.

For example, consider the following sequence of data science operations:

  1. Preprocess dataset on a memory-optimized machine

  2. Train multiple machine learning models on GPU machines using the preprocessed data

  3. Evaluate all of the trained models

  4. Find-best-model compare the models to find the best model

  5. Deploy a new version of your trained model for online inference

Our pipeline would have 4 or more nodes; at least one for each step mentioned above and one for the deployment.

In the example below we’ll train 3 different models in parallel and compare them to find the best performing model that we can deploy to an HTTP endpoint. It is worth noting that when evaluating multiple trained models inside a pipeline, the comparison for choosing the best model is not done automatically. It’s up to you to define the comparison according to your models criteria and run the comparison in its own node (find-best-model node in the figure below).

You configure data stores per project-basis on Valohai.

You can manage pipelines under the Pipelines tab on the web user interface if the feature has been enabled for your account. Your project will need to connected to a Git repository and have a pipelines section defined in your valohai.yaml.

Nodes of the pipeline (the circles that receive something and/or produce something):

Edges of the pipeline (the lines between nodes) are either:

  • output files used as an input of an upcoming execution or deployment.

  • input files, to allow for copying inputs from one node to another and ensure multiple pipeline nodes use the same inputs.

  • parameters that are passed from one node to another.

  • metadata that is passed from the node where it was created to a parameter in the next node.