Skip to content

Commit ad9ab77

Browse files
jieru-huVishnuSuresh27
authored andcommitted
Update google-cloud-aiplatform dependency (ShishirPatil#677)
When I tried to run `$ python openfunctions_evaluation.py --model gemini-1.5-pro-002-FC` I got a lot of ``` Generating results for gemini-1.5-pro-002-FC: 2%|█▋ | 80/4751 [00:49<1:06:42, 1.17it/s]❗️Failed to write result: Object of type RepeatedComposite is not JSON serializable Generating results for gemini-1.5-pro-002-FC: 2%|█▉ | 89/4751 [00:55<43:43, 1.78it/s]❗️Failed to write result: Object of type RepeatedComposite is not JSON serializable Generating results for gemini-1.5-pro-002-FC: 2%|█▉ | 90/4751 [00:56<1:07:45, 1.15it/s]❗️Failed to write result: Object of type RepeatedComposite is not JSON serializable Generating results for gemini-1.5-pro-002-FC: 2%|██ | 92/4751 [00:57<56:26, 1.38it/s]❗️Failed to write result: Object of type RepeatedComposite is not JSON serializable ❗️Failed to write result: Object of type RepeatedComposite is not JSON serializable Generating results for gemini-1.5-pro-002-FC: 2%|██ | 94/4751 [01:04<2:05:32, 1.62s/it]❗️Failed to write result: Object of type RepeatedComposite is not JSON serializable ``` upgrading to the latest version seems to fix this issue.
1 parent 6f4c85e commit ad9ab77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

berkeley-function-call-leaderboard/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies = [
2828
"anthropic==0.37.1",
2929
"transformers==4.46.0",
3030
"cohere==5.5.8",
31-
"google-cloud-aiplatform==1.65.0",
31+
"google-cloud-aiplatform>=1.70.0",
3232
"pathlib",
3333
]
3434

0 commit comments

Comments
 (0)