Fix locking (#13725)

This commit is contained in:
William FH 2023-11-22 07:37:25 -08:00 committed by GitHub
parent 16af282429
commit 5b90fe5b1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -979,6 +979,7 @@ def _prepare_run_on_dataset(
evaluators=run_evaluators or [],
client=client,
example_id=example.id,
max_concurrency=0,
),
progress_bar,
],
@ -1088,7 +1089,6 @@ async def arun_on_dataset(
concurrency_level,
project_metadata=project_metadata,
)
batch_results = await runnable_utils.gather_with_concurrency(
configs[0].get("max_concurrency"),
*map(