You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go to your repository and select the `config-infra-prod.yml` file in the root. Change the following parameters to your liking, and then **commit** the changes.
166
166
167
-
This config file uses the namespace and postfix values the names of the artifacts to ensure uniqueness. Update the following section in the config to your liking. Default values and settings in the files are show below:
167
+
This config file uses the namespace and postfix values the names of the artifacts to ensure uniqueness. Update the following section in the config to your liking. Default values and settings in the files are show below:
168
168
169
-
```bash
170
-
namespace: mlopslite #Note: A namespace with many characters will cause storage account creation to fail due to storage account names having a limit of 24 characters.
171
-
postfix: ao04
172
-
location: westus
169
+
```bash
170
+
namespace: mlopslite #Note: A namespace with many characters will cause storage account creation to fail due to storage account names having a limit of 24 characters.
171
+
postfix: ao04
172
+
location: westus
173
173
174
-
environment: prod
175
-
enable_aml_computecluster: true
176
-
enable_aml_secure_workspace: true
177
-
enable_monitoring: false
178
-
```
179
-
> [!NOTE]
180
-
> If you are running a Deep Learning workload such as CV or NLP, ensure your GPU compute is available in your deployment zone.
181
-
> The enable_monitoring flag in these files defaults to False. Enabling this flag will add additional elements to the deployment to support Azure ML monitoring based on https://github.com/microsoft/AzureML-Observability. This will include an ADX cluster and increase the deployment time and cost of the MLOps solution.
174
+
environment: prod
175
+
enable_aml_computecluster: true
176
+
enable_aml_secure_workspace: true
177
+
enable_monitoring: false
178
+
```
179
+
> [!NOTE]
180
+
> If you are running a Deep Learning workload such as CV or NLP, ensure your GPU compute is available in your deployment zone.
181
+
> The enable_monitoring flag in these files defaults to False. Enabling this flag will add additional elements to the deployment to support Azure ML monitoring based on https://github.com/microsoft/AzureML-Observability. This will include an ADX cluster and increase the deployment time and cost of the MLOps solution.
182
182
183
183
### Deploy Machine Learning infrastructure
184
184
185
185
1. In your GitHub project repository (ex: taxi-fare-regression), select **Actions**
186
186
187
187
:::image type="content" source="./media/how-to-setup-mlops-azureml/github-actions.png" alt-text="Screenshot of GitHub actions.":::
188
188
189
-
This displays the pre-defined GitHub workflows associated with your project. For a classical machine learning project, the available workflows look similar to this:
189
+
This displays the pre-defined GitHub workflows associated with your project. For a classical machine learning project, the available workflows look similar to this:
190
190
191
191
:::image type="content" source="./media/how-to-setup-mlops-azureml/github-workflows.png" alt-text="Screenshot of GitHub workflows.":::
192
192
@@ -253,12 +253,12 @@ With the trained model registered in the Machine learning workspace, you are rea
253
253
254
254
This scenario includes prebuilt workflows fortwo approaches to deploying a trained model, batch scoring or a deploying a model to an endpoint for real-time scoring. You may run either or both of these workflows to test the performance of the modelin your Azure ML workspace.
255
255
256
-
In your GitHub project repository (ex: taxi-fare-regression), select**Actions**
257
-
258
-
:::image type="content" source="./media/how-to-setup-mlops-azureml/github-actions.png" alt-text="Screenshot of GitHub actions page.":::
259
-
260
256
### Online Endpoint
261
257
258
+
1. In your GitHub project repository (ex: taxi-fare-regression), select**Actions**
259
+
260
+
:::image type="content" source="./media/how-to-setup-mlops-azureml/github-actions.png" alt-text="Screenshot of GitHub actions page.":::
261
+
262
262
1. Select the **deploy-online-endpoint-pipeline** from the workflows listed on the left and click **Run workflow** to execute the online endpoint deployment pipeline workflow. The steps in this pipeline will create an online endpoint in your Machine Learning workspace, create a deployment of your model to this endpoint, then allocate traffic to the endpoint.
263
263
264
264
:::image type="content" source="./media/how-to-setup-mlops-azureml/github-online-endpoint.png" alt-text="Screenshot of GitHub action for online endpoint.":::
@@ -272,14 +272,18 @@ In your GitHub project repository (ex: taxi-fare-regression), select **Actions**
1. In your GitHub project repository (ex: taxi-fare-regression), select**Actions**
277
+
278
+
:::image type="content" source="./media/how-to-setup-mlops-azureml/github-actions.png" alt-text="Screenshot of GitHub actions page.":::
279
+
276
280
1. Select the **deploy-batch-endpoint-pipeline** from the workflows and click **Run workflow** to execute the batch endpoint deployment pipeline workflow. The steps in this pipeline will create a new AmlCompute cluster on which to execute batch scoring, create the batch endpoint in your Machine Learning workspace, then create a deployment of your model to this endpoint.
277
281
278
-
:::image type="content" source="./media/how-to-setup-mlops-azureml/github-batch-endpoint.png" alt-text="Screenshot of GitHub action for batch endpoint":::
282
+
:::image type="content" source="./media/how-to-setup-mlops-azureml/github-batch-endpoint.png" alt-text="Screenshot of GitHub action for batch endpoint":::
279
283
280
284
2. Once completed, you will find the batch endpoint deployed in the Azure ML workspace and available for testing.
281
285
282
-
:::image type="content" source="./media/how-to-setup-mlops-azureml/azure-ml-taxi-batch-endpoint.png" alt-text="Screenshot of Machine Learning taxi batch endpoint":::
286
+
:::image type="content" source="./media/how-to-setup-mlops-azureml/azure-ml-taxi-batch-endpoint.png" alt-text="Screenshot of Machine Learning taxi batch endpoint":::
0 commit comments