feat: Enable per dataset max-osl#344
Conversation
|
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
There was a problem hiding this comment.
Code Review
This pull request introduces a model_params_override field to the dataset configuration, allowing per-dataset overrides of the top-level model parameters. This is particularly useful for scenarios like MLPerf-style runs where accuracy and performance datasets require different configurations. The changes include validation of override keys, merging logic in effective_model_params, template updates, and comprehensive unit tests. Feedback from the reviewer highlights that the current implementation of effective_model_params performs a shallow merge, which could inadvertently overwrite entire nested dictionaries (such as osl_distribution). The reviewer suggests implementing a deep merge helper to preserve other nested configuration fields and adding corresponding unit tests to verify this behavior.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
arekay-nv
left a comment
There was a problem hiding this comment.
Review Council — Claude-only review (Codex failed: cloud policy auth error)
Review Council — Claude-only Code ReviewReviewed by: Claude (Codex failed — cloud workspace policy auth error) | Depth: standard (240 lines) Found 2 issues across 2 files:
Issue 1 (inline): Issue 2 (summary-only, line outside diff): |
nvzhihanj
left a comment
There was a problem hiding this comment.
Review Council — first-principles WAR design review
Reviewed by: Claude (Codex review timed out — xhigh reasoning latency exceeds the 600s cap even on this small diff) · Depth: thorough
Scope: is the per-dataset max-OSL WAR correctly designed for a clean later refactor, given the long-term goal of per-phase generation config? 8 net-new findings (none duplicate the existing maintainer / gemini comments); verdict + long-term plan in the summary comment. The HIGH streaming data-integrity bug was verified against the source.
Review Council — first-principles WAR design reviewReviewed by: Claude · Depth: thorough This is a focused assessment of whether the per-dataset max-OSL WAR is correctly designed for a clean later refactor, given the long-term goal of per-phase generation config. 8 net-new findings posted inline — none duplicate the existing maintainer / gemini comments. Verdict on the WARIt achieves the immediate need (accuracy vs performance differ, since they're separate dataset entries) but is not yet "correct" as a WAR — three structural issues:
Minimal clean WAR: rename → Long-term: split 🔴 Must-fix (for the WAR to be correct)
🟡 Should-fix
🔵 Consider
Through-line: A, C, D, F are all symptoms of the same root cause — generation config is modeled as part of Dedup: builds on — does not duplicate — the maintainer's naming/per-run comment and gemini's shallow-merge note (D explicitly extends it). The |
fa1ba98 to
553a6d2
Compare
Review Council — Multi-AI Code ReviewReviewed by: Claude (Codex did not complete — see note) | Depth: standard | Head: No blocking code-level issues found in the per-dataset Verified during review:
🔵 One optional follow-up (non-blocking): the perf-path invalid-override branch ( Notes:
|
7fe333a to
6570a5f
Compare
Signed-off-by: Rashid Kaleem <230885705+arekay-nv@users.noreply.github.com> Address comments Signed-off-by: Rashid Kaleem <230885705+arekay-nv@users.noreply.github.com>
6570a5f to
da55aff
Compare
arekay-nv
left a comment
There was a problem hiding this comment.
Review Council — Multi-AI Code Review
Reviewed by: Codex + Claude | Depth: standard
1 net-new issue (most council findings were already covered by existing review comments — see summary).
Review Council — Multi-AI Code ReviewReviewed by: Codex + Claude | Depth: standard | Head: Ran two independent reviews (Codex in an isolated worktree + Claude on the diff), verified every cited line against source at HEAD, and deduped against the PR's existing review comments. Posted: 1 net-new issue. Most council findings were already raised in earlier review threads and were suppressed to avoid duplicate noise.
Suppressed as duplicates of existing comments
The net-new findingCodex spotted that
|
Signed-off-by: arekay-nv <230885705+arekay-nv@users.noreply.github.com>
Signed-off-by: arekay-nv <230885705+arekay-nv@users.noreply.github.com>
Signed-off-by: Rashid Kaleem <230885705+arekay-nv@users.noreply.github.com>
Signed-off-by: Rashid Kaleem <230885705+arekay-nv@users.noreply.github.com>
Signed-off-by: Rashid Kaleem <230885705+arekay-nv@users.noreply.github.com>
What does this PR do?
Enables the max-osl to be specified per-dataset. This enables running perf/accuracy runs with different OSL in the same benchmark.
Type of change
Related issues
Testing
Checklist