stanfordnlp/dspy

[Bug] ParallelEvaluate `causes cannot schedule new futures after shutdown on long evals`

Open

#9574 opened on Apr 7, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (4,708 stars) (290 forks)batch import
help wanted

Description

dspy.Evaluate doesn't expose timeout. ParallelExecutor's 120s straggler timeout causes cannot schedule new futures after shutdown on long evals.

source: https://x.com/kargarisaac/status/2041596855172424159

Contributor guide