You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-manage-environments-in-studio.md
+30-24Lines changed: 30 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,14 @@ ms.subservice: core
8
8
author: ositanachi
9
9
ms.author: osiotugo
10
10
ms.reviewer: larryfr
11
-
ms.date: 01/30/2023
11
+
ms.date: 03/05/2024
12
12
ms.topic: how-to
13
13
ms.custom:
14
14
---
15
15
16
16
# Manage software environments in Azure Machine Learning studio
17
17
18
-
In this article, learn how to create and manage Azure Machine Learning [environments](/python/api/azure-ai-ml/azure.ai.ml.entities.environment) in the Azure Machine Learning studio. Use the environments to track and reproduce your projects' software dependencies as they evolve.
18
+
This article explains how to create and manage [Azure Machine Learning environments](/python/api/azure-ai-ml/azure.ai.ml.entities.environment) in the Azure Machine Learning studio. Use the environments to track and reproduce your projects' software dependencies as they evolve.
19
19
20
20
The examples in this article show how to:
21
21
@@ -24,60 +24,66 @@ The examples in this article show how to:
24
24
* Edit an existing environment specification and its properties.
25
25
* Rebuild an environment and view image build logs.
26
26
27
-
For a high-level overview of how environments work in Azure Machine Learning, see [What are ML environments?](concept-environments.md) For information, see [How to set up a development environment for Azure Machine Learning](how-to-configure-environment.md).
27
+
For a high-level overview of environments, see [What are Azure Machine Learning environments?](concept-environments.md) For more information, see [How to set up a development environment for Azure Machine Learning](how-to-configure-environment.md).
28
28
29
29
## Prerequisites
30
30
31
-
* An Azure subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/) before you begin.
31
+
* An Azure subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free).
32
32
* An [Azure Machine Learning workspace](quickstart-create-resources.md).
33
33
34
34
## Browse curated environments
35
35
36
-
Curated environments contain collections of Python packages and are available in your workspace by default. These environments are backed by cached Docker images, which reduce the job preparation cost and support training and inferencing scenarios.
36
+
Curated environments contain collections of Python packages and are available in your workspace by default. These environments are backed by cached Docker images, which reduce the job preparation cost and support training and inferencing scenarios.
37
37
38
-
Click on an environment to see detailed information about its contents. For more information, see [Azure Machine Learning curated environments](resource-curated-environments.md).
38
+
Select an environment to see detailed information about its contents. For more information, see [Azure Machine Learning curated environments](resource-curated-environments.md).
39
39
40
40
## Create an environment
41
41
42
42
To create an environment:
43
43
1. Open your workspace in [Azure Machine Learning studio](https://ml.azure.com).
44
44
1. On the left side, select **Environments**.
45
-
1. Select the **Custom environments** tab.
46
-
1. Select the **Create** button.
45
+
1. Select the **Custom environments** tab.
46
+
1. Select the **Create** button.
47
47
48
-
Create an environment by selecting one of the following options:
49
-
* Create a new docker [context](https://docs.docker.com/engine/reference/commandline/build/)
50
-
* Start from an existing environment
51
-
* Upload existing docker context
52
-
* Use existing docker image with optional conda file
48
+
Select one of the following options:
49
+
* Create a new docker [context](https://docs.docker.com/engine/reference/commandline/build/).
50
+
* Start from an existing environment.
51
+
* Upload an existing docker context.
52
+
* Use existing docker image with optional conda file.
:::image type="content" source="media/how-to-manage-environments-in-studio/create-page.png" alt-text="Screenshot of the environment creation wizard.":::
55
55
56
-
You can customize the configuration file, add tags and descriptions, and review the properties before creating the entity.
56
+
You can customize the configuration file, add tags and descriptions, and review the properties before creating the entity.
57
57
58
-
If a new environment is given the same name as an existing environment in the workspace, a new version of the existing one will be created.
58
+
If a new environment is given the same name as an existing environment in the workspace, a new version of the existing one is created.
59
59
60
60
## View and edit environment details
61
61
62
-
Once an environment has been created, view its details by clicking on the name. Use the dropdown menu to select different versions of the environment. Here you can view metadata and the contents of the environment through its various dependencies.
62
+
Once an environment has been created, view its details by selecting the name. Use the dropdown menu to select different versions of the environment. Here you can view metadata and the contents of the environment through its various dependencies.
63
63
64
-
Click on the pencil icons to edit tags, descriptions, configuration files under the **Context** tab.
64
+
Select the pencil icons to edit tags, descriptions, configuration files under the **Context** tab.
65
65
66
-
Keep in mind that any changes to the Docker or Conda sections will create a new version of the environment.
66
+
Keep in mind that any changes to the Docker or Conda sections create a new version of the environment.
:::image type="content" source="media/how-to-manage-environments-in-studio/details-page.png" alt-text="Screenshot of the environment details page.":::
69
69
70
70
## View logs
71
71
72
-
Click on the **Build log** tab within the details page to view the logs of an environment version and the environment log analysis. Environment log analysis is a feature that provides insight and relevant troubleshooting documentation to explain environment definition issues or image build failures.
73
-
* Build log contains the bare output from an Azure Container Registry (ACR) task or an Image Build Compute job.
72
+
Select the **Build log** tab on the details page to view the logs of an environment version and the environment log analysis. Environment log analysis is a feature that provides insight and relevant troubleshooting documentation to explain environment definition issues or image build failures.
73
+
74
+
* The build log contains the bare output from an Azure Container Registry (ACR) task or an Image Build Compute job.
74
75
* Image build analysis is an analysis of the build log used to see the cause of the image build failure.
75
76
* Environment definition analysis provides information about the environment definition if it goes against best practices for reproducibility, supportability, or security.
76
77
77
-
For an overview of common build failures, see [How to troubleshoot for environments](https://aka.ms/azureml/environment/troubleshooting-guide).
78
+
For an overview of common build failures, see [Troubleshooting environment issues](https://aka.ms/azureml/environment/troubleshooting-guide).
78
79
79
80
If you have feedback on the environment log analysis, file a [GitHub issue](https://aka.ms/azureml/environment/log-analysis-feedback).
80
81
81
82
## Rebuild an environment
82
83
83
-
In the details page, click on the **rebuild** button to rebuild the environment. Any unpinned package versions in your configuration files may be updated to the most recent version with this action.
84
+
On the details page, select the **Rebuild** button to rebuild the environment. Any unpinned package versions in your configuration files might be updated to the most recent version with this action.
85
+
86
+
## Next step
87
+
88
+
> [!div class="nextstepaction"]
89
+
> [How to create and manage files in your workspace](how-to-manage-files.md)
0 commit comments