Replicate · Arazzo Workflow
Replicate Scale a Deployment and Run a Prediction
Version 1.0.0
Read a deployment, update its version and instance bounds, then run a prediction through it.
View Spec
View on GitHub
Artificial IntelligenceMachine LearningImage GenerationLanguage ModelsModel DeploymentArazzoWorkflows
Provider
Workflows
scale-deployment-and-predict
Update a deployment's version and scaling, then run a prediction through it.
Reads the existing deployment, patches its version and min/max instances, submits a prediction through the updated deployment, and polls until the prediction reaches a terminal status.
1
getDeployment
deployments.get
Read the current deployment release so its existing configuration is known before updating it.
2
updateDeployment
deployments.update
Patch the deployment with the new version and instance bounds. This increments the release number.
3
createDeploymentPrediction
deployments.predictions.create
Run a prediction through the updated deployment.
4
getPrediction
predictions.get
Retrieve the prediction state, repeating via the retry branch until the prediction reaches a terminal status.