question

CristinaSantanaSouza-0581 avatar image
0 Votes"
CristinaSantanaSouza-0581 asked CristinaSantanaSouza-0581 commented

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

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://docs.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
packages.txt (10.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

GiftA-MSFT avatar image
0 Votes"
GiftA-MSFT answered CristinaSantanaSouza-0581 commented

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

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@GiftA-MSFT , ok, thanks. As I am using an Azure machine I thought that it was not necessary to change the default packages.

0 Votes 0 ·
GiftA-MSFT avatar image GiftA-MSFT CristinaSantanaSouza-0581 ·

You can certainly customize the resources on the vm. Did you try the above steps and did it help?

0 Votes 0 ·

@GiftA-MSFT , It helped, thank you.

0 Votes 0 ·