What is a pipeline revision?

A pipeline revision is a version of the pipeline that contains a sequence of steps. There are three states of a pipeline revision:

  • Published: The pipeline revision is published and can be used on the next execution
  • Editing: The pipeline revision is in draft mode and can be edited.
  • Archived: The pipeline revision is archived for future reference.

You can edit the pipeline revision with two methods:

  • Web Console: Edit the pipeline revision using the web console.
  • YAML manifest: Apply the pipeline revision using the YAML manifest.

Edit revision using web Console

To edit the pipeline revision using the web console, click edit icon on the editing revision list.

When you navigate to the revision editor, you can see the page with the following components. Here is the description of the components on the revision editor page:

  1. Toolbox: Quick menus where you can expand or collapse the tools such as Step List and Pipeline Variables.
  2. Step List: The list of steps that define each action of the pipeline. You can drag and drop the steps to the canvas.
  3. Dependency Graph: The connection of each step and dependency of the editing revision. You can click each step on the graph to edit the details of the step.
  4. Pipeline Variables: The list of pipeline variables that can be injected in the pipeline steps.

Pipeline steps

You can drag and drop the steps from the Step List to the Dependency Graph to define the pipeline steps. You can also connect the steps by dragging the arrow from the output of the step to the input of the next step.

See the Pipeline steps page for more details.

Pipeline variables

Pipeline variables are working similarly to the environment variables in the pipeline execution. You can define the pipeline variables in the Variables section and use them in the pipeline steps.

See the Pipeline variables page for more details.

Once you finish editing the pipeline revision, click the blue Publish button on the top right corner to publish the revision.

Edit revision using YAML manifest

You can also use the YAML manifest to edit the pipeline revision. By managing pipeline revisions with YAML, you can easily track the changes, apply the changes to the pipeline revision or share the workflow definition with others.

To edit the pipeline revision using the YAML manifest, click Import YAML on the editing revision list.

A dialog will appear where you can paste the YAML manifest. After you paste the YAML manifest, click Import to apply the changes.

Sample YAML manifest

Here is the sample YAML manifest for fine-tuning a LLM(Large Language Model) and uploading the quantized model to the Huggingface model registry.