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-interactive-jobs.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.subservice: automl
11
11
ms.topic: how-to
12
12
ms.custom: devplatv2, sdkv2, cliv2
13
13
14
-
ms.date: 07/15/2023
14
+
ms.date: 08/15/2024
15
15
#Customer intent: I'm a data scientist with ML knowledge in the machine learning space, looking to build ML models using data in Azure Machine Learning with full control of the model training including debugging and monitoring of live jobs.
16
16
---
17
17
@@ -26,7 +26,7 @@ Interactive training is supported on **Azure Machine Learning Compute Clusters**
26
26
- Review [getting started with training on Azure Machine Learning](./how-to-train-model.md).
27
27
- For more information, see this link for [VS Code](how-to-setup-vs-code.md) to set up the Azure Machine Learning extension.
28
28
- Make sure your job environment has the `openssh-server` and `ipykernel ~=6.0` packages installed (all Azure Machine Learning curated training environments have these packages installed by default).
29
-
- Interactive applications can't be enabled on distributed training runs where the distribution type is anything other than Pytorch, TensorFlow or MPI. Custom distributed training setup (configuring multi-node training without using the above distribution frameworks) isn't currently supported.
29
+
- Interactive applications can't be enabled on distributed training runs where the distribution type is anything other than Pytorch, TensorFlow, or MPI. Custom distributed training setup (configuring multi-node training without using the above distribution frameworks) isn't currently supported.
30
30
- To use SSH, you need an SSH key pair. You can use the `ssh-keygen -f "<filepath>"` command to generate a public and private key pair.
31
31
32
32
## Interact with your job container
@@ -45,7 +45,7 @@ By specifying interactive applications at job creation, you can connect directly
45
45
3. Follow the wizard to choose the environment you want to start the job.
46
46
47
47
48
-
4. In **Job settings** step, add your training code (and input/output data) and reference it in your command to make sure it's mounted to your job.
48
+
4. In the **Training script** step, add your training code (and input/output data) and reference it in your command to make sure it's mounted to your job.
49
49
50
50
:::image type="content" source="./media/interactive-jobs/sleep-command.png" alt-text="Screenshot of reviewing a drafted job and completing the creation.":::
51
51
@@ -60,7 +60,7 @@ By specifying interactive applications at job creation, you can connect directly
60
60
> [!NOTE]
61
61
> If you use `sleep infinity`, you will need to manually [cancel the job](./how-to-interactive-jobs.md#end-job) to let go of the compute resource (and stop billing).
62
62
63
-
5. Select at least one training application you want to use to interact with the job. If you don't select an application, the debug feature won't be available.
63
+
5.In **Compute** settings, expand the option for **Training applications**. Select at least one training application you want to use to interact with the job. If you don't select an application, the debug feature won't be available.
64
64
65
65
:::image type="content" source="./media/interactive-jobs/select-training-apps.png" alt-text="Screenshot of selecting a training application for the user to use for a job.":::
66
66
@@ -258,7 +258,7 @@ To submit a job with a debugger attached and the execution paused, you can use d
258
258
> [!NOTE]
259
259
> Private link-enabled workspaces are not currently supported when attaching a debugger to a job in VS Code.
260
260
261
-
1. During job submission (either through the UI, the CLI or the SDK) use the debugpy command to run your python script. For example, the below screenshot shows a sample command that uses debugpy to attach the debugger for a tensorflow script (`tfevents.py` can be replaced with the name of your training script).
261
+
1. During job submission (either through the UI, the CLI or the SDK) use the debugpy command to run your python script. For example, the following screenshot shows a sample command that uses debugpy to attach the debugger for a tensorflow script (`tfevents.py` can be replaced with the name of your training script).
262
262
263
263
:::image type="content" source="./media/interactive-jobs/use-debugpy.png" alt-text="Screenshot of interactive jobs configuration of debugpy":::
0 commit comments