model_deploy
Deploy a Serve application to a GPU inference cluster using its Python import path. Merges into existing config while preserving current apps.
Instructions
[WRITE][risk=medium] Deploy a Serve application from an import path.
The app is merged into the cluster's declarative Serve config (existing apps preserved). Replica counts come from the app's own config; set them afterward with serve scale (deployment names are known only once the app materialises).
Args: application: Serve application name to create/replace. import_path: Python import path of the Serve app (e.g. 'module:app'). target: Inference target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| application | Yes | ||
| import_path | Yes |