Skip to content

Commit 9ccf2eb

Browse files
author
Larry Franks
committed
misc updates for v2
1 parent 9e8a46e commit 9ccf2eb

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

articles/machine-learning/concept-compute-target.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.topic: conceptual
99
ms.author: sgilley
1010
author: sdgilley
1111
ms.date: 10/21/2021
12-
ms.custom: ignite-fall-2021, event-tier1-build-2022
12+
ms.custom: ignite-fall-2021, event-tier1-build-2022, cliv2
1313
#Customer intent: As a data scientist, I want to understand what a compute target is and why I need it.
1414
---
1515

@@ -116,8 +116,7 @@ While Azure Machine Learning supports these VM series, they might not be availab
116116
> [!NOTE]
117117
> Azure Machine Learning doesn't support all VM sizes that Azure Compute supports. To list the available VM sizes, use one of the following methods:
118118
> * [REST API](https://github.com/Azure/azure-rest-api-specs/blob/master/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-08-01/examples/ListVMSizesResult.json)
119-
> * [Python SDK](/python/api/azureml-core/azureml.core.compute.amlcompute.amlcompute#azureml-core-compute-amlcompute-amlcompute-supported-vmsizes)
120-
>
119+
> * The [Azure CLI extension 2.0 for machine learning](how-to-configure-cli.md) command, [az ml compute list-sizes](/cli/azure/ml/compute#az-ml-compute-list-sizes).
121120
122121
If using the GPU-enabled compute targets, it is important to ensure that the correct CUDA drivers are installed in the training environment. Use the following table to determine the correct CUDA version to use:
123122

articles/machine-learning/concept-data-encryption.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ For an example of creating a workspace using an existing Azure Container Registr
6363

6464
### Azure Container Instance
6565

66+
> [!IMPORTANT]
67+
> Deployments to ACI rely on the Azure Machine Learning Python SDK and CLI v1.
68+
6669
You may encrypt a deployed Azure Container Instance (ACI) resource using customer-managed keys. The customer-managed key used for ACI can be stored in the Azure Key Vault for your workspace. For information on generating a key, see [Encrypt data with a customer-managed key](../container-instances/container-instances-encrypt-data.md#generate-a-new-key).
6770

6871
[!INCLUDE [sdk v1](../../includes/machine-learning-sdk-v1.md)]
@@ -77,7 +80,7 @@ For more information on creating and using a deployment configuration, see the f
7780

7881
* [AciWebservice.deploy_configuration()](/python/api/azureml-core/azureml.core.webservice.aci.aciwebservice#deploy-configuration-cpu-cores-none--memory-gb-none--tags-none--properties-none--description-none--location-none--auth-enabled-none--ssl-enabled-none--enable-app-insights-none--ssl-cert-pem-file-none--ssl-key-pem-file-none--ssl-cname-none--dns-name-label-none--primary-key-none--secondary-key-none--collect-model-data-none--cmk-vault-base-url-none--cmk-key-name-none--cmk-key-version-none-) reference
7982

80-
* [Where and how to deploy](how-to-deploy-managed-online-endpoints.md)
83+
* [Where and how to deploy](./v1/how-to-deploy-and-where.md)
8184

8285
For more information on using a customer-managed key with ACI, see [Encrypt deployment data](../container-instances/container-instances-encrypt-data.md).
8386

articles/machine-learning/concept-environments.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ If the image for a particular environment definition doesn't already exist in th
7272
1. Downloading a base image, and executing any Docker steps
7373
2. Building a conda environment according to conda dependencies specified in the environment definition.
7474

75-
The second step is omitted if you specify [user-managed dependencies](/python/api/azureml-core/azureml.core.environment.pythonsection). In this case you're responsible for installing any Python packages, by including them in your base image, or specifying custom Docker steps within the first step. You're also responsible for specifying the correct location for the Python executable. It is also possible to use a [custom Docker base image](./how-to-deploy-custom-container.md).
75+
The second step is optional, and the environment may instead come from the Docker build context or base image. In this case you're responsible for installing any Python packages, by including them in your base image, or specifying custom Docker steps. You're also responsible for specifying the correct location for the Python executable. It is also possible to use a [custom Docker base image](./how-to-deploy-custom-container.md).
7676

7777
### Image caching and reuse
7878

7979
If you use the same environment definition for another job, Azure Machine Learning reuses the cached image from the Workspace ACR to save time.
8080

81-
To view the details of a cached image, check the Environments page in Azure Machine Learning studio or use the [`Environment.get_image_details`](/python/api/azureml-core/azureml.core.environment.environment#get-image-details-workspace-) method.
81+
To view the details of a cached image, check the Environments page in Azure Machine Learning studio or use [`MLClient.environments`](/python/api/azure-ai-ml/azure.ai.ml.mlclient#azure-ai-ml-mlclient-environments) to get and inspect the environment.
8282

8383
To determine whether to reuse a cached image or build a new one, AzureML computes a [hash value](https://en.wikipedia.org/wiki/Hash_table) from the environment definition and compares it to the hashes of existing environments. The hash is based on the environment definition's:
8484

@@ -105,10 +105,7 @@ Actual cached images in your workspace ACR will have names like `azureml/azureml
105105
>
106106
> To update the package, specify a version number to force an image rebuild. An example of this would be changing `numpy` to `numpy==1.18.1`. New dependencies--including nested ones--will be installed, and they might break a previously working scenario.
107107
>
108-
> * Using an unpinned base image like `mcr.microsoft.com/azureml/openmpi3.1.2-ubuntu18.04` in your environment definition results in rebuilding the image every time the `latest` tag is updated. This helps the image receive the latest patches and system updates.
109-
110-
> [!WARNING]
111-
> The [`Environment.build`](/python/api/azureml-core/azureml.core.environment.environment#build-workspace--image-build-compute-none-) method will rebuild the cached image, with the possible side-effect of updating unpinned packages and breaking reproducibility for all environment definitions corresponding to that cached image.
108+
> * Using an unpinned base image like `mcr.microsoft.com/azureml/openmpi3.1.2-ubuntu18.04` in your environment definition results in rebuilding the image every time the `latest` tag is updated. This helps the image receive the latest patches and system updates.zzs
112109
113110
### Image patching
114111

0 commit comments

Comments
 (0)