Skip to content

Conversation

@luis-gasparschroeder
Copy link
Collaborator

The LLMSimilarityEvaluator requires async execution to ensure performant e2e latency.

To achieve that, I multi-threaded the exploration logic. The multi-threaded logic is decoupled from the core logic.

Every LLM-based label generation gets processed with its own thread (I/O bounded). The logic maintains one global and thread-safe queue to handle the vector db and metadata objects.

The logic is tested and verified by running the actual benchmarks.

@luis-gasparschroeder luis-gasparschroeder self-assigned this Jun 13, 2025
@luis-gasparschroeder luis-gasparschroeder linked an issue Jun 13, 2025 that may be closed by this pull request
5 tasks
Copy link
Collaborator

@AlexCuadron AlexCuadron left a comment

Choose a reason for hiding this comment

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

Very nice, only some nits and questions. Fix those and its ready :)

@vcache-project vcache-project marked this pull request as ready for review June 14, 2025 13:33
@vcache-project vcache-project merged commit 78cc4a6 into master Jun 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Async Re-Evaluation

4 participants