Skip to content

Commit 19bf369

Browse files
authored
DOCS-3455: Deploy a specific version ml model feedback from Tahiya (#3943)
1 parent 46e27af commit 19bf369

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/data-ai/ai/deploy.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,18 @@ You can search the machine learning models that are available to deploy on this
7272

7373
{{<mlmodels>}}
7474

75+
### Deploy a specific version of an ML model
76+
77+
When you add a model to the ML model service in the app interface, it automatically grabs the latest version.
78+
To change what version is deployed, you must edit the JSON.
79+
Go to the [**Models** page](https://app.viam.com/data/models) on the **DATA** tab.
80+
Click the **>** icon to expand the versions of a model and click the **...** menu on your desired version.
81+
Click **Copy package JSON**.
82+
Then, return to your machine page.
83+
Enter **JSON** mode and find the `"packages"` section of your config.
84+
Replace `"version": "latest"` with `"version"` from the package reference you just copied, for example `"version": "2024-11-14T15-05-26"`.
85+
Save your config to use your specified version of the ML model.
86+
7587
## Next steps
7688

7789
On its own the ML model service only runs the model.

0 commit comments

Comments
 (0)