Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Interactive Jobs documentation with private link limitation information #123595

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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