Skip to main content
This class manages containerized model deployments including resource allocation, scaling, and activation status.

Attributes

Model identifier
Deployment activation status
Number of serving instances
CPU allocation per replica
Memory allocation per replica

Examples

Get and update deployment:
Initialize ModelDeployment instance.

Parameters

UUID | str
required
Model identifier

update()

Update an existing model deployment.

Returns

Job

classmethod of()

Get model deployment instance of the given model

Parameters

UUID | str
required
Model identifier

Returns

ModelDeployment instance