Skip to content

Commit 506d557

Browse files
authored
Fix training/scoring conda deps (#262)
Azure deprecated their top level meta-package which led to a deprecation error. We don't actually need this top level package. I took the opportunity to clean up the conda deps using the dependency tree. - Trimmed the package list - Explicitly list pip to avoid conda warning - Use azureml-defaults for WebApp dependencies - Lock azureml-sdk and azureml-defaults versions - Add comments for dependencies
1 parent 0fd052e commit 506d557

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

diabetes_regression/conda_dependencies.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,22 @@ name: diabetes_regression_training_env
1818
dependencies:
1919
# The python interpreter version.
2020
# Currently Azure ML Workbench only supports 3.5.2 and later.
21-
- python=3.7.5
22-
# Required by azureml-defaults, installed separately through Conda to
23-
# get a prebuilt version and not require build tools for the install.
24-
- psutil=5.6 #latest
21+
- python=3.7.*
22+
- pip
2523

2624
- pip:
27-
# Required packages for AzureML execution, history, and data preparation.
28-
- azureml-model-management-sdk==1.0.1b6.post1
29-
- azureml-sdk==1.0.74
30-
- scipy==1.3.1
31-
- scikit-learn==0.22
32-
- pandas==0.25.3
33-
- numpy==1.17.3
34-
- joblib==0.14.0
35-
- gunicorn==19.9.0
36-
- flask==1.1.1
25+
# Base AzureML SDK
26+
- azureml-sdk==1.2.*
27+
28+
# Minimum required for the scoring environment. Must match AzureML SDK version.
29+
# https://docs.microsoft.com/en-us/azure/machine-learning/concept-environments
30+
- azureml-defaults==1.2.*
31+
32+
# Training deps
33+
- scikit-learn
34+
35+
# Scoring deps
3736
- inference-schema[numpy-support]
38-
- azure
37+
38+
# MLOps with R
3939
- azure-storage-blob
40-
- azureml-dataprep

0 commit comments

Comments
 (0)