Skip to content

Conversation

@ShaneIsley
Copy link
Owner

  • Add --sample-timeout CLI option (default: 300s / 5 minutes)
  • Samples that exceed timeout are aborted with clear error message
  • Timeout errors are classified as fatal with actionable suggestion: "Try --sample-timeout to increase, or reduce --context-length"
  • Uses ThreadPoolExecutor with timeout for clean cancellation

This prevents benchmarks from hanging indefinitely when API calls stall or when very large contexts cause excessive processing time.

- Add --sample-timeout CLI option (default: 300s / 5 minutes)
- Samples that exceed timeout are aborted with clear error message
- Timeout errors are classified as fatal with actionable suggestion:
  "Try --sample-timeout to increase, or reduce --context-length"
- Uses ThreadPoolExecutor with timeout for clean cancellation

This prevents benchmarks from hanging indefinitely when API calls
stall or when very large contexts cause excessive processing time.
@ShaneIsley ShaneIsley merged commit 072d1b1 into main Jan 17, 2026
2 of 3 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.

3 participants