-
Notifications
You must be signed in to change notification settings - Fork 940
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
[Perf] Evaluate API: Support parallelized evaluator batch run through pf.run #3380
Conversation
promptflow SDK CLI Azure E2E Test Result users/ninhu/perf_improve 4 files 4 suites 4m 18s ⏱️ Results for commit 5ddefa3. ♻️ This comment has been updated with latest results. |
SDK CLI Global Config Test Result users/ninhu/perf_improve6 tests 6 ✅ 1m 24s ⏱️ Results for commit 5ddefa3. ♻️ This comment has been updated with latest results. |
Executor Unit Test Result users/ninhu/perf_improve796 tests 796 ✅ 3m 48s ⏱️ Results for commit 5ddefa3. ♻️ This comment has been updated with latest results. |
Executor E2E Test Result users/ninhu/perf_improve246 tests 238 ✅ 5m 4s ⏱️ For more details on these failures, see this check. Results for commit 5ddefa3. ♻️ This comment has been updated with latest results. |
SDK CLI Test Result users/ninhu/perf_improve 4 files 4 suites 1h 7m 21s ⏱️ Results for commit 5ddefa3. ♻️ This comment has been updated with latest results. |
src/promptflow-evals/promptflow/evals/evaluate/_code_client/proxy_client.py
Outdated
Show resolved
Hide resolved
src/promptflow-evals/promptflow/evals/evaluate/_code_client/proxy_client.py
Outdated
Show resolved
Hide resolved
src/promptflow-devkit/promptflow/_sdk/_utilities/general_utils.py
Outdated
Show resolved
Hide resolved
… runs instead of processes. (#3412) # Description This change is related to #3380 # All Promptflow Contribution checklist: - [ ] **The pull request does not introduce [breaking changes].** - [ ] **CHANGELOG is updated for new features, bug fixes or other significant changes.** - [ ] **I have read the [contribution guidelines](../CONTRIBUTING.md).** - [ ] **Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: [suggested workflow](../CONTRIBUTING.md#suggested-workflow).** ## General Guidelines and Best Practices - [ ] Title of the pull request is clear and informative. - [ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md). ### Testing Guidelines - [ ] Pull request includes test coverage for the included changes. --------- Co-authored-by: Clement Wang <[email protected]>
Description
The change in this PR addresses the performance issues we were seeing with the Evaluate API. This is the first step in optimizing performance. The improvements include:
Improvements from this change:
Windows OS, remote tracking disabled
4 evaluators, 100 rows:
1 evaluator, 1 row:
Investigation details can be found here
All Promptflow Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines