CLI (v0.57.3)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 names using repeated flags (replaces the full list)
$ wriftai model-versions update-configuration johndoe/sentiment-analyzer:2 \
--variable-name TORCH_COMPILE --variable-name MY_API_KEY
Update only the variable name using a comma-separated list (replaces the full list)
$ wriftai model-versions update-configuration johndoe/sentiment-analyzer:2 \
--variable-name TORCH_COMPILE,MY_API_KEY
Remove all variable names
$ wriftai model-versions update-configuration johndoe/sentiment-analyzer:2 --variable-name ""
Update both hardware identifier and variable names at once
$ wriftai model-versions update-configuration johndoe/sentiment-analyzer:2 \
--hardware-identifier l40s --variable-name TORCH_COMPILE,MY_API_KEYOptions
--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-name strings The new list of variable names for the version (can be specified multiple times or comma-separated). Replaces all current variable names.Options inherited from parent commands
--debug Enable debug modeSEE ALSO
- wriftai model-versions - Operations related to model versions on WriftAI