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

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