Skip to main content
DeploymentParams defines the deployment configuration for a model, including the artifact type, deployment environment, resource allocation, and container specifications. These parameters control how the model is packaged, deployed, and scaled within the Fiddler infrastructure. This class is used when deploying models to specify the runtime environment, resource requirements, and deployment strategy that best fits your model’s needs and performance requirements.

Examples

Creating basic deployment parameters:
Creating deployment with custom resources:
Creating deployment with custom container:

Attributes

str
Model artifact type; an ArtifactType value (default PYTHON_PACKAGE).
DeploymentType
Deployment type; a DeploymentType value (default BASE_CONTAINER).
str | None
URI of the container image used to run the model (optional).
int | None
Number of replicas to run for the model deployment (optional).
int | None
CPU allocation per replica, in millicpus (e.g. 250 = 0.25 vCPU).
int | None
Memory allocation per replica, in mebibytes (MiB).