Getting error while scoring a ML model "ERROR: Met error <class 'Exception'>:No valid deployments to route to" on AKS via Azure DevOps Pipeline

Siddharth Joshi 211 Reputation points


I'm getting below error while scoring a ML model on AKS via Azure DevOps Pipeline.


ERROR: Met error <class 'Exception'>:No valid deployments to route to. Please check that the endpoint has at least one deployment with positive weight values or use a deployment specific header to route. []

My ML Workspace, AKS its under Private network (Vnet & Private endpoint enabled ) with firewall.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,714 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,983 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,731 Reputation points

    @siddharth joshi Thanks for the question, Currently In Azure Machine Learning API/SDK/CLI v2 the AKS is not supported and will be supported in the near future.

    Here are the samples for Batch endpoint using the Azure ML Compute cluster.

    0 comments No comments