Skip to content

Commit 12c147b

Browse files
jsondaicopybara-github
authored andcommitted
fix: remove InternalServerError and Unknown evaluation service error from retriable exceptions
PiperOrigin-RevId: 632333677
1 parent 58e6ac9 commit 12c147b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vertexai/preview/evaluation/metrics/_instance_evaluation.py

-2
Original file line numberDiff line numberDiff line change
@@ -630,10 +630,8 @@ async def evaluate_instances_async(
630630
predicate=api_core.retry.if_exception_type(
631631
api_core.exceptions.Aborted,
632632
api_core.exceptions.DeadlineExceeded,
633-
api_core.exceptions.InternalServerError,
634633
api_core.exceptions.ResourceExhausted,
635634
api_core.exceptions.ServiceUnavailable,
636-
api_core.exceptions.Unknown,
637635
api_core.exceptions.Cancelled,
638636
),
639637
),

0 commit comments

Comments
 (0)