RAI Dashboard error - cannot import name 'logsumexp' from 'sklearn.utils.fixes'

typod 0 Reputation points
2023-08-27T12:58:12.6766667+00:00

Hi,

When trying to create a responsible AI dashboard via a pipeline job I receive the following error:

Execution failed. User process 'python' exited with status code 1. Please check log file 'user_logs/std_log.txt' for error details. Error: Traceback (most recent call last):
File "create_rai_insights.py", line 225, in
main(args)
File "/mnt/azureml/cr/j/fdfafc7ec99147d3b75510c41dc3f28d/exe/wd/_telemetry/_loggerfactory.py", line 143, in wrapper
return func(*args, **kwargs)
File "create_rai_insights.py", line 174, in main
model_estimator = load_mlflow_model(
File "/mnt/azureml/cr/j/fdfafc7ec99147d3b75510c41dc3f28d/exe/wd/rai_component_utilities.py", line 129, in load_mlflow_model
raise ValueError(
ValueError: Unable to load mlflow model from /mnt/azureml/cr/j/fdfafc7ec99147d3b75510c41dc3f28d/cap/data-capability/wd/INPUT_model_input in current environment due to error:
cannot import name 'logsumexp' from 'sklearn.utils.fixes' (/azureml-envs/responsibleai/lib/python3.8/site-packages/sklearn/utils/fixes.py)

This is using the prebuild RAI env. Any suggestions?

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

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.