ModelDeployment
ModelDeployment
Model deployment management for serving infrastructure.
This class manages containerized model deployments including resource allocation, scaling, and activation status.
Parameters
model_id (UUID | str)
Examples
Get and update deployment:
`````
```python
python
# Get deployment
deployment = ModelDeployment.of(model_id=model.id)
# Update resources
deployment.replicas = 3
deployment.cpu = 1000
deployment.memory = 2048
job = deployment.update()
job.wait()`
Last updated
Was this helpful?