Azure Machine Learning Studio creates v1 deployments that can't be tested in Studio

Guy Hummel 0 Reputation points
2024-12-30T15:33:39.1266667+00:00

If you use AutoML in Azure Machine Learning Studio to train a model and then deploy that model to an Azure Container Instance, you can't test the deployment using Studio. When you click on the Test tab, it comes back with "This deployment is based on v1 API and doesn't support testing on the Studio. To get the key/token and invoke, please use CLI/SDK/REST v1 API. Consider migrating to v2 managed online endpoint."

It looks like it creates a v1 deployment but doesn't let you test it because it's expecting a v2 deployment. Why does AzureML Studio create deployments that are outdated and incompatible with its testing feature? I noticed that the tutorial at https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-automated-ml-forecast?view=azureml-api-2 no longer has a testing section at the end, so this must be a known issue.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,060 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Azar 25,145 Reputation points MVP
    2024-12-30T17:26:49.94+00:00

    Hi there Guy Hummel

    Thanks for using QandA platform

    this might be becoz Azure ML Studio still supports v1 deployments for legacy workflows, but its testing features have evolved to prioritize v2 managed online endpoints. v1 deployments are functional and can be tested using CLI, SDK, or REST APIs, they are incompatible with the in-Studio testing feature, which focuses on v2 API. Try, either migrating your deployment to a v2 endpoint for full Studio compatibility or continue testing v1 deployments externally using CLI or SDK.

    If this helps kindly accept the answer thanks much.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.