Skip to content

Make test sut options consistent and easier to access.#1425

Merged
superdosh merged 2 commits into
mainfrom
update-max-tokens-default
Jan 6, 2026
Merged

Make test sut options consistent and easier to access.#1425
superdosh merged 2 commits into
mainfrom
update-max-tokens-default

Conversation

@superdosh
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 19, 2025

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

@superdosh superdosh temporarily deployed to Scheduled Testing December 19, 2025 17:53 — with GitHub Actions Inactive
@superdosh superdosh marked this pull request as ready for review December 19, 2025 17:54
@superdosh superdosh requested a review from a team as a code owner December 19, 2025 17:54
@superdosh
Copy link
Copy Markdown
Contributor Author

superdosh commented Dec 19, 2025

@bollacker adding you to confirm the numbers.

"""

hazards = Hazards()
_sut_options = SUTOptions(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this something that could be in a superclass of the safe test and the security test, or is that too much of a twee "optimization"?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It is, actually: https://github.com/mlcommons/modelbench/blob/main/src/modelgauge/base_test.py#L30

I wasn't sure we'd want the same default in the superclass though? I'm not sure; could be convinced.

Copy link
Copy Markdown
Contributor

@wpietri wpietri left a comment

Choose a reason for hiding this comment

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

Nice! A good step forward.

@superdosh
Copy link
Copy Markdown
Contributor Author

Holding on merging this until after break.

Copy link
Copy Markdown
Contributor

@bkorycki bkorycki left a comment

Choose a reason for hiding this comment

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

I don't really understand what this is achieving to be honest. But go ahead and merge it if you think its necessary!

@superdosh superdosh merged commit 94e90c6 into main Jan 6, 2026
2 of 3 checks passed
@superdosh superdosh deleted the update-max-tokens-default branch January 6, 2026 17:49
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 6, 2026
@superdosh
Copy link
Copy Markdown
Contributor Author

Discussed live with @bkorycki and we're on the same page!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants