File tree 1 file changed +0
-3
lines changed
vertexai/preview/evaluation
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -574,7 +574,6 @@ def _run_runnable_inference(
574
574
tasks .append (task )
575
575
for task in tasks :
576
576
response_dict , latency , failure = task .result ()
577
- pbar .update (1 )
578
577
responses .append (response_dict ["output" ])
579
578
latency_list .append (latency )
580
579
failure_list .append (failure )
@@ -602,7 +601,6 @@ def _run_runnable_inference(
602
601
"the pre-existing `response` column provided "
603
602
"in the evaluation dataset is not used."
604
603
)
605
- pbar .update (1 )
606
604
elif callable (runnable ):
607
605
with tqdm (total = len (evaluation_run_config .dataset )) as pbar :
608
606
with futures .ThreadPoolExecutor (
@@ -645,7 +643,6 @@ def _run_runnable_inference(
645
643
" column provided in the evaluation dataset"
646
644
" is not used."
647
645
)
648
- pbar .update (1 )
649
646
else :
650
647
raise ValueError (f"Unsupported runnable type: { type (runnable )} " )
651
648
You can’t perform that action at this time.
0 commit comments