Real-time enpoint and AutoML models

Leo, Sabato 6 Reputation points
2021-08-15T13:20:15.787+00:00

Hi Azure community,

I am experiencing a probem with Real-time endopoint when trying to deploy models trained using AutoML.

Since deploying AutoML models directly from the portal has some problems due to recent changes in azureml-defaults==1.33.0 (see here: https://learn.microsoft.com/en-us/answers/questions/511349/auto-model-deployment-in-container-instance-no-mod.html), I found a work around and managed to deploy AutoML models to real-time-endpoint using the script in attachment (123179-automl-endpoint-deploy-workaround.txt).

All it does is to create a conda environment from a yml file (123353-conda-env-v-1-0-0.txt) to solve the issues introduced with azureml-defaults==1.33.0 and use the same entry scripts that are available after AutoML training.
This works in most cases but for ExtremeRandomTrees models. In these cases I get the following error message:

Failure while loading azureml_run_type_providers. Failed to load entrypoint automl = azureml.train.automl.run:AutoMLRun._from_run_dto with exception cannot import name 'RunType'.

Do you have any idea what the is problem here? Is there any particular package I should add to the conda enviroment?
I cannot find anything similar on the web, so I decided to ask here.

Also, these real-time-endopoints got stuck in transitioning state and I cannot simply remove them from the Portal. How could I remove them instead?

Any idea and help would be very much appreciated thanks.

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
676 questions
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,729 questions
{count} votes