feat(accuracy): MATH-500 lighteval-backed benchmark (AIP-879)#927
Draft
debermudez wants to merge 1 commit into
Conversation
…ow-up) Switches MATH-500 to lighteval-aligned grading per the trt-llm benchmark recipe's acc_bench_lighteval.py:math_500. Loader emits the bare problem text as the user message; ground_truth is the full solution (containing the boxed answer); LightevalLatexGrader extracts the boxed expression at grade time. Per-row `subject` becomes the task name so the accuracy CSV breaks down by MATH subject. plugins.yaml: `math_500.default_grader`: math → lighteval_latex generation_size: 32768. Reference: trt-llm-benchmark-recipe/src/accuracy/acc_bench_lighteval.py:156 Signed-off-by: Elias Bermudez <dbermudez@nvidia.com>
Try out this PRQuick install: pip install --upgrade --force-reinstall git+https://github.com/ai-dynamo/aiperf.git@c2ac1d4697137da720a6a4c9dba690767a0e39e7Recommended with virtual environment (using uv): uv venv --python 3.12 && source .venv/bin/activate
uv pip install --upgrade --force-reinstall git+https://github.com/ai-dynamo/aiperf.git@c2ac1d4697137da720a6a4c9dba690767a0e39e7Last updated for commit: |
This was referenced May 12, 2026
Contributor
Author
Stack dependencyThis PR is part of an 8-PR stack aligning aiperf's accuracy benchmarks with Merge order:
This PR: position 6 of 8 — base branch is After each upstream PR merges, the downstream PR's branch will be rebased |
This was referenced May 12, 2026
358d5bd to
9bbe752
Compare
e4b5d58 to
28c1485
Compare
9bbe752 to
599d8f4
Compare
28c1485 to
9e0491c
Compare
599d8f4 to
d7552b6
Compare
9e0491c to
3770e19
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
d7552b6 to
b8645f1
Compare
3770e19 to
c2ac1d4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
math_500benchmark inplugins.yaml(default_grader: math,default_n_shots: 0); scaffold loader raisesNotImplementedErroruntil the full lighteval-backed implementation lands.\frac{1}{3},\sqrt{2}).LightevalLatexGrader(lighteval_latex,latex_gold_metric,LatexExtractionConfigon the gold side) introduced in AIP-874.Reference:
trt-llm-benchmark-recipe/src/accuracy/acc_bench_lighteval.py(math_500task)