Skip to content

Use gepa async evaluator support in GEPA example#24

Merged
benediktstroebl merged 1 commit intomainfrom
feature/update-gepa-example-2s1
Mar 27, 2026
Merged

Use gepa async evaluator support in GEPA example#24
benediktstroebl merged 1 commit intomainfrom
feature/update-gepa-example-2s1

Conversation

@benediktstroebl
Copy link
Copy Markdown
Collaborator

Simplifies the GEPA example by leveraging gepa's new async evaluator support (gepa-ai/gepa#278):

  • Make evaluate/run_trial async so gepa auto-detects them and uses asyncio.gather() for batch concurrency
  • Remove the manual background event loop thread and run_coroutine_threadsafe bridging
  • Remove max_workers from EngineConfig (concurrency now controlled by TrialQueue's semaphore)
  • Pin gepa to feat/async-evaluator-support branch

@benediktstroebl benediktstroebl merged commit 77a13f2 into main Mar 27, 2026
2 checks passed
@benediktstroebl benediktstroebl deleted the feature/update-gepa-example-2s1 branch March 27, 2026 05:06
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.

1 participant