MLServer CLI¶
The MLServer package includes a mlserver
CLI designed to help with some of
the common tasks involved with a model’s lifecycle.
Below, you can find the full list of supported subcommands.
Note that you can also get a similar high-level outline at any time by running:
mlserver --help
Commands¶
mlserver¶
Command-line interface to manage MLServer models.
mlserver [OPTIONS] COMMAND [ARGS]...
Options
- --version¶
Show the version and exit.
build¶
Build a Docker image for a custom MLServer runtime.
mlserver build [OPTIONS] FOLDER
Options
- -t, --tag <tag>¶
- --no-cache¶
Arguments
- FOLDER¶
Required argument
dockerfile¶
Generate a Dockerfile
mlserver dockerfile [OPTIONS] FOLDER
Options
- -i, --include-dockerignore¶
Arguments
- FOLDER¶
Required argument
init¶
Generate a base project template
mlserver init [OPTIONS]
Options
- -t, --template <template>¶
start¶
Start serving a machine learning model with MLServer.
mlserver start [OPTIONS] FOLDER
Arguments
- FOLDER¶
Required argument