[DEV] VESSL Docs
  • Welcome to VESSL Docs!
  • GETTING STARTED
    • Overview
    • Quickstart
    • End-to-end Guides
      • CLI-driven Workflow
      • SDK-driven Workflow
  • USER GUIDE
    • Organization
      • Creating an Organization
      • Organization Settings
        • Add Members
        • Set Notifications
        • Configure Clusters
        • Add Integrations
        • Billing Information
    • Project
      • Creating a Project
      • Project Overview
      • Project Repository & Project Dataset
    • Clusters
      • Cluster Integrations
        • Fully Managed Cloud
        • Personal Laptops
        • On-premise Clusters
        • Private Cloud (AWS)
      • Cluster Monitoring
      • Cluster Administration
        • Resource Specs
        • Access Control
        • Quotas and Limits
        • Remove Cluster
    • Dataset
      • Adding New Datasets
      • Managing Datasets
      • Tips & Limitations
    • Experiment
      • Creating an Experiment
      • Managing Experiments
      • Experiment Results
      • Distributed Experiments
      • Local Experiments
    • Model Registry
      • Creating a Model
      • Managing Models
    • Sweep
      • Creating a Sweep
      • Sweep Results
    • Workspace
      • Creating a Workspace
      • Exploring Workspaces
      • SSH Connection
      • Downloading / Attaching Datasets
      • Running a Server Application
      • Tips & Limitations
      • Building Custom Images
    • Serve
      • Quickstart
      • Serve Web Workflow
        • Monitoring Dashboard
        • Service Logs
        • Service Revisions
        • Service Rollouts
      • Serve YAML Workflow
        • YAML Schema Reference
    • Commons
      • Running Spot Instances
      • Volume Mount
  • API REFERENCE
    • What is the VESSL CLI/SDK?
    • CLI
      • Getting Started
      • vessl run
      • vessl cluster
      • vessl dataset
      • vessl experiment
      • vessl image
      • vessl model
      • vessl organization
      • vessl project
      • vessl serve
      • vessl ssh-key
      • vessl sweep
      • vessl volume
      • vessl workspace
    • Python SDK
      • Integrations
        • Keras
        • TensorBoard
      • Utilities API
        • configure
        • vessl.init
        • vessl.log
          • vessl.Image
          • vessl.Audio
        • vessl.hp.update
        • vessl.progress
        • vessl.upload
        • vessl.finish
      • Dataset API
      • Experiment API
      • Cluster API
      • Image API
      • Model API
        • Model Serving API
      • Organization API
      • Project API
      • Serving API
      • SSH Key API
      • Sweep API
      • Volume API
      • Workspace API
    • Rate Limits
  • TROUBLESHOOTING
    • GitHub Issues
    • VESSL Flare
Powered by GitBook
On this page
  • Overview
  • Create an experiment
  • Download experiment output files
  • List all experiments
  • List experiment output files
  • View logs of the experiment container
  • View information on the experiment
  • Terminate an experiment
  1. API REFERENCE
  2. CLI

vessl experiment

Overview

Run vessl experiment --help to view the list of commands, vessl experiment [COMMAND] -help to view individual command instructions.

Create an experiment

vessl experiment create [OPTIONS]
Option
Description

-c, --cluster

Cluster name (must be specified before other options)

-x, --command

Start command to execute in experiment container

-r, --resource

Resource type to run an experiment (for managed cluster only)

--processor-type

CPU or GPU (for custom cluster only)

--cpu-limit

Number of vCPUs (for custom cluster only)

--memory-limit

Memory limit in GiB (for custom cluster only)

--gpu-type

GPU type (for custom cluster only)

ex. Tesla-K80

--gpu-limit

Number of GPU cores (for custom cluster only)

--image-url

Kernel docker image URL.

--upload-local-file (multiple)

Upload local file. Format: [local_path] or [local_path]:[remote_path].

ex. --upload-local-file my-project:/root/my-project

--upload-local-git-diff

Upload local git commit hash and diff (only works in project repositories)

-i, --image-url

Kernel docker image URL

ex. vessl/kernels:py36.full-cpu

-m, --message

Message

--termination-protection

Enable termination protection

-h, --hyperparameter (multiple)

Hyperparameters in the form of [key]=[value]

ex. -h lr=0.01 -h epochs=100

--dataset (multiple)

Dataset mounts in the form of [mount_path] [dataset_name]

ex. --dataset /input mnist

--root-volume-size

Root volume size (defaults to 20Gi)

--working-dir

Working directory path (defaults to /root/)

--output-dir

Output directory path (defaults to /output

--local-project

Local project file URL

--worker-count

Number of workers (for distributed experiment only)

--framework-type

Specify pytorch or tensorflow(for distributed experiment only)

Download experiment output files

Each user can define experiment output files. You can save validation results, trained checkpoints, best performing models and other artifacts.

vessl experiment download-output [OPTIONS] NUMBER
Argument
Description

NUMBER

Experiment number

Option
Description

-p, --path

Local download path (defaults to./output)

--worker-number

Worker number (for distributed experiment only)

List all experiments

vessl experiment list

List experiment output files

Each user can define experiment output files. You can save validation results, trained checkpoints, best models, and other artifacts.

vessl experiment list-output [OPTIONS] NUMBER
Argument
Description

NUMBER

Experiment number

Option
Description

-r, --recursive

List files recursively

--worker-number

Worker number (for distributed experiment only)

View logs of the experiment container

vessl experiment logs [OPTIONS] NUMBER
Argument
Description

NUMBER

Experiment number

Option
Description

--tail

Number of lines to display from the end (defaults to 200)

--worker-number

Worker number (for distributed experiment only)

View information on the experiment

vessl experiment read NUMBER
Argument
Description

NUMBER

Experiment number

Terminate an experiment

vessl experiment terminate NUMBER
Argument
Description

NUMBER

Experiment number

Previousvessl datasetNextvessl image

Last updated 3 years ago