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

Refactor jsonifier to be taken as an argument to BenchmarkRunner.run() #185

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

nicholasjng
Copy link
Collaborator

This ensures better flexibility when needing to override the builtin parameter representation facility.

Additionally, guard against interface mismatches when calling val.to_json(), which happened in the Huggingface example. In that case, fall back (also in general) to the value of repr(val).

This ensures better flexibility when needing to override the builtin parameter
representation facility.

Additionally, guard against interface mismatches when calling `val.to_json()`,
which happened in the Huggingface example. In that case, fall back (also in general)
to the value of repr(val).
@nicholasjng nicholasjng merged commit bf93864 into main Dec 3, 2024
14 checks passed
@nicholasjng nicholasjng deleted the restructure-jsonify branch December 3, 2024 14:40
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.

1 participant