Skip to content

Improve Crystal lm-eval compatibility and HumanEval diagnostics - #115

Merged
haofrank merged 8 commits into
AMD-AGI:mainfrom
amd-nithya:crystal/eval-compat-test
Oct 6, 2026
Merged

haofrank merged 8 commits into
AMD-AGI:mainfrom
amd-nithya:crystal/eval-compat-test

Conversation

@amd-nithya

Copy link
Copy Markdown
Contributor

Summary

  • align Crystal benchmark execution with the installed lm-eval CLI and module layout
  • preserve task-specific includes and failed eval-only report status across multi-task runs
  • add explicit HumanEval sample logging, write-out, and chat-template switches
  • reject chat-template use for mixed task invocations where log-probability tasks are unsupported

Verification

  • python -m pytest tests/test_eval_concurrency_scripts.py tests/unit/modes/test_benchmarker.py
  • 100 passed

amd-nithya and others added 5 commits September 23, 2026 10:47
Split comma MAGPIE_EVAL_TASKS into separate --tasks argv words, skip
InferenceX utils/evals --include_path for builtin names, keep EVAL_ONLY
successful when accuracy_report.json is COMPLETED, and read
pass@1,create_test for HumanEval.

Co-authored-by: Cursor <cursoragent@cursor.com>
--include_path is a single global flag, but the stock InferenceX YAMLs
suit only some tasks. gsm8k needs them because the shipped builtin still
points at the bare `gsm8k` dataset id that newer huggingface_hub
rejects. gpqa breaks with them because InferenceX's own `utils` package
hides the task's process_docs.

Resolve the stock directory into MAGPIE_EVAL_STOCK_INCLUDE_PATH instead
of discarding it, split the requested tasks into a stock-include group
and a plain group, run lm-eval once per group, and merge the two result
files so downstream gates still see one results_conc<N>.json.

MAGPIE_EVAL_STOCK_INCLUDE_TASKS overrides which tasks take the include
and defaults to gsm8k. Suites that do not use the stock directory keep
their single invocation.

Co-authored-by: Cursor <cursoragent@cursor.com>
…CLI.

An ERROR accuracy report with partial tasks must not become a successful EVAL_ONLY run, and --tasks must stay one comma-separated argument on lm-eval 0.4.8.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@amd-nithya
amd-nithya requested review from a team, haofrank and sinarafati-amd as code owners October 5, 2026 18:09
Comment thread Magpie/scripts/benchmark/magpie_bench_remote_compat.sh
Comment thread Magpie/scripts/benchmark/magpie_bench_remote_compat.sh Outdated
@haofrank
haofrank self-requested a review October 6, 2026 00:23

@haofrank haofrank left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@haofrank
haofrank merged commit ddfd660 into AMD-AGI:main Oct 6, 2026
2 checks passed
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