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.
- Common fields
- Using
presetwith common fields
- Using
requestswith common fields (Upcomming feature)
Container Image
Theimage 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.
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.
- Import
The
importtype signifies that the data will be downloaded from the source to a target path in the running container.
- Mount
The
mounttype means that the data will be directly mounted to a target path in the run container, providing direct access to the user.
- Export
The
exporttype is desgined for uploading data from a path in the run container to a target path after run execution.
Run Command
Therun 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
Theinteractive 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
Theports field is a list of map that specifies the port information to expose.
Environment Variables
Theenv 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

