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-manage-compute-sessions.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.reviewer: sgilley
9
9
ms.service: machine-learning
10
10
ms.subservice: core
11
11
ms.topic: how-to
12
-
ms.date: 12/21/2022
12
+
ms.date: 1/18/2023
13
13
# Customer intent: As a data scientist, I want to manage the notebook and terminal sessions on my compute instance for optimal performance.
14
14
---
15
15
@@ -19,24 +19,24 @@ Notebook and terminal sessions run on the compute and maintain your current work
19
19
20
20
When you reopen a notebook, or reconnect to a terminal session, you can reconnect to the previous session state (including command history, execution history, and defined variables). However, too many active sessions may slow down the performance of your compute. With too many active sessions, you may find your terminal or notebook cell typing lags, or terminal or notebook command execution may feel slower than expected.
21
21
22
-
There's a session management panel in the Azure Machine Learning studio that helps you manage your active sessions and optimize the performance of your compute instance. You can navigate to this session management panel from the compute toolbar of either a terminal tab or a notebook tab.
22
+
Use the session management panel in Azure Machine Learning studio to help you manage your active sessions and optimize the performance of your compute instance. Navigate to this session management panel from the compute toolbar of either a terminal tab or a notebook tab.
23
23
24
24
> [!NOTE]
25
25
> For optimal performance, we recommend you don’t keep more than six active sessions - and the fewer the better.
26
26
27
-
:::image type="content" source="media/how-to-manage-compute-sessions/compute-session-management-panel.png" alt-text="Screenshot of compute session management panel.":::
27
+
:::image type="content" source="media/how-to-manage-compute-sessions/compute-session-management-panel.png" alt-text="Screenshot of compute session management panel." lightbox="media/how-to-manage-compute-sessions/compute-session-management-panel.png":::
28
28
29
29
## Notebook sessions
30
30
31
-
In the session management panel, you can select a linked notebook name in the notebook sessions section to reopen a notebook with its previous state.
31
+
In the session management panel, select a linked notebook name in the notebook sessions section to reopen a notebook with its previous state.
32
32
33
33
Notebook sessions are kept active when you close a notebook tab in the Azure Machine Learning studio. So, when you reopen a notebook you'll have access to previously defined variables and execution state - in this case, you're benefitting from the active notebook session.
34
34
35
35
However, keeping too many active notebook sessions can slow down the performance of your compute. So, you should use the session management panel to shut down any notebook sessions you no longer need.
36
36
37
37
Select **Manage active sessions** in the terminal toolbar to open the session management panel and shut down the sessions you no longer need. In the following image, you can see that the tooltip shows the count of active notebook sessions.
38
38
39
-
:::image type="content" source="media/how-to-manage-compute-sessions/notebook-sessions-button.png" alt-text="Screenshot of notebooks sessions button in toolbar.":::
39
+
:::image type="content" source="media/how-to-manage-compute-sessions/notebook-sessions-button.png" alt-text="Screenshot of notebooks sessions button in toolbar." lightbox="media/how-to-manage-compute-sessions/notebook-sessions-button.png":::
40
40
41
41
## Terminal sessions
42
42
@@ -46,4 +46,4 @@ In contrast to notebook sessions, terminal sessions are terminated when you clos
46
46
47
47
Select **Manage active sessions** in the terminal toolbar to open the session management panel and shut down the sessions you no longer need. In the following image, you can see that the tooltip shows the count of active terminal sessions.
48
48
49
-
:::image type="content" source="media/how-to-manage-compute-sessions/terminal-sessions-button.png" alt-text="Screenshot of terminal sessions button in toolbar.":::
49
+
:::image type="content" source="media/how-to-manage-compute-sessions/terminal-sessions-button.png" alt-text="Screenshot of terminal sessions button in toolbar." lightbox="media/how-to-manage-compute-sessions/terminal-sessions-button.png":::
0 commit comments