Files
alzeo/evals
Hasan BasbunarandClaude Opus 5 719c17b947 docs: the README becomes an entry point, and its numbers are checked against the record
1,045 lines, one door, and the only way to find anything was to scroll. It is 509
now: what this is, the seven targets with their measured headline, how to install
it, what speed and quality to expect, the targets and the switch, the tools, the
cockpit in short, and an index table naming every other file and the question it
answers. Seven sections moved out whole, each to its own file under docs/, each
leaving a summary and a link behind: the 1M context mode, the flash lane, the
cockpit tour, operations and upgrades, the opencode integration, the GB10 memory
trap in full, and where each lane stands against upstream.

The split was checked line by line against the file it came from. Of 1,045 lines,
the only ones with no verbatim equivalent in the new README or in one of those
files are the 32 rewritten on purpose, and each of those is a correction:

- the headline said 65 tok/s for the 27B lane, which is the v1.9 figure. v1.14.0
  measured 71.4 on the release image this lane has served since 2026-09-17, in the
  same campaign that measured 69.8 on the image it replaced. Title, target table
  and speed section now say 71.4 and name the campaign behind each number.
- the memory section read as though the installed fraction were 0.50, which is the
  native-mode and ./run.sh value. The 1m mode has been the default since v1.12.1
  and runs 0.76. Both are stated now, each with its mode.
- the KV pool comparison published three boots against two. The engine journal has
  eleven for that day, six and five: 517,184 to 566,016 against 482,560 to 510,592.
  The ranges still do not overlap, by 6,592 tokens at their closest, but the gap on
  the means is 9.6% and not the 6% published from the subset. README, BENCHMARKS and
  the v1.14.1 entry all carry the full set now.
- two citations pointed at text that is not there: the README claimed a flat-memory
  result was "quoted elsewhere in this README" when it lives in BENCHMARKS.md, and
  keepalive-proxy.py justified its 92% usable share by quoting a README line about a
  178,560-token pool that no longer exists anywhere. Both now name where the number
  actually is. Neither was caused by this release; both survived because nothing
  checks a quoted section title.
- the flash lane's quality is in the README as measured rather than as adjectives:
  GSM8K 97.41% over all 1,319 questions, MMLU 500 at 90.8%, HumanEval 164 pass@1 at
  95.73%, tool calling 15/15 with reasoning off and on, needle 2/2 at 120K and 200K,
  conc-check 40/40 serial and 80/80 at four concurrent.

evals/ ships the two drivers, because two of those numbers could not be reproduced
from this repo. The image's run_eval --eval-name mmlu shells out to an sgl-eval
binary it does not ship, and its HumanEval path needs a package that is not there
and then dies in os.fork against the image's filelock. Six gates hold what makes
them work, with a stub sglang and no network: the score line a caller greps, the
dataset MMLU is measured against, spawn rather than fork, and one sample per task
instead of the harness default of five, which at temperature 0 is the same answer
five times.

ARCHITECTURE.md gains the two directories it did not describe and tools-check.py in
its table of instruments. TESTING.md gains a 2026-09-19 column counted mechanically
on both commits: 34 test files against 20, 587 test functions against 442, 55 CI
steps against 38. docs/flash-lane.md records the one boot in thirteen that died at
CUDA graph capture on 2026-09-18, because a failure that costs twelve minutes and
explains nothing belongs written down even when it happened once.

Local CI: 56 steps, 55 ok, the socket gate failing on this serving box because
other processes cycle ephemeral listeners during the suite, which is the case its
own message describes. Both suites green: 223 and 370.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-19 12:55:10 +02:00
..

Quality evals: MMLU and HumanEval, against a lane this repo serves

Two drivers, because the invocations that should work do not. In the SGLang image this repo's flash lane serves:

  • python3 -m sglang.test.run_eval --eval-name mmlu measures nothing itself any more. It shells out to an external sgl-eval binary (sgl-project/sgl-eval, first published on PyPI 2026-09-12) that the image does not ship, and dies with a FileNotFoundError before it reaches the server.
  • its HumanEval path imports a human_eval package that is not in the image, and once that is mounted from the official tree it dies inside os.fork, because the image's filelock (3.32.5) installs an audit hook that refuses one.

Both failures print a traceback and then an empty score, which reads exactly like a model that scored nothing. That is how this repo's first two runs were lost (2026-09-18). GSM8K needs none of this: its path in the image still runs in process, so run_eval --eval-name gsm8k is fine.

mmlu.py drives the MMLUEval class still vendored in the image, against the same openaipublic dataset the old path used. humaneval.py runs the official openai/human-eval tree with the multiprocessing start method set to spawn, and one sample per task instead of the harness default of five: at temperature 0 those five are the same answer five times.

Running them

Both take <served-model-name> <examples> <threads> [base-url] and print a line containing 'score': <value>. The engine must already be up.

KEY="$(cat ~/.config/qwen38/api-key)"

# MMLU, 500 questions
docker run --rm --network host -e OPENAI_API_KEY="$KEY" \
  -v "$PWD/evals/mmlu.py":/d.py:ro --entrypoint python3 \
  lmsysorg/sglang:latest /d.py qwen3.8-flash-next 500 32

# HumanEval, 164 problems, pass@1. Fetch the official tree first (pinned), and
# mount it read only: it executes model-generated code, so nothing else of this
# box goes into that container.
curl -sL https://github.com/openai/human-eval/archive/6d43fb980f9fee3c892a914eda09951f772ad10d.tar.gz \
  | tar -xz && mv human-eval-6d43fb98* /tmp/human-eval
docker run --rm --network host -e OPENAI_API_KEY="$KEY" -e PYTHONPATH=/he \
  -v /tmp/human-eval:/he:ro -v "$PWD/evals/humaneval.py":/d.py:ro \
  --entrypoint python3 lmsysorg/sglang:latest /d.py qwen3.8-flash-next 164 32

Replace qwen3.8-flash-next with qwen3.8-27b for the 27B lane, and add a fourth argument to point somewhere other than http://127.0.0.1:30000/v1.

What these measured on this box, on both flash exports: BENCHMARKS.md, "RadixArk against NVIDIA, head to head".

Back to the README