Skip to content

Commit 197be6f

Browse files
Merge pull request #270927 from santiagxf/santiagxf-patch-1
Update how-to-deploy-mlflow-models-online-progressive.md
2 parents cfe935a + 059e020 commit 197be6f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

articles/machine-learning/how-to-deploy-mlflow-models-online-progressive.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.devlang: azurecli
1616

1717
# Progressive rollout of MLflow models to Online Endpoints
1818

19-
In this article, you'll learn how you can progressively update and deploy MLflow models to Online Endpoints without causing service disruption. You'll use blue-green deployment, also known as a safe rollout strategy, to introduce a new version of a web service to production. This strategy will allow you to roll out your new version of the web service to a small subset of users or requests before rolling it out completely.
19+
In this article, you learn how you can progressively update and deploy MLflow models to Online Endpoints without causing service disruption. You use blue-green deployment, also known as a safe rollout strategy, to introduce a new version of a web service to production. This strategy will allow you to roll out your new version of the web service to a small subset of users or requests before rolling it out completely.
2020

2121
## About this example
2222

@@ -59,7 +59,7 @@ Additionally, you will need to:
5959
pip install mlflow azureml-mlflow
6060
```
6161

62-
- If you are not running in Azure Machine Learning compute, configure the MLflow tracking URI or MLflow's registry URI to point to the workspace you are working on. See [Configure MLflow for Azure Machine Learning](how-to-use-mlflow-configure-tracking.md) for more details.
62+
- If you are not running in Azure Machine Learning compute, configure the MLflow tracking URI or MLflow's registry URI to point to the workspace you are working on. Learn how to [configure MLflow for Azure Machine Learning](how-to-use-mlflow-configure-tracking.md).
6363
6464
---
6565
@@ -109,9 +109,10 @@ The workspace is the top-level resource for Azure Machine Learning, providing a
109109
from mlflow.deployments import get_deploy_client
110110
```
111111
112-
1. Configure the deployment client
112+
1. Configure the MLflow client and the deployment client:
113113
114114
```python
115+
mlflow_client = mlflow.MLflowClient()
115116
deployment_client = get_deploy_client(mlflow.get_tracking_uri())
116117
```
117118
@@ -220,7 +221,7 @@ We are going to exploit this functionality by deploying multiple versions of the
220221
221222
# [Python (MLflow SDK)](#tab/mlflow)
222223
223-
We can configure the properties of this endpoint using a configuration file. In this case, we are configuring the authentication mode of the endpoint to be "key".
224+
We can configure the properties of this endpoint using a configuration file. We configure the authentication mode of the endpoint to be "key" in the following example:
224225
225226
```python
226227
endpoint_config = {
@@ -280,11 +281,11 @@ We are going to exploit this functionality by deploying multiple versions of the
280281

281282
# [Python (MLflow SDK)](#tab/mlflow)
282283

283-
This functionality is not available in the MLflow SDK. Go to [Azure Machine Learning studio](https://ml.azure.com), navigate to the endpoint and retrieve the secret key from there.
284+
This functionality is not available in the MLflow SDK. Go to [Azure Machine Learning studio](https://ml.azure.com), navigate to the endpoint, and retrieve the secret key from there.
284285

285286
### Create a blue deployment
286287

287-
So far, the endpoint is empty. There are no deployments on it. Let's create the first one by deploying the same model we were working on before. We will call this deployment "default" and it will represent our "blue deployment".
288+
So far, the endpoint is empty. There are no deployments on it. Let's create the first one by deploying the same model we were working on before. We will call this deployment "default", representing our "blue deployment".
288289
289290
1. Configure the deployment
290291

0 commit comments

Comments
 (0)