Overview

Run vessl model-repository --help to view the list of commands related to model repositories, or vessl model-repository [COMMAND] --help to view individual command instructions.

Run vessl model --help to view the list of commands related to models, or vessl model [COMMAND] --help to view individual command instructions.

Create a model repository

vessl model-repository [OPTIONS] NAME
ArgumentDescription
NAMEModel repository name
OptionDescription
-m, --descriptionModel repository description

List all model repositories

vessl model-repository list

View information on the model repository

vessl model-repository read NAME
ArgumentDescription
NAMEModel repository name

Create a model

vessl model create [OPTIONS] REPOSITORY_NAME
ArgumentDescription
REPOSITORY_NAMEModel repository name
OptionDescription
--model-nameModel name
--sourceModel source (experiment or local)
--experiment-idExperiment id to create a model
--pathsPaths to create model. Default: ["/"]

Delete a file within a model

vessl model delete-file [OPTIONS] REPOSITORY_NAME MODEL_NUMBER PATH
ArgumentDescription
REPOSITORY_NAMEModel repository name
MODEL_NUMBERModel number
PATHFile path
OptionDescription
-r, --recursiveRequired if file is a directory

Download the model

vessl model download REPOSITORY_NAME MODEL_NUMBER SOURCE DEST
ArgumentDescription
REPOSITORY_NAMEModel repository name
MODEL_NUMBERModel number
SOURCESource path within the model
DESTLocal destination path

List all models

vessl model list

List model files

vessl model list-files [OPTIONS] REPOSITORY_NAME MODEL_NUMBER
ArgumentDescription
REPOSITORY_NAMEModel repository name
MODEL_NUMBERModel number
OptionDescription
-p, --pathDirectory path to list (defaults to root)
-r, --recursiveList files recursively

View information on the model

vessl model read REPOSITORY_NAME MODEL_NUMBER
ArgumentDescription
REPOSITORY_NAMEModel repository name
MODEL_NUMBERModel number

Deploy a model for service locally

vessl model serve REPOSITORY_NAME MODEL_NUMBER
ArgumentDescription
REPOSITORY_NAMEModel repository name
MODEL_NUMBERModel number
OptionDescription
--install-reqsInstall requirements before service

Upload files to a model

vessl model upload REPOSITORY_NAME MODEL_NUMBER SOURCE DEST
ArgumentDescription
REPOSITORY_NAMEModel repository name
MODEL_NUMBERModel number
SOURCELocal source path
DESTDestinataion path within the model