@@ -16,6 +16,7 @@ variables:
16
16
# The path to the model scoring script relative to SOURCES_DIR_TRAIN
17
17
- name : SCORE_SCRIPT
18
18
value : scoring/score.py
19
+
19
20
20
21
# Azure ML Variables
21
22
- name : EXPERIMENT_NAME
@@ -35,6 +36,8 @@ variables:
35
36
# AML Compute Cluster Config
36
37
- name : AML_ENV_NAME
37
38
value : diabetes_regression_training_env
39
+ - name : AML_ENV_TRAIN_CONDA_DEP_FILE
40
+ value : " conda_dependencies.yml"
38
41
- name : AML_COMPUTE_CLUSTER_CPU_SKU
39
42
value : STANDARD_DS2_V2
40
43
- name : AML_COMPUTE_CLUSTER_NAME
@@ -69,3 +72,62 @@ variables:
69
72
# Flag to allow rebuilding the AML Environment after it was built for the first time. This enables dependency updates from conda_dependencies.yaml.
70
73
# - name: AML_REBUILD_ENVIRONMENT
71
74
# value: "false"
75
+
76
+ # Variables below are used for controlling various aspects of batch scoring
77
+ - name : USE_GPU_FOR_SCORING
78
+ value : False
79
+ # Conda dependencies for the batch scoring step
80
+ - name : AML_ENV_SCORE_CONDA_DEP_FILE
81
+ value : " conda_dependencies_scoring.yml"
82
+ # Conda dependencies for the score copying step
83
+ - name : AML_ENV_SCORECOPY_CONDA_DEP_FILE
84
+ value : " conda_dependencies_scorecopy.yml"
85
+ # AML Compute Cluster Config for parallel batch scoring
86
+ - name : AML_ENV_NAME_SCORING
87
+ value : diabetes_regression_scoring_env
88
+ - name : AML_ENV_NAME_SCORE_COPY
89
+ value : diabetes_regression_score_copy_env
90
+ - name : AML_COMPUTE_CLUSTER_CPU_SKU_SCORING
91
+ value : STANDARD_DS2_V2
92
+ - name : AML_COMPUTE_CLUSTER_NAME_SCORING
93
+ value : score-cluster
94
+ - name : AML_CLUSTER_MIN_NODES_SCORING
95
+ value : 0
96
+ - name : AML_CLUSTER_MAX_NODES_SCORING
97
+ value : 4
98
+ - name : AML_CLUSTER_PRIORITY_SCORING
99
+ value : lowpriority
100
+ # The path to the batch scoring script relative to SOURCES_DIR_TRAIN
101
+ - name : BATCHSCORE_SCRIPT_PATH
102
+ value : scoring/parallel_batchscore.py
103
+ - name : BATCHSCORE_COPY_SCRIPT_PATH
104
+ value : scoring/parallel_batchscore_copyoutput.py
105
+ # Flag to allow rebuilding the AML Environment after it was built for the first time.
106
+ # This enables dependency updates from the conda dependencies yaml for scoring activities.
107
+ - name : AML_REBUILD_ENVIRONMENT_SCORING
108
+ value : " true"
109
+
110
+ # Datastore config for scoring
111
+ # The storage account name and key are supplied as variables in a variable group
112
+ # in the Azure Pipelines library for this project. Please refer to repo docs for
113
+ # more details
114
+
115
+ # Blob container where the input data for scoring can be found
116
+ - name : SCORING_DATASTORE_INPUT_CONTAINER
117
+ value : " input"
118
+ # Blobname for the input data - include any applicable path in the string
119
+ - name : SCORING_DATASTORE_INPUT_FILENAME
120
+ value : " diabetes_scoring_input.csv"
121
+ # Blob container where the output data for scoring can be found
122
+ - name : SCORING_DATASTORE_OUTPUT_CONTAINER
123
+ value : " output"
124
+ # Blobname for the output data - include any applicable path in the string
125
+ - name : SCORING_DATASTORE_OUTPUT_FILENAME
126
+ value : " diabetes_scoring_output.csv"
127
+ # Dataset name for input data for scoring
128
+ - name : SCORING_DATASET_NAME
129
+ value : " diabetes_scoring_ds"
130
+ # Scoring pipeline name
131
+ - name : SCORING_PIPELINE_NAME
132
+ value : " diabetes-scoring-pipeline"
133
+
0 commit comments