Skip to content

Commit

Permalink
fix: remove InternalServerError and Unknown evaluation service error …
Browse files Browse the repository at this point in the history
…from retriable exceptions

PiperOrigin-RevId: 632333677
  • Loading branch information
jsondai authored and Copybara-Service committed May 10, 2024
1 parent 58e6ac9 commit 12c147b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vertexai/preview/evaluation/metrics/_instance_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,10 +630,8 @@ async def evaluate_instances_async(
predicate=api_core.retry.if_exception_type(
api_core.exceptions.Aborted,
api_core.exceptions.DeadlineExceeded,
api_core.exceptions.InternalServerError,
api_core.exceptions.ResourceExhausted,
api_core.exceptions.ServiceUnavailable,
api_core.exceptions.Unknown,
api_core.exceptions.Cancelled,
),
),
Expand Down

0 comments on commit 12c147b

Please sign in to comment.