Deploy and maintain ML models | Viam Documentation
Deploy and maintain ML models
The model is the artifact at the center of every vision pipeline. Deploy one from the registry or bring your own, roll out new versions as you retrain, and validate models against stored data before they go live.
What's in the registry
Three kinds of registry entries feed a vision pipeline: ML model service implementations, vision service models, and public ML models. How to pick among them.
Deploy a model from the registry
Pick a pre-trained ML model from the Viam registry, deploy it to your machine, and wire it through an ML model service so a vision service can use it.
Deploy a custom model
Deploy a model you trained outside Viam (or trained yourself on Viam data) through an ML model service and use it with the vision service.
Retrain a model
Close the loop when a vision model's accuracy drops in production: capture the failing images, label them, retrain, and redeploy a new model version to one or many machines.
Roll out to a fleet
Update a vision model across many machines at once using fragments and model version pinning. Short guide with links to the full fleet and deployment docs.
Run batch inference
Use the viam infer CLI command to run a deployed ML model against images already captured to the Viam Cloud. Useful for labeling assistance, dataset validation, and running large or GPU-only models.