Skip to main content

Field types

Metadata

name, description, and tags fields are the metadata of Run. They should be ideally represent the specific characteristics or purposes of your run for better identification.
Specify run metadata

Resources

resources specifies the resource specs to use for run. Use preset provided by VESSL or request the desired resource with requests.
  1. Common fields
  1. Using preset with common fields
  1. Using requests with common fields (Upcomming feature)
You can list available clusters or resource specs with the CLI command: vessl cluster list or vessl resource list.

Container Image

The image field is a string that specifies the container image to be used in the run. This is typically a Docker image that includes all the necessary dependencies and environment for your machine learning model.
You can list available VESSL-managed images with the CLI command: vessl image list.
List VESSL-manged images with the VESSL CLI

Volumes

There are three type of volumes: import, mount, and export. Each field is a map that specifies a target path as a key and a source information as a value. The value is either a simple string with prefix or another map that holds more detailed information.
  1. Import The import type signifies that the data will be downloaded from the source to a target path in the running container.
  1. Mount The mount type means that the data will be directly mounted to a target path in the run container, providing direct access to the user.
  1. Export The export type is desgined for uploading data from a path in the run container to a target path after run execution.

Run Command

The run field is a list that contains commands to be run in the container. Each item in the list is a map with the following keys. run could be empty if it’s an interactive run.

Interactive

The interactive field is used to specify if the run allows interactive communication with the user. It provides multiple ways to interact with the container during the run, such as JupyterLab, SSH, or a custom service via specified ports.
Maximum runtime 24h and idle_timeout 120m

Ports

The ports field is a list of map that specifies the port information to expose.

Environment Variables

The env field is a map that specifies the environment variables for the run. Each key-value pair in this map represents an environment variable and its value.
Set multiple environment variables