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