Skip to content

Commit 11e9789

Browse files
authored
Merge pull request #6179 from s-polly/stp-pytorch
Freshness pass, How to create ACPT
2 parents 699b77b + 8c0c936 commit 11e9789

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

articles/machine-learning/how-to-azure-container-for-pytorch-environment.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: How to create Azure Container for PyTorch Custom Curated environment
2+
title: How to create Azure Container for PyTorch custom curated environments
33
titleSuffix: Azure Machine Learning
4-
description: Create custom curated Azure Container for PyTorch environments in Azure Machine Learning studio to run your machine learning models and reuse it in different scenarios.
4+
description: Create custom curated Azure Container for PyTorch environments in Azure Machine Learning studio to run your machine learning models and reuse them in different scenarios.
55
services: machine-learning
66
author: s-polly
77
ms.author: scottpolly
@@ -10,12 +10,13 @@ ms.service: azure-machine-learning
1010
ms.subservice: core
1111
ms.custom: build-2023, build-2023-dataai
1212
ms.topic: how-to
13-
ms.date: 03/04/2024
13+
ms.date: 07/23/2025
14+
1415
---
1516

1617
# Create custom curated Azure Container for PyTorch (ACPT) environments in Azure Machine Learning studio
1718

18-
In this article you'll learn to create a custom environment in Azure Machine learning. Custom Environments allow you to extend curated environments and add Hugging Face (HF) transformers, datasets or install any other external packages with Azure Machine Learning. Azure machine Learning offers to create a new environment with docker context containing ACPT curated environment as a base image and additional packages on top of it.
19+
In this article, you learn how to create a custom environment in Azure Machine Learning. Custom environments allow you to extend curated environments and add Hugging Face (HF) transformers, datasets, or install other external packages with Azure Machine Learning. Azure Machine Learning enables you to create a new environment with Docker context that contains an ACPT curated environment as a base image with additional packages on top of it.
1920

2021
## Prerequisites
2122

@@ -32,14 +33,14 @@ In the [Azure Machine Learning studio](https://ml.azure.com/registries/environme
3233

3334
## Navigate to curated environments
3435

35-
Navigate to curated environments and search "acpt" to list all the available ACPT curated environments. Selecting the environment shows details of the environment.
36+
Navigate to curated environments and search for "acpt" to list all available ACPT curated environments. Select an environment to view its details.
3637

3738
:::image type="content" source="./media/how-to-azure-container-for-pytorch-environment/navigate-to-curated-environments.png" alt-text="Screenshot of navigating to curated environments." lightbox= "./media/how-to-azure-container-for-pytorch-environment/navigate-to-curated-environments.png":::
3839

3940

4041
## Get details of the curated environments
4142

42-
To create a custom environment, you need the base docker image repository, which can be found in the **Description** section as **Azure Container Registry**. Copy the **Azure Container Registry** name, which is used later when you create a new custom environment.
43+
To create a custom environment, you need the base Docker image repository, which you can find in the **Description** section as **Azure Container Registry**. Copy the **Azure Container Registry** name to use later when you create a new custom environment.
4344

4445
:::image type="content" source="./media/how-to-azure-container-for-pytorch-environment/get-details-curated-environments.png" alt-text="Screenshot of getting container registry name." lightbox= "./media/how-to-azure-container-for-pytorch-environment/get-details-curated-environments.png":::
4546

@@ -51,22 +52,22 @@ Go back and select the **Custom Environments** tab.
5152

5253
## Create custom environments
5354

54-
Select **+ Create**. In the "Create Environment" window, name the environment, description, and select **Create a new docker context** in the Select environments type section.
55+
Select **+ Create**. In the "Create Environment" window, provide a name and description for the environment, and select **Create a new docker context** in the "Select environment type" section.
5556

5657
:::image type="content" source="./media/how-to-azure-container-for-pytorch-environment/create-environment-window.png" alt-text="Screenshot of creating custom environment." lightbox= "./media/how-to-azure-container-for-pytorch-environment/create-environment-window.png":::
5758

58-
Paste the docker image name that you copied in previously. Configure your environment by declaring the base image and add any env variables you want to use and the packages that you want to include.
59+
Paste the Docker image name that you copied previously. Configure your environment by declaring the base image and adding any environment variables you want to use and the packages that you want to include.
5960

6061
:::image type="content" source="./media/how-to-azure-container-for-pytorch-environment/configure-environment.png" alt-text="Screenshot of configuring the environment with name, packages with docker context." lightbox= "./media/how-to-azure-container-for-pytorch-environment/configure-environment.png":::
6162

62-
Review your environment settings, add any tags if needed and select on the **Create** button to create your custom environment.
63+
Review your environment settings, add any tags if needed, and select the **Create** button to create your custom environment.
6364

64-
That's it! You've now created a custom environment in Azure Machine Learning studio and can use it to run your machine learning models.
65+
You've now created a custom environment in Azure Machine Learning studio that you can use to run your machine learning models.
6566

6667
## Next steps
6768

6869
- Learn more about environment objects:
69-
- [What are Azure Machine Learning environments? ](concept-environments.md).
70-
- Learn more about [curated environments](concept-environments.md).
71-
- Learn more about [training models in Azure Machine Learning](concept-train-machine-learning-model.md).
70+
- [What are Azure Machine Learning environments?](concept-environments.md)
71+
- Learn more about [curated environments](concept-environments.md)
72+
- Learn more about [training models in Azure Machine Learning](concept-train-machine-learning-model.md)
7273
- [Azure Container for PyTorch (ACPT) reference](resource-azure-container-for-pytorch.md)
-78.6 KB
Loading
Loading
Loading

0 commit comments

Comments
 (0)