model_deploy
Deploy a Ray Serve application from a Python import path to an inference target with configurable replica count.
Instructions
[WRITE][risk=medium] Deploy a Serve application from an import path.
Args: application: Serve application name to create/replace. import_path: Python import path of the Serve app (e.g. 'module:app'). num_replicas: Initial replica count for the deployment. target: Inference target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| application | Yes | ||
| import_path | Yes | ||
| num_replicas | No |