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/prompt-flow/tools-reference/troubleshoot-guidance.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ms.date: 09/05/2023
16
16
17
17
This article addresses frequent questions about tool usage.
18
18
19
-
## Error "package tool is not found" occurs when updating the flow for code first experience.
19
+
## Error "package tool isn't found" occurs when updating the flow for code first experience.
20
20
21
21
When you update flows for code first experience, if the flow utilized these tools (Faiss Index Lookup, Vector Index Lookup, Vector DB Lookup, Content Safety (Text)), you may encounter the error message like below:
22
22
@@ -26,7 +26,7 @@ To resolve the issue, you have two options:
26
26
27
27
-**Option 1**
28
28
- Update your runtime to latest version.
29
-
-Click on "Raw file mode" to switch to the raw code view, then open the "flow.dag.yaml" file.
29
+
-Select on "Raw file mode" to switch to the raw code view, then open the "flow.dag.yaml" file.
@@ -44,15 +44,15 @@ To resolve the issue, you have two options:
44
44
- Remove the old tool and re-create a new tool.
45
45
46
46
## Why I can't create or upgrade my flow when I disable public network access of storage account?
47
-
Prompt flow rely on fileshare to store snapshot of flow. Prompt flow didn't support private storage account now. Here are some workarounds you can try:
48
-
- Make the storage account as public access enabled if there is no security concern.
49
-
- If you are only using UI to authoring promptflow, you can add following flights (flight=PromptFlowCodeFirst=false) to use our old UI.
50
-
- You can use our CLI/SDK to authoring promptflow, CLI/SDK authong didn't rely on fileshare. See [Integrate Prompt Flow with LLM-based application DevOps ](../how-to-integrate-with-llm-app-devops.md).
47
+
Prompt flow relies on fileshare to store snapshot of flow. Prompt flow didn't support private storage account now. Here are some workarounds you can try:
48
+
- Make the storage account as public access enabled if there's no security concern.
49
+
- If you're only using UI to authoring prompt flow, you can add following flights (flight=PromptFlowCodeFirst=false) to use our old UI.
50
+
- You can use our CLI/SDK to authoring prompt flow, CLI/SDK authong didn't rely on fileshare. See [Integrate Prompt Flow with LLM-based application DevOps ](../how-to-integrate-with-llm-app-devops.md).
51
51
52
52
53
53
## Why I can't upgrade my old flow?
54
-
Prompt flow rely on fileshare to store snapshot of flow. If fileshare have some issue, you may encounter this issue. Here are some workarounds you can try:
55
-
- If you are using private storage account, please see [Why I can't create or upgrade my flow when I disable public network access of storage account?](#why-i-cant-create-or-upgrade-my-flow-when-i-disable-public-network-access-of-storage-account)
54
+
Prompt flow relies on fileshare to store snapshot of flow. If fileshare have some issue, you may encounter this issue. Here are some workarounds you can try:
55
+
- If you're using private storage account, please see [Why I can't create or upgrade my flow when I disable public network access of storage account?](#why-i-cant-create-or-upgrade-my-flow-when-i-disable-public-network-access-of-storage-account)
56
56
- If the storage account is enabled public access, please check whether there are datastore named `workspaceworkingdirectory` in your workspace, it should be fileshare type.
- If you didn't get this datastore, you need add it in your workspace.
@@ -73,7 +73,7 @@ Use `docker images` to check if the image was pulled successfully. If your ima
73
73
74
74
### Run failed due to "No module named XXX"
75
75
76
-
This type error usually related to runtime lack required packages. If you're using default environment, make sure image of your runtime is using the latest version, learn more: [runtime update](#update-runtime-from-ui), if you're using custom image and you're using conda environment, make sure you have installed all required packages in your conda environment, learn more: [customize Prompt flow environment](how-to-customize-environment-runtime.md#customize-environment-with-docker-context-for-runtime).
76
+
This type error related to runtime lack required packages. If you're using default environment, make sure image of your runtime is using the latest version, learn more: [runtime update](#update-runtime-from-ui), if you're using custom image and you're using conda environment, make sure you have installed all required packages in your conda environment, learn more: [customize Prompt flow environment](how-to-customize-environment-runtime.md#customize-environment-with-docker-context-for-runtime).
77
77
78
78
### Request timeout issue
79
79
@@ -105,7 +105,7 @@ Error in the example says "UserError: Invoking runtime gega-ci timeout, error me
105
105
106
106
:::image type="content" source="./media/how-to-create-manage-runtime/runtime-timeout-running-for-long-time.png" alt-text="Screenshot of a timeout run logs in the studio UI. " lightbox = "./media/how-to-create-manage-runtime/runtime-timeout-running-for-long-time.png":::
107
107
108
-
In this case, you can find that the `PythonScriptNode` was running for a long time (almost 300s), then you can check the node details to see what's the problem.
108
+
In this case, you can find that the `PythonScriptNode` was running for a long time (almost 300 s), then you can check the node details to see what's the problem.
109
109
110
110
- Case 2: LLM node running for long time.
111
111
@@ -117,18 +117,18 @@ Error in the example says "UserError: Invoking runtime gega-ci timeout, error me
117
117
118
118
You can try waiting a few seconds and retrying your request. This usually resolves any network issues.
119
119
120
-
If retrying doesn't work, check whether you're using a long context model, such as ‘gpt-4-32k’, and have set a large value for `max_tokens`. If so, it's expected behavior because your prompt may generate a very long response that takes longer than the interactive mode upper threshold. In this situation, we recommend trying 'Bulk test', as this mode doesn't have a timeout setting.
120
+
If retrying doesn't work, check whether you're using a long context model, such as ‘gpt-4-32k’, and have set a large value for `max_tokens`. If so, it's expected behavior because your prompt may generate a long response that takes longer than the interactive mode upper threshold. In this situation, we recommend trying 'Bulk test', as this mode doesn't have a timeout setting.
121
121
122
122
3. If you can't find anything in runtime logs to indicate it's a specific node issue
123
123
124
-
Contact the Prompt Flow team ([promptflow-eng](mailto:[email protected])) with the runtime logs. We'll try to identify the root cause.
124
+
Contact the Prompt Flow team ([promptflow-eng](mailto:[email protected])) with the runtime logs. We try to identify the root cause.
125
125
126
126
### How to find the compute instance runtime log for further investigation?
127
127
128
128
Go to the compute instance terminal and run `docker logs -<runtime_container_name>`
129
129
130
-
### User doesn't have access to this compute instance. Please check if this compute instance is assigned to you and you have access to the workspace. Additionally, verify that you are on the correct network to access this compute instance.
130
+
### User doesn't have access to this compute instance. Check if this compute instance is assigned to you and you have access to the workspace. Additionally, verify that you are on the correct network to access this compute instance.
131
131
132
-
:::image type="content" source="./media/how-to-create-manage-runtime/ci-flow-clone-others.png" alt-text="Screenshot of a don't have access error on the flow page. " lightbox = "./media/how-to-create-manage-runtime/ci-flow-clone-others.png":::
132
+
:::image type="content" source="./media/how-to-create-manage-runtime/ci-flow-clone-others.png" alt-text="Screenshot of don't have access error on the flow page. " lightbox = "./media/how-to-create-manage-runtime/ci-flow-clone-others.png":::
133
133
134
-
This because you're cloning a flow from others that is using compute instance as runtime. As compute instance runtime is user isolated, you need to create your own compute instance runtime or select a managed online deployment/endpoint runtime, which can be shared with others.
134
+
It's because you're cloning a flow from others that is using compute instance as runtime. As compute instance runtime is user isolated, you need to create your own compute instance runtime or select a managed online deployment/endpoint runtime, which can be shared with others.
0 commit comments