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-launch-vs-code-remote.md
+3-9Lines changed: 3 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: 'Launch Visual Studio Code integrated with Azure Machine Learning (preview)'
2
+
title: 'Launch Visual Studio Code integrated with Azure Machine Learning'
3
3
titleSuffix: Azure Machine Learning
4
4
description: Connect to an Azure Machine Learning compute instance in Visual Studio Code to run interactive Jupyter Notebook and remote development workloads.
5
5
services: machine-learning
@@ -10,17 +10,15 @@ ms.topic: how-to
10
10
ms.author: sgilley
11
11
author: sdgilley
12
12
ms.reviewer: lebaro
13
-
ms.date: 04/10/2023
13
+
ms.date: 08/05/2024
14
14
monikerRange: 'azureml-api-1 || azureml-api-2'
15
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.
16
16
---
17
17
18
-
# Launch Visual Studio Code integrated with Azure Machine Learning (preview)
18
+
# Launch Visual Studio Code integrated with Azure Machine Learning
19
19
20
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.
There are two ways you can connect to a compute instance from Visual Studio Code. We recommend the first approach.
25
23
26
24
1.**Use VS Code as your workspace's integrated development environment (IDE).** This option provides you with a **full-featured development environment** for building your machine learning projects.
@@ -39,10 +37,6 @@ Before you get started, you need:
39
37
1.[!INCLUDE [workspace and compute instance](includes/prerequisite-workspace-compute-instance.md)]
1. In the **Manage preview features** panel, scroll down and enable **Connect compute instances to Visual Studio Code for the Web**.
43
-
44
-
:::image type="content" source="media/how-to-launch-vs-code-remote/enable-web-preview.png" alt-text="Screenshot shows how to enable the VS Code for the web preview.":::
45
-
46
40
## Use VS Code as your workspace IDE
47
41
48
42
Use one of these options to connect VS Code to your compute instance and workspace files.
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-work-in-vs-code-remote.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: 'Work in VS Code remotely connected to a compute instance (preview)'
2
+
title: 'Work in VS Code remotely connected to a compute instance'
3
3
titleSuffix: Azure Machine Learning
4
4
description: Details for working with Jupyter notebooks and services from a VS Code remote connection to an Azure Machine Learning compute instance.
5
5
services: machine-learning
@@ -10,18 +10,16 @@ ms.topic: how-to
10
10
ms.author: sgilley
11
11
author: sdgilley
12
12
ms.reviewer: lebaro
13
-
ms.date: 04/17/2023
13
+
ms.date: 08/05/2024
14
14
#Customer intent: As a data scientist, I want to use Jupyter notebooks and tools while working from a VS Code remote connection to my Azure Machine Learning compute instance.
15
15
---
16
16
17
-
# Work in VS Code remotely connected to a compute instance (preview)
17
+
# Work in VS Code remotely connected to a compute instance
18
18
19
19
In this article, learn specifics of working within a VS Code remote connection to an Azure Machine Learning compute instance. Use VS Code as your **full-featured integrated development environment (IDE)** with the power of Azure Machine Learning resources. You can work with a remote connection to your compute instance in the browser with VS Code for the Web, or the VS Code desktop application.
20
20
21
21
* We recommend **VS Code for the Web**, as you can do all your machine learning work directly from the browser, and without any required installations or dependencies.
> To connect to a compute instance behind a firewall, see [Configure inbound and outbound network traffic](how-to-access-azureml-behind-firewall.md#scenario-visual-studio-code).
27
25
@@ -82,6 +80,6 @@ While there are a few ways to connect and manage kernels in VS Code, connecting
82
80
83
81
We recommend not trying to work on the same files in both applications at the same time as you may have conflicts you need to resolve. We'll save your current file in the studio before navigating to VS Code. You can execute many of the actions provided in the Azure Machine Learning studio in VS Code instead, using a YAML-first approach. You may find you prefer to do certain actions (for example, editing and debugging files) in VS Code, and other actions (for example, Creating a training job) in the Azure Machine Learning studio. You should find you can seamlessly navigate back and forth between the two.
84
82
85
-
## Next steps
83
+
## Next step
86
84
87
85
For more information on managing Jupyter kernels in VS Code, see [Jupyter kernel management](https://code.visualstudio.com/docs/datascience/jupyter-kernel-management).
## Set your kernel and open in Visual Studio Code (VS Code)
14
14
15
15
1. On the top bar above your opened notebook, create a compute instance if you don't already have one.
16
16
17
17
:::image type="content" source="../media/tutorial-azure-ml-in-a-day/create-compute.png" alt-text="Screenshot shows how to create a compute instance." lightbox="../media/tutorial-azure-ml-in-a-day/create-compute.png":::
18
18
19
-
1. If the compute instance is stopped, select **Start compute** and wait until it is running.
19
+
1. If the compute instance is stopped, select **Start compute** and wait until it's running.
20
20
21
-
:::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":::
21
+
:::image type="content" source="../media/tutorial-azure-ml-in-a-day/start-compute.png" alt-text="Screenshot shows how to start a stopped compute instance." lightbox="../media/tutorial-azure-ml-in-a-day/start-compute.png":::
22
22
23
-
1. Make sure that the kernel, found on the top right, is `Python 3.10 - SDK v2`. If not, use the dropdown to select this kernel.
23
+
1. Make sure that the kernel, found on the top right, is `Python 3.10 - SDK v2`. If not, use the dropdown to select this kernel.
24
24
25
25
:::image type="content" source="../media/tutorial-azure-ml-in-a-day/set-kernel.png" alt-text="Screenshot shows how to set the kernel." lightbox="../media/tutorial-azure-ml-in-a-day/set-kernel.png":::
26
26
27
27
1. If you see a banner that says you need to be authenticated, select **Authenticate**.
28
28
29
+
1. You can run the notebook here, or open it in VS Code for a full integrated development environment (IDE) with the power of Azure Machine Learning resources. Select **Open in VS Code**, then select either the web or desktop option. When launched this way, VS Code is attached to your compute instance, the kernel, and the workspace file system.
30
+
31
+
:::image type="content" source="../media/tutorial-azure-ml-in-a-day/open-vs-code.png" alt-text="Screenshot shows how to open the notebook in VS Code." lightbox="../media/tutorial-azure-ml-in-a-day/open-vs-code.png":::
32
+
29
33
> [!Important]
30
-
> The rest of this tutorial contains cells of the tutorial notebook. Copy/paste them into your new notebook, or switch to the notebook now if you cloned it.
31
-
>
34
+
> The rest of this tutorial contains cells of the tutorial notebook. Copy/paste them into your new notebook, or switch to the notebook now if you cloned it.
0 commit comments