Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update google-cloud-aiplatform dependency #677

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

jieru-hu
Copy link
Contributor

@jieru-hu jieru-hu commented Oct 9, 2024

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.

@jieru-hu
Copy link
Contributor Author

jieru-hu commented Oct 9, 2024

@HuanzhiMao did you encounter this as well when working on #658?

Copy link
Collaborator

@HuanzhiMao HuanzhiMao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @jieru-hu,
Thanks for the PR. I had not encountered this issue previously; they seem to change to use a different object class.

@ShishirPatil ShishirPatil merged commit f6c162f into ShishirPatil:main Oct 16, 2024
VishnuSuresh27 pushed a commit to VishnuSuresh27/gorilla that referenced this pull request Nov 11, 2024
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.
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.

3 participants