Skip to content

Commit 7690764

Browse files
Merge pull request #281047 from cloga/lochen/credential-less-new
add UAI assign role
2 parents 456a87a + 581c72e commit 7690764

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/machine-learning/prompt-flow/how-to-manage-compute-session.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ One flow binds to one compute session. You can start a compute session on a flow
8181
|Azure Key Vault (when using [RBAC permission model](../../key-vault/general/rbac-guide.md))|Contributor (control plane) + Key Vault Administrator (data plane)|
8282
|Azure Container Registry|Contributor|
8383
|Azure Application Insights|Contributor|
84+
85+
> [!NOTE]
86+
> The job submitter need have `assign` permission on user assigned managed identity, you can assign `Managed Identity Operator` role, as every time create serverless compute session, it will assign user assigned managed identity to compute.
8487
8588
- If you choose compute instance as compute type, you can only set idle shutdown time.
8689
- As it's running on an existing compute instance the VM size is fixed and can't change in session side.
@@ -168,7 +171,7 @@ Learn full end to end code first example: [Integrate prompt flow with LLM-based
168171
---
169172

170173
> [!NOTE]
171-
> The idle shutdown is one hour if you are using CLI/SDK to submit a flow run. You can go to compute page to release compute
174+
> The idle shutdown is one hour if you are using CLI/SDK to submit a flow run. You can go to compute page to release compute.
172175
173176
### Reference files outside of the flow folder
174177
Sometimes, you might want to reference a `requirements.txt` file that is outside of the flow folder. For example, you might have complex project that includes multiple flows, and they share the same `requirements.txt` file. To do this, You can add this field `additional_includes` into the `flow.dag.yaml`. The value of this field is a list of the relative file/folder path to the flow folder. For example, if requirements.txt is in the parent folder of the flow folder, you can add `../requirements.txt` to the `additional_includes` field.

0 commit comments

Comments
 (0)