Documentation
The lms push command packages the contents of the current directory and uploads
it to the LM Studio Hub. You can use it to share presets, plugins, or
model.yaml files.
--overrides (optional) : string
A JSON string of values to override in the manifest or metadata
--write-revision (optional) : flag
Write the returned revision number to manifest.json
model.yamlRun lms push inside the directory that contains your plugin, preset, or model.yaml file:
model.yaml file:cd path/to/your/directory
lms push
The command uploads the artifact and prints the revision number. When used with
--write-revision, the revision number is also written to the manifest.json
file so you can track revisions in version control.
This command works for presets,
plugins, and model.yaml files.
--overridesYou can use the --overrides parameter to modify the metadata before pushing:
lms push --overrides '{"description": "new-description"}'
This page's source is available on GitHub
On this page
Parameters
Upload a Plugin, Preset, or model.yaml
Example Usage with --overrides