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

Google suts #559

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Google suts #559

wants to merge 5 commits into from

Conversation

bkorycki
Copy link
Contributor

@bkorycki bkorycki commented Oct 7, 2024

No description provided.

@bkorycki bkorycki requested a review from wpietri October 7, 2024 15:45
@bkorycki bkorycki requested a review from a team as a code owner October 7, 2024 15:45
Copy link

github-actions bot commented Oct 7, 2024

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@wpietri
Copy link
Contributor

wpietri commented Oct 8, 2024

I am having trouble running a benchmark with this. I get:

Traceback (most recent call last):
  File "/home/william/projects/mlcommons/modelbench/src/modelbench/benchmark_runner.py", line 330, in handle_item
    raw_response = mg_sut.evaluate(raw_request)
  File "/home/william/projects/mlcommons/modelbench/plugins/google/modelgauge/suts/google_genai_client.py", line 81, in evaluate
    return GoogleGenAiResponse(**response.to_dict())
  File "/home/william/.cache/pypoetry/virtualenvs/modelbench-NLtplA-d-py3.10/lib/python3.10/site-packages/pydantic/main.py", line 212, in __init__
    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for GoogleGenAiResponse
candidates.0.content
  Field required [type=missing, input_value={'finish_reason': 3, 'ind...[], 'avg_logprobs': 0.0}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.9/v/missing

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.

2 participants