Skip to content

feat: progress on parallelization of eval runs#647

Merged
akshaylive merged 1 commit into
mainfrom
feat/batch_processing
Oct 10, 2025
Merged

feat: progress on parallelization of eval runs#647
akshaylive merged 1 commit into
mainfrom
feat/batch_processing

Conversation

@mathurk

@mathurk mathurk commented Oct 6, 2025

Copy link
Copy Markdown
Collaborator

Did a test with 10 evaluations following config:

image

and varied the number of workers and found this as the general time trends:
image

the time gained is pretty dismal, but something is better than nothing for starters ?

@mathurk mathurk marked this pull request as draft October 6, 2025 22:22
@mjnovice mjnovice force-pushed the feat/eval_output_formatting branch 3 times, most recently from 55716ea to 7d8c55c Compare October 8, 2025 10:41
@radu-mocanu radu-mocanu force-pushed the feat/eval_output_formatting branch 4 times, most recently from 24d7226 to c53c83b Compare October 8, 2025 11:04
@mjnovice mjnovice force-pushed the feat/eval_output_formatting branch from c53c83b to e87a79c Compare October 8, 2025 11:16
@radu-mocanu radu-mocanu force-pushed the feat/eval_output_formatting branch 4 times, most recently from f9f4487 to e860386 Compare October 8, 2025 12:19
Base automatically changed from feat/eval_output_formatting to main October 8, 2025 12:31
@mjnovice mjnovice force-pushed the feat/batch_processing branch from 753d89c to 7c2d91e Compare October 8, 2025 15:05
@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Oct 8, 2025
@akshaylive akshaylive mentioned this pull request Oct 8, 2025
Comment thread src/uipath/_cli/_evals/_runtime.py Outdated
Comment thread src/uipath/_cli/_evals/_console_progress_reporter.py Outdated
Comment thread src/uipath/_cli/_evals/_runtime.py Outdated
@mjnovice mjnovice force-pushed the feat/batch_processing branch from d0f1a8c to a212f4f Compare October 9, 2025 11:21
@mjnovice mjnovice marked this pull request as ready for review October 9, 2025 14:49
@mjnovice mjnovice force-pushed the feat/batch_processing branch from 1191661 to a5dfafd Compare October 9, 2025 15:35
Comment thread src/uipath/_cli/_evals/_runtime.py Outdated
Comment thread src/uipath/_cli/_evals/_runtime.py Outdated
@mjnovice mjnovice force-pushed the feat/batch_processing branch from a5dfafd to 303d7ae Compare October 10, 2025 08:15
@mjnovice mjnovice requested a review from akshaylive October 10, 2025 08:16
Comment thread src/uipath/_cli/_evals/_runtime.py Outdated
@mjnovice mjnovice force-pushed the feat/batch_processing branch 2 times, most recently from eb0bbd9 to ad486d6 Compare October 10, 2025 08:46
@mjnovice mjnovice requested a review from radu-mocanu October 10, 2025 08:46
@mjnovice mjnovice force-pushed the feat/batch_processing branch from ad486d6 to baae301 Compare October 10, 2025 08:47
Comment thread src/uipath/_cli/_evals/_runtime.py Outdated
@mjnovice mjnovice force-pushed the feat/batch_processing branch 2 times, most recently from 58522f1 to b28fe7c Compare October 10, 2025 10:53
@mjnovice mjnovice requested a review from radu-mocanu October 10, 2025 10:54
@mjnovice mjnovice force-pushed the feat/batch_processing branch 4 times, most recently from 8450abe to d5aa835 Compare October 10, 2025 18:04
@mjnovice mjnovice force-pushed the feat/batch_processing branch from d5aa835 to c7bcd9d Compare October 10, 2025 18:05
result = await self._execute_eval(eval_item, evaluators, event_bus)

# Store result with its index to maintain order
results_dict[index] = result

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I personally like the semaphore approach and avoids anti-patterns like this mutation. We can address this later.

@akshaylive akshaylive left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We'll need to follow up with setting the optimal default value.

@akshaylive akshaylive merged commit 9165712 into main Oct 10, 2025
59 checks passed
@akshaylive akshaylive deleted the feat/batch_processing branch October 10, 2025 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants