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
Copy file name to clipboardExpand all lines: documentation/deployguides/deployguide_ado.md
+45-1Lines changed: 45 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -463,14 +463,58 @@ The solution accelerator includes code and data for a sample end-to-end machine
463
463
In this section you will execute an Azure DevOps pipeline that will create and run an Azure Machine Learning pipeline. Together, they perform the following steps:
464
464
465
465
* Connect to the Azure Machine Learning workspace created by the infrastructure deployment
466
-
* Create a compute cluster for training in the workspace
466
+
* Create a compute cluster for training in the workspace (refer to section below to create compute instances with or without managed identity)
467
467
* Register the training dataset in the workspace
468
468
* Prepare data for training
469
469
* Registers a custom python environment with the packages required for this model
470
470
* Train a linear regression model to predict taxi fares
471
471
* Evaluate the model on the test dataset against the performance of any previously-registered models
472
472
* If the new model performs better, register the model as an MLflow model in the workspace for later deployment
473
473
474
+
<details>
475
+
<summary><strong>Create Compute Instances with SystemAssigned/UserAssigned/No Managed Identity</strong></summary>
476
+
<br>
477
+
478
+
In order to create a compute instance with or without managed identity, you can leverage the `/mlops-templates/templates/python-sdk-v2/create-compute-instance.yml` located within the **mlops-templates** repository.
479
+
480
+
If you want to create a **compute instance without a managed identity** reference, you can add the following snippet with your own parameters to the `/mlops/devops-pipelines/deploy-model-training-pipeline.yml` pipeline definition:
In order to **create a system-assigned managed identity** and assign it your compute instance during creation, the above snippet can be adjusted as follows:
0 commit comments