Is can be used to list runtimes and create new runtimes.

Usage:

$ inferless runtime COMMAND [OPTIONS]  [ARGS]...

Commands:

  • generate: use to generate a new runtime from your virtual env
  • list: list all runtimes.
  • create [options]: create runtime on inferless with yaml.
  • patch [options]: Create a new version of runtime with modified packages using yaml.
  • version-list: Use to list all version of the runtime in Inferless.

Example

Usage:

Generate a new runtime from your local environment.

Activate you virtual environment and then run

$ inferless runtime generate

create runtime in the workspace

$ inferless runtime create -p path/to/file -n name

list all the runtime in the workspace.

$ inferless runtime list

Create a new version of runtime with modified packages using yaml

$ inferless runtime patch -p path/to/file

list the runtime versions

$ inferless runtime version-list