AutoML model web service model deployment: Failure while loading azureml_run_type_providers

Christy Lo 0 Reputation points
2023-03-07T10:48:46.6033333+00:00

I have a Voting Ensemble model from the automated ML want to deploy an endpoint so that I can consume it in Power BI

I follow the deployment steps in https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-first-experiment-automated-ml#deploy-the-best-model

I have select

(1) Azure Container Instance (ACI) for the compute type

(2) disable authentication

(3) Disable custom deployment

(4) keep the default in the Advanced menu

as suggested in the tutorial.

My endpoint deployment state is unhealthy and I got the following message in the deployment log

Booting worker with pid: 327
Initializing logger
2023-03-07 09:23:00,424 | root | INFO | Starting up app insights client
logging socket was found. logging is available.
logging socket was found. logging is available.
2023-03-07 09:23:00,425 | root | INFO | Starting up app insight hooks
2023-03-07 09:23:01,648 | root | INFO | Found user script at /var/azureml-app/main.py
2023-03-07 09:23:01,648 | root | INFO | run() is decorated with @input_schema. Server will invoke it with the following arguments: Inputs, GlobalParameters.
2023-03-07 09:23:01,648 | root | INFO | Invoking user's init function
Importing plotly failed. Interactive plots will not work.
2023-03-07 09:23:13,132 | azureml.core | WARNING | Failure while loading azureml_run_type_providers. Failed to load entrypoint azureml.scriptrun = azureml.core.script_run:ScriptRun._from_run_dto with exception (urllib3 1.25.11 (/azureml-envs/azureml_4ceb345e4e0a419c28b56298b234f6b5/lib/python3.7/site-packages), Requirement.parse('urllib3>=1.26.0'), {'docker'}).
Failure while loading azureml_run_type_providers. Failed to load entrypoint azureml.scriptrun = azureml.core.script_run:ScriptRun._from_run_dto with exception (urllib3 1.25.11 (/azureml-envs/azureml_4ceb345e4e0a419c28b56298b234f6b5/lib/python3.7/site-packages), Requirement.parse('urllib3>=1.26.0'), {'docker'}).
2023-03-07 09:23:13,143 | azureml.core | WARNING | Failure while loading azureml_run_type_providers. Failed to load entrypoint azureml.PipelineRun = azureml.pipeline.core.run:PipelineRun._from_dto with exception (urllib3 1.25.11 (/azureml-envs/azureml_4ceb345e4e0a419c28b56298b234f6b5/lib/python3.7/site-packages), Requirement.parse('urllib3>=1.26.0'), {'docker'}).
Failure while loading azureml_run_type_providers. Failed to load entrypoint azureml.PipelineRun = azureml.pipeline.core.run:PipelineRun._from_dto with exception (urllib3 1.25.11 (/azureml-envs/azureml_4ceb345e4e0a419c28b56298b234f6b5/lib/python3.7/site-packages), Requirement.parse('urllib3>=1.26.0'), {'docker'}).
2023-03-07 09:23:13,158 | azureml.core | WARNING | Failure while loading azureml_run_type_providers. Failed to load entrypoint azureml.ReusedStepRun = azureml.pipeline.core.run:StepRun._from_reused_dto with exception (urllib3 1.25.11 (/azureml-envs/azureml_4ceb345e4e0a419c28b56298b234f6b5/lib/python3.7/site-packages), Requirement.parse('urllib3>=1.26.0'), {'docker'}).
Failure while loading azureml_run_type_providers. Failed to load entrypoint azureml.ReusedStepRun = azureml.pipeline.core.run:StepRun._from_reused_dto with exception (urllib3 1.25.11 (/azureml-envs/azureml_4ceb345e4e0a419c28b56298b234f6b5/lib/python3.7/site-packages), Requirement.parse('urllib3>=1.26.0'), {'docker'}).
2023-03-07 09:23:13,168 | azureml.core | WARNING | Failure while loading azureml_run_type_providers. Failed to load entrypoint azureml.StepRun = azureml.pipeline.core.run:StepRun._from_dto with exception (urllib3 1.25.11 (/azureml-envs/azureml_4ceb345e4e0a419c28b56298b234f6b5/lib/python3.7/site-packages), Requirement.parse('urllib3>=1.26.0'), {'docker'}).
Failure while loading azureml_run_type_providers. Failed to load entrypoint azureml.StepRun = azureml.pipeline.core.run:StepRun._from_dto with exception (urllib3 1.25.11 (/azureml-envs/azureml_4ceb345e4e0a419c28b56298b234f6b5/lib/python3.7/site-packages), Requirement.parse('urllib3>=1.26.0'), {'docker'}).
2023-03-07 09:23:13,249 | azureml.core | WARNING | Failure while loading azureml_run_type_providers. Failed to load entrypoint automl = azureml.train.automl.run:AutoMLRun._from_run_dto with exception (azure-identity 1.12.0 (/azureml-envs/azureml_4ceb345e4e0a419c28b56298b234f6b5/lib/python3.7/site-packages), Requirement.parse('azure-identity==1.7.0'), {'azureml-dataprep'}).
Failure while loading azureml_run_type_providers. Failed to load entrypoint automl = azureml.train.automl.run:AutoMLRun._from_run_dto with exception (azure-identity 1.12.0 (/azureml-envs/azureml_4ceb345e4e0a419c28b56298b234f6b5/lib/python3.7/site-packages), Requirement.parse('azure-identity==1.7.0'), {'azureml-dataprep'}).
2023-03-07 09:23:13,270 | azureml.core | WARNING | Failure while loading azureml_run_type_providers. Failed to load entrypoint hyperdrive = azureml.train.hyperdrive:HyperDriveRun._from_run_dto with exception (urllib3 1.25.11 (/azureml-envs/azureml_4ceb345e4e0a419c28b56298b234f6b5/lib/python3.7/site-packages), Requirement.parse('urllib3>=1.26.0'), {'docker'}).
Failure while loading azureml_run_type_providers. Failed to load entrypoint hyperdrive = azureml.train.hyperdrive:HyperDriveRun._from_run_dto with exception (urllib3 1.25.11 (/azureml-envs/azureml_4ceb345e4e0a419c28b56298b234f6b5/lib/python3.7/site-packages), Requirement.parse('urllib3>=1.26.0'), {'docker'}).
Worker with pid 327 was terminated due to signal 9
Booting worker with pid: 342

I have the latest docker desktop and urllib3 installed in the PC, I have chosen no-code deployment because I do not want to deal with writing the deployment script or environment script while I need the Power BI consume the model. Please let me know if there is any solution to the deployment issue or alternative to deploy a model and consume in Power BI. Thank you.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,558 questions
{count} votes