Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluation timeout for promptflow using Azure AI Evaluation SDK #39001

Open
kshitijcode opened this issue Dec 30, 2024 · 1 comment
Open

Evaluation timeout for promptflow using Azure AI Evaluation SDK #39001

kshitijcode opened this issue Dec 30, 2024 · 1 comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Evaluation Issues related to the client library for Azure AI Evaluation needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@kshitijcode
Copy link

  • azure-ai-evaluation:
  • 1.1.0:
  • MAC:
  • 3.12:

Describe the bug
We are trying to run evaluations using azure ai evaluation SDK. We have create a custom evaluator which takes more than 10 minutes to complete. We get the error

{"message": "Failed to run 1/13 lines. First error message is: Line 0 execution timeout for exceeding 600 seconds", "messageFormat": "", "messageParameters": {}, "referenceCode": "Runtime", "code": "UserError", "innerError": {"code": "SDKError", "innerError": {"code": "BulkRunException", "innerError": null}}, "additionalInfo": [{"type": "BulkRunErrors", "info": {"errors": [{"line_number": 0, "error": {"message": "Line 0 execution timeout for exceeding 600 seconds", "messageFormat": "Line {line_number} execution timeout for exceeding {timeout} seconds", "messageParameters": {"line_number": "0", "timeout": "600"}, "referenceCode": "Executor", "code": "UserError", "innerError": {"code": "LineExecutionTimeoutError", "innerError": null}, "debugInfo": {"type": "LineExecutionTimeoutError", "message": "Line 0 execution timeout for exceeding 600 seconds", "stackTrace": "Traceback (most recent call last):\n", "innerException": null}}}]}}], "debugInfo": {"type": "BulkRunException", "message": "Failed to run 1/13 lines. First error message is: Line 0 execution timeout for exceeding 600 seconds", "stackTrace": "Traceback (most recent call last):\n", "innerException": null}}

This indicates that the prompt flow run in the backend is taking more than 600 seconds. Is there a way I can increase the timeout?

To Reproduce
Steps to reproduce the behavior:

  1. Create any custom evalutor which takes more than 600 seconds to execute. We can simply place sleep of 600 seconds in evalator code.
  2. Run the evaluator and timeout issue will occur.

Expected behavior
A clear and concise description of what you expected to happen.
Evaluation should run succesfully.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 30, 2024
@xiangyan99 xiangyan99 added Service Attention Workflow: This issue is responsible by Azure service team. Evaluation Issues related to the client library for Azure AI Evaluation and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Dec 30, 2024
@github-actions github-actions bot added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Dec 30, 2024
Copy link

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @luigiw @needuv @singankit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Evaluation Issues related to the client library for Azure AI Evaluation needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants