Issue with Deploying a Model using Azure Machine Learning Service using notebook

Manas 1 Reputation point
2022-08-16T12:05:24.797+00:00

---> Running in 6d157abd883c
Removing intermediate container 6d157abd883c
---> f7ff072c2749
Step 6/10 : RUN mv '/var/azureml-app/tmpiax4fwcd.py' /var/azureml-app/main.py
---> Running in 28fb7f825815
Removing intermediate container 28fb7f825815
---> a475f38ff1ed
Step 7/10 : RUN sed -i '/^\s*-\spython\s[<>=]/d' '/var/azureml-app/conda_env.yml' && cat '/var/azureml-app/conda_env.yml'
---> Running in 6f1b1bcf415a

Conda environment specification. The dependencies defined in this file will

be automatically provisioned for runs with userManagedDependencies=False.

Details about the Conda environment file format:

https://conda.io/docs/user-guide/tasks/manage-environments.html#create-env-file-manually

name: project_environment
dependencies:

The python interpreter version.

Currently Azure ML only supports 3.8 and later.

  • pip<=22.1.2
  • pip:
    • azureml-train-automl-runtime==1.44.0
    • inference-schema
    • azureml-interpret==1.44.0
    • azureml-defaults==1.44.0
    • datefinder
  • numpy>=1.18.5,<=1.23.3
  • pynacl<=1.5.0
  • pandas==1.1.5
  • scikit-learn==0.22.2.post1
  • py-xgboost==1.3.3
  • fbprophet==0.7.1
  • holidays==0.11.3.1
  • psutil<=5.9.1
    channels:
  • anaconda
  • conda-forgeRemoving intermediate container 6f1b1bcf415a
    ---> 9205898728ba
    Step 8/10 : RUN CONDA_ROOT_DIR=$(conda info --root) && if [ -n "$AZUREML_CONDA_ENVIRONMENT_PATH" ]; then conda env update -p "$AZUREML_CONDA_ENVIRONMENT_PATH" -f '/var/azureml-app/conda_env.yml'; else conda env update -n base -f '/var/azureml-app/conda_env.yml'; fi && conda clean -aqy && rm -rf /root/.cache/pip && rm -rf "$CONDA_ROOT_DIR/pkgs" && find "$CONDA_ROOT_DIR" -type d -name pycache -exec rm -rf {} +
    ---> Running in 8f7055e32ad7
    Collecting package metadata: ...working...
    done
    Solving environment: ...working...
    [91mKilled
    [0mThe command '/bin/sh -c CONDA_ROOT_DIR=$(conda info --root) && if [ -n "$AZUREML_CONDA_ENVIRONMENT_PATH" ]; then conda env update -p "$AZUREML_CONDA_ENVIRONMENT_PATH" -f '/var/azureml-app/conda_env.yml'; else conda env update -n base -f '/var/azureml-app/conda_env.yml'; fi && conda clean -aqy && rm -rf /root/.cache/pip && rm -rf "$CONDA_ROOT_DIR/pkgs" && find "$CONDA_ROOT_DIR" -type d -name pycache -exec rm -rf {} +' returned a non-zero code: 137
    2022/08/12 13:17:23 Container failed during run: acb_step_0. No retries remaining.
    failed to run step ID: acb_step_0: exit status 137
    Run ID: ch1y failed after 9m7s. Error: failed during run, err: exit status 1
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
1,710 questions
{count} votes