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/ai-studio/how-to/create-manage-compute-session.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.custom:
9
9
- build-2024
10
10
- ignite-2024
11
11
ms.topic: how-to
12
-
ms.date: 11/07/2024
12
+
ms.date: 02/12/2025
13
13
ms.reviewer: lochen
14
14
ms.author: sgilley
15
15
author: sdgilley
@@ -80,7 +80,7 @@ To manage a compute session, select the **Compute session running** on the top t
80
80
-**Install packages from requirements.txt** Opens `requirements.txt` in prompt flow UI so you can add packages.
81
81
-**View installed packages** shows the packages that are installed in the compute session. It includes the packages baked into base image and packages specified in the `requirements.txt` file in the flow folder.
82
82
-**Reset compute session** deletes the current compute session and creates a new one with the same environment. If you encounter a package conflict, you can try this option.
83
-
-**Stop compute session** deletes the current compute session. If there's no active compute session on an underlying serverless compute, the compute resource is also deleted. If the compute session is on a compute instance, stopping the session will allow the instance to become idle.
83
+
-**Stop compute session** deletes the current compute session. If there's no active compute session on an underlying serverless compute, the compute resource is also deleted. If the compute session is on a compute instance, stopping the session allows the instance to become idle.
84
84
85
85
:::image type="content" source="../media/prompt-flow/how-to-create-manage-compute-session/compute-session-create-automatic-actions.png" alt-text="Screenshot of actions for a compute session on a flow page." lightbox = "../media/prompt-flow/how-to-create-manage-compute-session/compute-session-create-automatic-actions.png":::
86
86
@@ -94,7 +94,7 @@ You can customize the environment that you use to run this flow by adding packag
94
94
> [!NOTE]
95
95
> You can change the location and even the file name of `requirements.txt`, but be sure to also change it in the `flow.dag.yaml` file in the flow folder.
96
96
>
97
-
> Don't pin the version of `promptflow` and `promptflow-tools` in `requirements.txt`, because they are already included in the compute session base image.
97
+
> Don't pin the version of `promptflow` and `promptflow-tools` in `requirements.txt`, because they're already included in the compute session base image.
98
98
99
99
### Add packages in a private feed in Azure DevOps
100
100
@@ -140,7 +140,7 @@ By default, we use the latest prompt flow image as the base image. If you want t
140
140
141
141
If you previously created a compute instance runtime, switch it to a compute session by using the following steps:
142
142
143
-
- Prepare your `requirements.txt` file in the flow folder. See [Manage a compute session](#manage-a-compute-session) for more information.
143
+
- Prepare your `requirements.txt` file in the flow folder. For more information, see [Manage a compute session](#manage-a-compute-session).
144
144
- If you created a custom environment, get the image from the environment detail page, and specify it in the `flow.dag.yaml` file in the flow folder. To learn more, see [Change the base image](#change-the-base-image). Make sure you have `acr pull` permission for the image.
145
145
146
146
- You can continue to use the existing compute instance if you would like to manually manage the lifecycle.
0 commit comments