Skip to content

Commit 18ea88e

Browse files
committed
add more info to automatic runtime
1 parent b049e8e commit 18ea88e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

articles/machine-learning/prompt-flow/how-to-create-manage-runtime.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Azure Machine Learning supports the following types of runtimes:
2222

2323
|Runtime type|Underlying compute type|Life cycle management|Customize environment |
2424
|------------|----------------------|---------------------|---------------------|
25-
|Automatic runtime (preview) |Serverless compute| Automatic | Easily customize packages|
25+
|Automatic runtime (preview) |[Serverless compute](../how-to-use-serverless-compute.md)| Automatic | Easily customize packages|
2626
|Compute instance runtime | Compute instance | Manual | Manually customize via Azure Machine Learning environment|
2727

2828
If you're a new user, we recommend that you use the automatic runtime (preview). You can easily customize the environment by adding packages in the `requirements.txt` file in `flow.dag.yaml` in the flow folder. If you're already familiar with the Azure Machine Learning environment and compute instances, you can use your existing compute instance and environment to build a compute instance runtime.
@@ -279,6 +279,14 @@ To get the best experience and performance, try to keep your runtime up to date.
279279

280280
If you select **Use customized environment**, you first need to rebuild the environment by using the latest prompt flow image. Then update your runtime with the new custom environment.
281281

282+
## Relationship between runtime, compute resource, flow and user.
283+
284+
- One single user can have multiple compute resource (serverless or compute instance). Base on customer different need, we allow single user to have multiple compute resource. For example, one user can have multiple compute resource with different VM size. You can find
285+
- One compute resource can only used by single user. Compute resource is model as private dev box of single user, so we didn't allow multiple user share same compute resource. In AI studio case, different user can join different project and data and other asset need to be isolated, so we didn't allow multiple user share same compute resource.
286+
- One compute resource can host multiple runtimes. Runtime is container running on underling compute resource, as in common case, prompt flow authoring didn't need too many compute resource, we allow single compute resource to host multiple runtimes from same user.
287+
- One runtime will only belongs to single compute resource in same time. But you can delete or stop runtime and reallocate it to other compute resource.
288+
- In automatic runtime, one flow will only have one runtime, as we expect each flow is self contained it defined the base image and required python packge in flow folder. In compute instance runtime, you can run different flow on same compute instance runtime, but you need make sure the packages and image is compatible.
289+
282290
## Next steps
283291

284292
- [Develop a standard flow](how-to-develop-a-standard-flow.md)

0 commit comments

Comments
 (0)