Skip to content

Commit

Permalink
fix: Set max workers of threadpool in runner to 1 as temporary fix
Browse files Browse the repository at this point in the history
Task: IL-327
  • Loading branch information
SebastianNiehusAA committed Apr 23, 2024
1 parent f24d0c9 commit 17c71fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/intelligence_layer/evaluation/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def run(
examples = islice(examples, num_examples)

start = utc_now()
with ThreadPoolExecutor(max_workers=10) as executor:
with ThreadPoolExecutor(max_workers=1) as executor:
ids_and_outputs = tqdm(executor.map(run, examples), desc="Evaluating")

failed_count = 0
Expand Down

0 comments on commit 17c71fb

Please sign in to comment.