CLI (v0.57.3)Reference
wriftai model push
CLI reference for wriftai model push
wriftai model push
Push model
wriftai model push [flags]Examples
Push a new version, inheriting hardware and variable names from the previous version
wriftai model push --release-notes "Fix crash on empty input"
Push without release notes
wriftai model push
Build and push the model
wriftai model push --release-notes "New feature" --build
Push with a hardware identifier and repeated variable names
wriftai model push --release-notes "Switch to GPU" \
--hardware-identifier l40s \
--variable-name TORCH_COMPILE \
--variable-name MY_API_KEY
Push with a hardware identifier and comma-separated variable names
wriftai model push --release-notes "Switch to GPU" \
--hardware-identifier l40s \
--variable-name TORCH_COMPILE,MY_API_KEYOptions
--build Build the model before pushing it, so you don't need to run the build command separately after making changes.
--hardware-identifier string The hardware identifier for the new version. Omit both this and --variable-name to inherit configuration from the previous version.
-h, --help help for push
--release-notes string The release notes for the new version.
--variable-name strings A variable name for the new version. Can be repeated or comma-separated. Requires --hardware-identifier to also be set.Options inherited from parent commands
--debug Enable debug modeSEE ALSO
- wriftai model - Develop and publish models