Skip to content

Increase retry attempts from 3 to 5#5

Merged
emac-E merged 1 commit into
emac-E:mainfrom
Lifto:config/increase-retries
Apr 10, 2026
Merged

Increase retry attempts from 3 to 5#5
emac-E merged 1 commit into
emac-E:mainfrom
Lifto:config/increase-retries

Conversation

@Lifto

@Lifto Lifto commented Apr 7, 2026

Copy link
Copy Markdown

Summary

  • Increase num_retries from 3 to 5 for both LLM judge and API calls
  • With exponential backoff, this adds ~48s of retry headroom before giving up

Motivation

During evaluation runs with heavy Vertex AI load, 429 rate limits and 504 gateway timeouts sometimes exhaust 3 retries, causing false errors on questions that would pass on the next attempt.

Vertex AI rate limits (429) and transient timeouts (504) sometimes
exhaust 3 retries during large evaluation runs. 5 retries with
exponential backoff (4s, 4s, 8s, 16s, 32s) gives enough headroom.
emac-E pushed a commit that referenced this pull request Apr 10, 2026
LCORE-162: Setup all CI all linters/checkers
@emac-E emac-E merged commit 392b9c6 into emac-E:main Apr 10, 2026
5 of 15 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.

2 participants