Azure Machine Learning Services - AutoMl - Error running experiment.submit: "/anaconda/envs/azureml_py36/lib/libxgboost.so: undefined symbol: XGDMatrixSetDenseInfo"

cristina-hawkia 21 Reputation points
2021-03-19T16:18:51.78+00:00

Hello,

I created a notebook in the workspace and when I sent the experiment for training I received error message undefined symbol: XGDMatrixSetDenseInfo for algorithm Xgboost. Do you know how to fix the problem?

Azure ML Version: 1.22.0
Compute Instance: Standard_DS3_v2

  • Code: import logging
    from azureml.train.automl import AutoMLConfig
    from azureml.core.experiment import Experiment automl_settings = {
    "iteration_timeout_minutes": 10,
    "experiment_timeout_hours": 0.3,
    "enable_early_stopping": True,
    "primary_metric": 'normalized_root_mean_squared_error',
    "featurization": 'auto',
    "verbosity": logging.INFO,
    "n_cross_validations": 5
    } automl_config = AutoMLConfig(task='regression',
    debug_log='automated_ml_errors.log',
    training_data=x_train,
    label_column_name="production_time",
    **automl_settings) experiment = Experiment(ws, "train-model")
    local_run = experiment.submit(automl_config, show_output=True)
  • Full Error Message: ERROR: FitException:
    Message: /anaconda/envs/azureml_py36/lib/libxgboost.so: undefined symbol: XGDMatrixSetDenseInfo
    InnerException: AttributeError: /anaconda/envs/azureml_py36/lib/libxgboost.so: undefined symbol: XGDMatrixSetDenseInfo
    ErrorResponse
    {
    "error": {
    "code": "SystemError",
    "message": "Encountered an internal AutoML error. Error Message/Code: FitException. Additional Info: FitException:\n\tMessage: /anaconda/envs/azureml_py36/lib/libxgboost.so: undefined symbol: XGDMatrixSetDenseInfo\n\tInnerException: None\n\tErrorResponse \n{\n \"error\": {\n \"message\": \"/anaconda/envs/azureml_py36/lib/libxgboost.so: undefined symbol: XGDMatrixSetDenseInfo\",\n \"target\": \"Xgboost\",\n \"reference_code\": \"Xgboost\"\n }\n}",
    "details_uri": "https://learn.microsoft.com/azure/machine-learning/resource-known-issues#automated-machine-learning",
    "target": "Xgboost",
    "inner_error": {
    "code": "ClientError",
    "inner_error": {
    "code": "AutoMLInternal"
    }
    },
    "reference_code": "Xgboost"
    }
    }

Best regards,
Cristina

79658-packages.txt

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

Accepted answer
  1. GiftA-MSFT 11,161 Reputation points
    2021-03-19T23:29:59.997+00:00

    Hi, can you try uninstalling and reinstalling Xgboost (try versions <= 0.90 if you continue to get errors).


0 additional answers

Sort by: Most helpful