Skip to content

Commit

Permalink
Merge pull request #123595 from tbombach/interactive-jobs-private-link
Browse files Browse the repository at this point in the history
Update Interactive Jobs documentation with private link limitation information
  • Loading branch information
Jak-MS authored Jul 10, 2024
2 parents 2d6c595 + 4ff827e commit a446d51
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions articles/machine-learning/how-to-interactive-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ When you select on the endpoints to interact when your job, you're taken to the

- You can also interact with the job container within VS Code. To attach a debugger to a job during job submission and pause execution, [navigate here](./how-to-interactive-jobs.md#attach-a-debugger-to-a-job).

> [!NOTE]
> Private link-enabled workspaces are not currently supported when interacting with the job container with VS Code.

:::image type="content" source="./media/interactive-jobs/vs-code-open.png" alt-text="Screenshot of interactive jobs VS Code panel when first opened. This shows the sample python file that was created to print two lines.":::

- If you have logged tensorflow events for your job, you can use TensorBoard to monitor the metrics when your job is running.
Expand All @@ -252,6 +255,9 @@ Once you're done with the interactive training, you can also go to the job detai
## Attach a debugger to a job
To submit a job with a debugger attached and the execution paused, you can use debugpy, and VS Code (`debugpy` must be installed in your job environment).

> [!NOTE]
> Private link-enabled workspaces are not currently supported when attaching a debugger to a job in VS Code.

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).

:::image type="content" source="./media/interactive-jobs/use-debugpy.png" alt-text="Screenshot of interactive jobs configuration of debugpy":::
Expand Down

0 comments on commit a446d51

Please sign in to comment.