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/concept-environments.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ Actual cached images in your workspace ACR will have names like `azureml/azureml
106
106
>
107
107
> 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.
108
108
>
109
-
> * 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
109
+
> * 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.
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-launch-vs-code-remote.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,13 @@ ms.author: lebaro
11
11
author: lebaro-msft
12
12
ms.reviewer: sgilley
13
13
ms.date: 04/10/2023
14
+
monikerRange: 'azureml-api-1 || azureml-api-2'
14
15
#Customer intent: As a data scientist, I want to connect to an Azure Machine Learning compute instance in Visual Studio Code to access my resources and run my code.
15
16
---
16
17
17
18
# Launch Visual Studio Code integrated with Azure Machine Learning (preview)
18
19
19
-
In this article, you'll learn how to launch Visual Studio Code remotely connected to an Azure Machine Learning compute instance. Use VS Code as your integrated development environment (IDE) with the power of Azure Machine Learning resources. Use VS Code in the browser with VS Code for the Web, or use the VS Code desktop application.
20
+
In this article, you learn how to launch Visual Studio Code remotely connected to an Azure Machine Learning compute instance. Use VS Code as your integrated development environment (IDE) with the power of Azure Machine Learning resources. Use VS Code in the browser with VS Code for the Web, or use the VS Code desktop application.
@@ -50,7 +51,7 @@ Use one of these options to connect VS Code to your compute instance and workspa
50
51
51
52
VS Code for the Web provides you with a **full-featured development environment** for building your machine learning projects, all from the browser and **without required installations or dependencies**. And by connecting your Azure Machine Learning compute instance, you get the rich and integrated development experience VS Code offers, enhanced by the power of Azure Machine Learning.
52
53
53
-
Launch VS Code for the Web with one click from the Azure Machine Learning studio, and seamlessly continue your work.
54
+
Launch VS Code for the Web with one select from the Azure Machine Learning studio, and seamlessly continue your work.
54
55
55
56
Sign in to [Azure Machine Learning studio](https://ml.azure.com) and follow the steps to launch a VS Code (Web) browser tab, connected to your Azure Machine Learning compute instance.
56
57
@@ -60,9 +61,9 @@ You can create the connection from either the **Notebooks** or **Compute** secti
60
61
61
62
1. Select the **Notebooks** tab.
62
63
1. In the *Notebooks* tab, select the file you want to edit.
63
-
1. If the compute instance is stopped, select **Start compute** and wait until it is running.
64
+
1. If the compute instance is stopped, select **Start compute** and wait until it's running.
64
65
65
-
:::image type="content" source="media/tutorial-azure-ml-in-a-day/start-compute.png" alt-text="Screenshot shows how to start compute if it is stopped." lightbox="media/tutorial-azure-ml-in-a-day/start-compute.png":::
66
+
:::image type="content" source="media/tutorial-azure-ml-in-a-day/start-compute.png" alt-text="Screenshot shows how to start compute if it's stopped." lightbox="media/tutorial-azure-ml-in-a-day/start-compute.png":::
66
67
67
68
1. Select **Editors > Edit in VS Code (Web)**.
68
69
@@ -78,9 +79,9 @@ You can create the connection from either the **Notebooks** or **Compute** secti
78
79
79
80
# [Studio -> VS Code (Desktop)](#tab/vscode-desktop)
80
81
81
-
This option will launch the VS Code desktop application, connected to your compute instance.
82
+
This option launches the VS Code desktop application, connected to your compute instance.
82
83
83
-
On the initial connection, you may be prompted to install the Azure Machine Learning Visual Studio Code extension if you do not already have it. For more information, see the [Azure Machine Learning Visual Studio Code Extension setup guide](how-to-setup-vs-code.md).
84
+
On the initial connection, you may be prompted to install the Azure Machine Learning Visual Studio Code extension if you don't already have it. For more information, see the [Azure Machine Learning Visual Studio Code Extension setup guide](how-to-setup-vs-code.md).
84
85
85
86
> [!IMPORTANT]
86
87
> In order to connect to your remote compute instance from Visual Studio Code, make sure that the account you're logged into in Azure Machine Learning studio is the same one you use in Visual Studio Code.
@@ -93,9 +94,9 @@ You can create the connection from either the **Notebooks** or **Compute** secti
93
94
94
95
1. Select the **Notebooks** tab
95
96
1. In the *Notebooks* tab, select the file you want to edit.
96
-
1. If the compute instance is stopped, select **Start compute** and wait until it is running.
97
+
1. If the compute instance is stopped, select **Start compute** and wait until it's running.
97
98
98
-
:::image type="content" source="media/tutorial-azure-ml-in-a-day/start-compute.png" alt-text="Screenshot shows how to start compute if it is stopped." lightbox="media/tutorial-azure-ml-in-a-day/start-compute.png":::
99
+
:::image type="content" source="media/tutorial-azure-ml-in-a-day/start-compute.png" alt-text="Screenshot shows how to start compute if it's stopped." lightbox="media/tutorial-azure-ml-in-a-day/start-compute.png":::
99
100
100
101
1. Select **Edit in VS Code (Desktop)**.
101
102
@@ -115,7 +116,7 @@ You can create the connection from either the **Notebooks** or **Compute** secti
115
116
116
117
# [From VS Code](#tab/extension)
117
118
118
-
This option will connect your current VS Code session to a remote compute instance. In order to connect to your compute instance _from_ VS Code, you will need to install the Azure Machine Learning Visual Studio Code extension. For more information, see the [Azure Machine Learning Visual Studio Code Extension setup guide](how-to-setup-vs-code.md).
119
+
This option connects your current VS Code session to a remote compute instance. In order to connect to your compute instance _from_ VS Code, you need to install the Azure Machine Learning Visual Studio Code extension. For more information, see the [Azure Machine Learning Visual Studio Code Extension setup guide](how-to-setup-vs-code.md).
119
120
120
121
### Azure Machine Learning Extension
121
122
@@ -135,13 +136,13 @@ This option will connect your current VS Code session to a remote compute instan
135
136
136
137
---
137
138
138
-
If you pick one of the click-out experiences, a new VS Code window will be opened, and a connection attempt made to the remote compute instance. When attempting to make this connection, the following steps are taking place:
139
+
If you pick one of the click-out experiences, a new VS Code window is opened, and a connection attempt made to the remote compute instance. When attempting to make this connection, the following steps are taking place:
139
140
140
141
1. Authorization. Some checks are performed to make sure the user attempting to make a connection is authorized to use the compute instance.
141
142
1. VS Code Remote Server is installed on the compute instance.
142
143
1. A WebSocket connection is established for real-time interaction.
143
144
144
-
Once the connection is established, it's persisted. A token is issued at the start of the session which gets refreshed automatically to maintain the connection with your compute instance.
145
+
Once the connection is established, it's persisted. A token is issued at the start of the session, which gets refreshed automatically to maintain the connection with your compute instance.
145
146
146
147
After you connect to your remote compute instance, use the editor to:
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-manage-optimize-cost.md
+1-9Lines changed: 1 addition & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,6 @@ ms.topic: how-to
12
12
ms.date: 06/08/2021
13
13
---
14
14
15
-
[//]: #(needs PM review; ParallelJobStep or ParallelRunStep?)
16
-
17
15
# Manage and optimize Azure Machine Learning costs
18
16
19
17
Learn how to manage and optimize costs when training and deploying machine learning models to Azure Machine Learning.
@@ -99,15 +97,9 @@ Another way to save money on compute resources is Azure Reserved VM Instance. Wi
99
97
100
98
Azure Machine Learning Compute supports reserved instances inherently. If you purchase a one-year or three-year reserved instance, we will automatically apply discount against your Azure Machine Learning managed compute.
101
99
102
-
## Train locally
103
-
104
-
When prototyping and running training jobs that are small enough to run on your local computer, consider training locally. Using the Python SDK, setting your compute target to `local` executes your script locally.
105
-
106
-
Visual Studio Code provides a full-featured environment for developing your machine learning applications. Using the Azure Machine Learning visual Visual Studio Code extension and Docker, you can run and debug locally. For more information, see [interactive debugging with Visual Studio Code](how-to-debug-visual-studio-code.md).
107
-
108
100
## Parallelize training
109
101
110
-
One of the key methods of optimizing cost and performance is by parallelizing the workload with the help of a parallel run step in Azure Machine Learning. This step allows you to use many smaller nodes to execute the task in parallel, hence allowing you to scale horizontally. There is an overhead for parallelization. Depending on the workload and the degree of parallelism that can be achieved, this may or may not be an option. For further information, see the [ParallelRunStep](xref:azureml.contrib.pipeline.steps.ParallelRunStep) documentation.
102
+
One of the key methods of optimizing cost and performance is by parallelizing the workload with the help of a parallel component in Azure Machine Learning. A parallel component allows you to use many smaller nodes to execute the task in parallel, hence allowing you to scale horizontally. There is an overhead for parallelization. Depending on the workload and the degree of parallelism that can be achieved, this may or may not be an option. For further information, see the [ParallelComponent](/python/api/azure-ai-ml/azure.ai.ml.entities.parallelcomponent) documentation.
Copy file name to clipboardExpand all lines: articles/machine-learning/resource-curated-environments.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,12 @@ ms.service: machine-learning
10
10
ms.subservice: core
11
11
ms.topic: reference
12
12
ms.date: 10/21/2021
13
+
monikerRange: 'azureml-api-1 || azureml-api-2'
13
14
---
14
15
15
16
# Azure Machine Learning Curated Environments
16
17
17
-
This article lists the curated environments with latest framework versions in Azure Machine Learning. Curated environments are provided by Azure Machine Learning and are available in your workspace by default. They're backed by cached Docker images that use the latest version of the Azure Machine Learning SDK, reducing the run preparation cost and allowing for faster deployment time. Use these environments to quickly get started with various machine learning frameworks.
18
+
This article lists the curated environments with latest framework versions in Azure Machine Learning. Curated environments are provided by Azure Machine Learning and are available in your workspace by default. The curated environments rely on cached Docker images that use the latest version of the Azure Machine Learning SDK. Using a curated environment can reduce the run preparation cost and allow for faster deployment time. Use these environments to quickly get started with various machine learning frameworks.
18
19
19
20
> [!NOTE]
20
21
> Use the [Python SDK](how-to-use-environments.md), [CLI](/cli/azure/ml/environment#az-ml-environment-list), or Azure Machine Learning [studio](how-to-manage-environments-in-studio.md) to get the full list of environments and their dependencies. For more information, see the [environments article](how-to-use-environments.md#use-a-curated-environment).
@@ -34,7 +35,7 @@ This article lists the curated environments with latest framework versions in Az
34
35
35
36
### Azure Container for PyTorch (ACPT)
36
37
37
-
**Description**: Recommended environment for Deep Learning with PyTorch on Azure containing the Azure Machine Learning SDK with the latest compatible versions of Ubuntu, Python, PyTorch, CUDA\RocM, and NebulaML combined with optimizers like ORT Training, +DeepSpeed+MSCCL+ORT MoE, and checkpointing using NebulaML and more.
38
+
**Description**: Recommended environment for Deep Learning with PyTorch on Azure. It contains the Azure Machine Learning SDK with the latest compatible versions of Ubuntu, Python, PyTorch, CUDA\RocM, and NebulaML. It also provides optimizers like ORT Training, +DeepSpeed+MSCCL+ORT MoE, and checkpointing using NebulaML and more.
38
39
39
40
To learn more, see [Azure Container for PyTorch (ACPT)](resource-azure-container-for-pytorch.md).
0 commit comments