Skip to content

Commit dbe5017

Browse files
authored
Merge pull request #234559 from Blackmist/update-sdk
Update sdk
2 parents 71ed24e + 6a446d9 commit dbe5017

8 files changed

+48
-10
lines changed

articles/machine-learning/how-to-manage-registries.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Azure Machine Learning registries (preview) enable you to create and use those a
3232

3333
[!INCLUDE [CLI v2 preres](../../includes/machine-learning-cli-prereqs.md)]
3434

35+
[!INCLUDE [CLI v2 update](./includes/new-feature-cli.md)]
36+
3537
## Prepare to create registry
3638

3739
You need to decide the following information carefully before proceeding to create a registry:
@@ -94,7 +96,7 @@ You can create registries in Azure Machine Learning studio using the following s
9496
> If you are in a workspace, navigate to the global UI by clicking your organization or tenant name in the navigation pane to find the __Registries__ entry. You can also go directly there by navigating to [https://ml.azure.com/registries](https://ml.azure.com/registries).
9597

9698
:::image type="content" source="./media/how-to-manage-registries/studio-create-registry-button.png" lightbox="./media/how-to-manage-registries/studio-create-registry-button.png" alt-text="Screenshot of the create registry screen.":::
97-
99+
98100
1. Enter the registry name, select the subscription and resource group and then select __Next__.
99101

100102
:::image type="content" source="./media/how-to-manage-registries/studio-create-registry-basics.png" alt-text="Screenshot of the registry creation basics tab.":::
@@ -111,7 +113,7 @@ You can create registries in Azure Machine Learning studio using the following s
111113
1. From the [Azure portal](https://portal.azure.com), navigate to the Azure Machine Learning service. You can get there by searching for __Azure Machine Learning__ in the search bar at the top of the page or going to __All Services__ looking for __Azure Machine Learning__ under the __AI + machine learning__ category.
112114

113115
1. Select __Create__, and then select __Azure Machine Learning registry__. Enter the registry name, select the subscription, resource group and primary region, then select __Next__.
114-
116+
115117
1. Select the additional regions the registry must support, then select __Next__ until you arrive at the __Review + Create__ tab.
116118

117119
:::image type="content" source="./media/how-to-manage-registries/create-registry-review.png" alt-text="Screenshot of the review + create tab.":::

articles/machine-learning/how-to-share-data-across-workspaces-with-registries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Before following the steps in this article, make sure you have the following pre
102102
To install the Python SDK v2, use the following command:
103103

104104
```bash
105-
pip install --pre azure-ai-ml
105+
pip install --pre --upgrade azure-ai-ml azure-identity
106106
```
107107

108108
---

articles/machine-learning/how-to-share-models-pipelines-across-workspaces-with-registries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Before following the steps in this article, make sure you have the following pre
7070
To install the Python SDK v2, use the following command:
7171

7272
```bash
73-
pip install --pre azure-ai-ml
73+
pip install --pre --upgrade azure-ai-ml azure-identity
7474
```
7575

7676
---
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
author: blackmist
3+
ms.service: machine-learning
4+
ms.topic: include
5+
ms.date: 04/14/2023
6+
ms.author: larryfr
7+
---
8+
9+
> [!TIP]
10+
> If you are using an older version of the `ml` extension for CLI, you may need to update it to the latest version before working with this feature. To update the latest version, use the following command:
11+
>
12+
> :::code language="azurecli" source="~/azureml-examples-main/cli/misc.sh" id="az_ml_update":::
13+
>
14+
> For more information, see [Install, set up, and use the CLI (v2)](../how-to-configure-cli.md).
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
author: blackmist
3+
ms.service: machine-learning
4+
ms.topic: include
5+
ms.date: 04/14/2023
6+
ms.author: larryfr
7+
---
8+
9+
> [!TIP]
10+
> If you are using an older version of the Azure Machine Learning SDK, you may need to update it to the latest version before working with this feature. To update the latest version, use the following command:
11+
>
12+
> ```bash
13+
> pip install --upgrade azure-ai-ml azure-identity
14+
> ```
15+
>
16+
> For more information, see [Install the Python SDK v2 for Azure Machine Learning](https://aka.ms/sdk-v2-install).

includes/machine-learning-cli-prereqs.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ ms.author: larryfr
88

99
Before following the steps in this article, make sure you have the following prerequisites:
1010

11-
* An Azure subscription. If you don't have an Azure subscription, create a free account before you begin. Try the [free or paid version of Azure Machine Learning](https://azure.microsoft.com/free/).
12-
1311
* The [Azure CLI](/cli/azure/) and the `ml` extension to the Azure CLI. For more information, see [Install, set up, and use the CLI (v2)](../articles/machine-learning/how-to-configure-cli.md).
1412

1513
> [!IMPORTANT]

includes/machine-learning-cli-sdk-v2-prereqs.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ ms.author: larryfr
88

99
Before following the steps in this article, make sure you have the following prerequisites:
1010

11-
* An Azure subscription. If you don't have an Azure subscription, create a free account before you begin. Try the [free or paid version of Azure Machine Learning](https://azure.microsoft.com/free/).
12-
1311
* An Azure Machine Learning workspace. If you don't have one, use the steps in the [Quickstart: Create workspace resources](../articles/machine-learning/quickstart-create-resources.md) article to create one.
1412

1513
* The Azure CLI and the `ml` extension __or__ the Azure Machine Learning Python SDK v2:
@@ -25,4 +23,10 @@ Before following the steps in this article, make sure you have the following pre
2523
pip install azure-ai-ml azure-identity
2624
```
2725

26+
To update an existing installation of the SDK to the latest version, use the following command:
27+
28+
```bash
29+
pip install --upgrade azure-ai-ml azure-identity
30+
```
31+
2832
For more information, see [Install the Python SDK v2 for Azure Machine Learning](https://aka.ms/sdk-v2-install).

includes/machine-learning-sdk-v2-prereqs.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ ms.author: larryfr
88

99
Before following the steps in this article, make sure you have the following prerequisites:
1010

11-
* An Azure subscription. If you don't have an Azure subscription, create a free account before you begin. Try the [free or paid version of Azure Machine Learning](https://azure.microsoft.com/free/).
12-
1311
* An Azure Machine Learning workspace. If you don't have one, use the steps in the [Quickstart: Create workspace resources](../articles/machine-learning/quickstart-create-resources.md) article to create one.
1412

1513
* To install the Python SDK v2, use the following command:
@@ -18,4 +16,10 @@ Before following the steps in this article, make sure you have the following pre
1816
pip install azure-ai-ml azure-identity
1917
```
2018

19+
To update an existing installation of the SDK to the latest version, use the following command:
20+
21+
```bash
22+
pip install --upgrade azure-ai-ml azure-identity
23+
```
24+
2125
For more information, see [Install the Python SDK v2 for Azure Machine Learning](/python/api/overview/azure/ai-ml-readme).

0 commit comments

Comments
 (0)