Light Logo
CLI (v0.57.0)Reference

wriftai model-versions update-configuration

CLI reference for wriftai model-versions update-configuration

wriftai model-versions update-configuration

Update a model version's configuration

wriftai model-versions update-configuration <owner/name:version-number> [flags]

Examples

  Update only the hardware identifier
  $ wriftai model-versions update-configuration johndoe/sentiment-analyzer:2 --hardware-identifier l40s

  Update only the variable keys using repeated flags (replaces the full list)
  $ wriftai model-versions update-configuration johndoe/sentiment-analyzer:2 \
    --variable-key TORCH_COMPILE --variable-key MY_API_KEY

  Update only the variable keys using a comma-separated list (replaces the full list)
  $ wriftai model-versions update-configuration johndoe/sentiment-analyzer:2 \
    --variable-key TORCH_COMPILE,MY_API_KEY

  Remove all variable keys
  $ wriftai model-versions update-configuration johndoe/sentiment-analyzer:2 --variable-key ""

  Update both hardware identifier and variable keys at once
  $ wriftai model-versions update-configuration johndoe/sentiment-analyzer:2 \
    --hardware-identifier l40s --variable-key TORCH_COMPILE,MY_API_KEY

Options

      --hardware-identifier string   The new hardware identifier to attach to the version.
  -h, --help                         help for update-configuration
  -o, --output format                Set output format. Supported formats: json, yaml (default json)
      --variable-key strings         The new list of variable keys for the version (can be specified multiple times or comma-separated). Replaces all current variable keys.

Options inherited from parent commands

      --debug   Enable debug mode

SEE ALSO