Deploy a model on GPUs, add or remove replicas of a running model, or redeploy it on its profile's newest version: choose the profile and the GPUs, check before deploying, deploy after the operator confirms, and follow the replicas until they serve. Use when the operator asks to deploy, run, scale, move or redeploy a model.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Deploy Model?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/onprem-ai-deploy-model)
---
name: deploy-model
description: >-
Deploy a model on GPUs, add or remove replicas of a running model, or redeploy it on
its profile's newest version: choose the profile and the GPUs, check before
deploying, deploy after the operator confirms, and follow the replicas until they
serve. Use when the operator asks to deploy, run, scale, move or redeploy a model.
---
The stages a replica goes through, and what each warning means, are in
docs:guides/deploying-models.md. Read the section for the step you are on.
## 1. Find the model and the GPUs
- The deploy profile: `model_catalog_read`, operation `deploy_profiles_list` (its
`model_catalog_id` and `deploy_profile_path`), and `deploy_profiles_detail` for what one
replica needs (GPU product and count, GPU memory).
- Whether the model already runs: `inference_services_read`, operation `list`. To
change a running model, work on its service; never deploy a second service of the
same model by mistake.
- The GPUs: `inference_services_read`, operation `propose_replica_placement`, answers
suitable GPUs for the profile, with the reason for each GPU it leaves out.
## 2. Check, then ask
- Run the deploy with `dry_run` true (`inference_services_change`, operation `deploy`):
it runs every check and answers the warnings, and deploys nothing.
- Tell the operator what you will deploy: the model, the inference nodes and GPUs, the
number of replicas, and every warning. Deploy only after the operator confirms.
## 3. Deploy
- A new service: `inference_services_change`, operation `deploy`, with a new
`deploy_request_id`. A retry of the same deploy sends the same id.
- More or fewer replicas of a running service: operation `set_replicas`. A replica the
list leaves out is undeployed: say which ones before you run it.
- The profile's newest version for a running service: operation `redeploy`.
## 4. Follow until it serves
- Check the replicas (`inference_services_read`, operation `get`) and call
`wait_seconds` between checks. Downloads can take hours: say so, and stop following
when the operator does not need to wait.
- A replica that is Blocked or Failed: read its reason and its error report
(`error_reports_read`), then follow the skill `investigate-failing-model`.
- Report the end state: each replica's inference node and stage, and the model name
clients send.