CLI (v0.48.0)Reference
wriftai model start
CLI reference for wriftai model start
wriftai model start
Pull and start a model locally
Synopsis
Pull and start serving a model locally. The model is pulled only if it’s not already in the local cache.
wriftai model start <owner/name[:version-number]> [flags]Examples
Start the latest version of a model
$ wriftai model start johndoe/sentiment-analyzer
Start a specific version of a model
$ wriftai model start johndoe/sentiment-analyzer:2
Start a model on a specific port
$ wriftai model start johndoe/sentiment-analyzer --port 1234
Start a model with environment variables
$ wriftai model start johndoe/sentiment-analyzer \
--env ENV_VAR_1=VALUE_1 \
--env ENV_VAR_2=VALUE_2Options
-e, --env stringArray Set environment variables (format: KEY=value). Can be specified multiple times.
-h, --help help for start
-p, --port string The port on which the server will run. (default "8000")Options inherited from parent commands
--debug Enable debug modeSEE ALSO
- wriftai model - Develop and publish models