Skip to content

Commit 7ddb199

Browse files
committed
Update code and text
1 parent b32a9c1 commit 7ddb199

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

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

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ version = registered_model.version
332332
}
333333
```
334334

335-
Write this configuration information to a `JSON` file:
335+
Use the following code to write this configuration information to a `JSON` file:
336336

337337
```python
338338
endpoint_config_path = "endpoint_config.json"
@@ -420,7 +420,7 @@ version = registered_model.version
420420
> [!NOTE]
421421
> For details about the full specification of this configuration, see [Managed online deployment schema (v2)](reference-yaml-deployment-managed-online.md).
422422

423-
Write the configuration to a file:
423+
Use the following code to write the configuration to a file:
424424

425425
```python
426426
deployment_config_path = "deployment_config.json"
@@ -468,20 +468,20 @@ version = registered_model.version
468468

469469
# [Studio](#tab/studio)
470470

471-
1. Select __Endpoints__. Go to the **Real-time endpoints** tab, and then select **Create**.
471+
1. Select __Endpoints__. Go to the __Real-time endpoints__ tab, and then select __Create__.
472472

473473
:::image type="content" source="media/how-to-deploy-mlflow-models-online-endpoints/create-from-endpoints.png" lightbox="media/how-to-deploy-mlflow-models-online-endpoints/create-from-endpoints.png" alt-text="Screenshot showing create option on the Endpoints UI page.":::
474474

475-
1. Select the MLflow model that you registered previously, and then select **Select**.
475+
1. Select the MLflow model that you registered previously, and then select __Select__.
476476

477477
> [!NOTE]
478478
> The configuration page includes a note to inform you that the scoring script and environment are automatically generated for your selected MLflow model.
479479

480-
1. Under **Endpoint**, select **New** to deploy to a new endpoint.
480+
1. Under __Endpoint__, select __New__ to deploy to a new endpoint.
481481

482-
1. Under **Endpoint name**, enter a name for the endpoint or keep the default name.
482+
1. Under __Endpoint name__, enter a name for the endpoint or keep the default name.
483483

484-
1. Under **Deployment name**, enter a name for the deployment or keep the default name.
484+
1. Under __Deployment name__, enter a name for the deployment or keep the default name.
485485

486486
1. Select __Deploy__ to deploy the model to the endpoint.
487487

@@ -645,7 +645,7 @@ The response should be similar to the following text:
645645
---
646646

647647
> [!IMPORTANT]
648-
> For MLflow no-code-deployment, **[testing via local endpoints](how-to-deploy-online-endpoints.md#deploy-and-debug-locally-by-using-a-local-endpoint)** is currently not supported.
648+
> For MLflow no-code-deployment, __[testing via local endpoints](how-to-deploy-online-endpoints.md#deploy-and-debug-locally-by-using-a-local-endpoint)__ is currently not supported.
649649

650650

651651
## Customize MLflow model deployments
@@ -712,12 +712,12 @@ To deploy an MLflow model with a custom scoring script:
712712
# [Studio](#tab/studio)
713713

714714
1. On the side menu, select __Environments__.
715-
1. Select __Custom environments__ > __Create__.
716-
1. Enter the name of the environment, in this case `sklearn-mlflow-online-py37`.
717-
1. For __Select environment source__, select __Use existing docker image with optional conda file__.
718-
1. For __Container registry image path__, enter `mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu22.04`.
715+
1. Go to the __Custom environments__ tab, and then select __Create__.
716+
1. Under __Name__, enter the name of the environment. In this case, enter **sklearn-mlflow-online-py37**.
717+
1. Under __Select environment source__, select __Use existing docker image with optional conda file__.
718+
1. Under __Container registry image path__, enter **mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu22.04**.
719719
1. Select __Next__ to go to the __Customize__ section.
720-
1. Copy the content of the `sklearn-diabetes/environment/conda.yml` file and paste it in the text box.
720+
1. Copy the contents of the sklearn-diabetes/environment/conda.yaml file and paste it in the text box.
721721
1. Select __Next__ to go to the __Tags__ page, and then select __Next__ again.
722722
1. On the __Review__ page, select __Create__. The environment is ready for use.
723723
---
@@ -775,23 +775,24 @@ To deploy an MLflow model with a custom scoring script:
775775

776776
# [Studio](#tab/studio)
777777

778-
1. On the __Endpoints__ page, Select **+Create**.
779-
1. Select the MLflow model that you registered previously.
778+
1. On the __Endpoints__ page, Select __Create__.
779+
1. Select the MLflow model that you registered previously, and then select __Select__.
780780
1. In the endpoint creation wizard, select __More options__ to open up advanced options.
781781

782782
:::image type="content" source="media/how-to-deploy-mlflow-models-online-endpoints/select-advanced-deployment-options.png" lightbox="media/how-to-deploy-mlflow-models-online-endpoints/select-advanced-deployment-options.png" alt-text="Screenshot showing how to select advanced deployment options when creating an endpoint.":::
783783

784-
1. Provide a name and authentication type for the endpoint, and then select __Next__ to see that the model you selected is being used for your deployment.
785-
1. Select __Next__ to continue to the ___Deployment__ page.
786-
1. Select __Next__ to go to the __Code + environment__ page.
787-
1. Select the slider next to __Customize environment and scoring script__.
784+
1. Enter a name and authentication type for the endpoint, and then select __Next__.
785+
1. Check to see that the model you selected is being used for your deployment, and then select __Next__ to continue to the ___Deployment__ page.
786+
1. Select __Next__.
787+
1. On the __Code and environment for inferencing__ page, next to __Customize environment and scoring script__, select the slider. When you select a model that's registered in MLflow format, you don't need to specify a scoring script or an environment. But in this case, you want to specify both.
788788

789789
:::image type="content" source="media/how-to-deploy-mlflow-models-online-endpoints/configure-scoring-script-mlflow.png" lightbox="media/how-to-deploy-mlflow-models-online-endpoints/configure-scoring-script-mlflow.png" alt-text="Screenshot showing how to indicate an environment and scoring script for MLflow models.":::
790790

791-
1. Browse to select the scoring script you created previously.
792-
1. For the environment type, select __Custom environments__.
791+
1. Under __Select a scoring script for inferencing__, select __Browse__ to select the scoring script you created previously.
792+
1. Under __Select environment type__, select __Custom environments__.
793793
1. Select the custom environment you created previously, and then select __Next__.
794-
1. Complete the wizard to deploy the model to the endpoint.
794+
1. On the __Compute__ and __Live Traffic__ pages, select __Next__.
795+
1. On the __Review__ page, select __Create__ to deploy the model to the endpoint.
795796

796797
---
797798

@@ -911,8 +912,8 @@ deployment_client.delete_endpoint(endpoint_name)
911912

912913
# [Studio](#tab/studio)
913914

914-
1. In the studio, go to the __Endpoints__ tab.
915-
1. Select the __Real-time endpoints__ tab.
915+
1. In the studio, select __Endpoints__.
916+
1. Go to the __Real-time endpoints__ tab.
916917
1. Select the endpoint that you want to delete.
917918
1. Select __Delete__. The endpoint and all its deployments are deleted.
918919

0 commit comments

Comments
 (0)