Repository navigation
qe-wharton2's M5 Pro: the precision matrix and the whole-lecture set - #13
Merged
Merged
Conversation
The M5 Pro (18 cores, 64 GB) on its CPU, from main at 736a9ee with the M6's exact packages: the precision matrix (46 rows) and the lecture-jax set three times. It runs the set in 756 s, the fastest of the six devices. A memory check shows overborrowing peaks at 35.0 GB, more than the M6's 32 GB, so the M6's time for it is mostly swap. state.txt is redacted: qe-wharton2 is a guest machine, so its console user's name and its managed software's names are replaced. summarise_whole.py now gives a device whose runs failed no time, rather than naming the T4 host's out-of-memory overborrowing the fastest. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The summarise_whole.py change introduces two reachable crash paths (min(med, ...) and max(counts.values())) when a lecture fails on all of its devices or no successful medians exist, which should be guarded before approval.
1 open issue
What changed in this PR
This PR adds a third machine — qe-wharton2's Apple M5 Pro (18-core CPU, 64 GB) — to the two existing hardware-benchmark workstreams (#1 the precision matrix, #4 the whole JAX-lecture set). It is almost entirely committed result artifacts (JSONL/JSON results, a run log, a run script, and redacted state samples), plus a documentation update and one functional change to the whole-set summariser.
Changes:
- Record the M5 Pro's precision matrix (46 rows,
--devices cpu) and three whole-lecture runs (87 results, all clean), plus an/usr/bin/time -lpeak-memory check foroverborrowing, and document them inprecision/runs/2026-10-25/README.md. - Update
summarise_whole.pyso a device with any unexpected run failure is markedfailed, excluded from "fastest" and from its running total, with the total annotated by how many lectures it covers. - Publish a redacted
state.txt(console user and managed-agent names replaced by placeholders) and the pinned environment freeze.
| File | Description |
|---|---|
lectures/whole/summarise_whole.py |
Core logic change: track failed devices and per-device counts, print failed, annotate partial totals; introduces two empty-collection crash paths. |
precision/runs/2026-10-25/README.md |
Adds the M5 Pro Phase 0 table row, result links, and guest-machine conditions; links and counts verified consistent. |
precision/runs/2026-10-25/wharton2_run.sh, wharton2.log |
Driver script and log recording the actual run. |
lectures/results/qe-wharton2/.../whole/*/cpu-as-written-*.json |
Per-lecture, per-run timing artifacts (e.g. arellano_jax, ifp_egm_jax, schelling_*, about_jax no-code). |
lectures/results/qe-wharton2/.../whole/state.txt, environment.txt |
Redacted machine-state samples and pinned package freeze. |
lectures/results/qe-wharton2/.../checks/overborrowing-memory.txt |
/usr/bin/time -l peak-memory record for overborrowing. |
Review effort: Balanced
A lecture whose runs failed on every device left no medians, and min() raised; an input with no clean runs, or none at all, made max() raise on the totals. Such a lecture's fastest is now "none", and a total that misses lectures is marked against the lectures in the table rather than the best device's count. The four-host summary is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

qe-wharton2's M5 Pro joins #1 and #4: its CPU (18 cores, 6 super and 12 performance, 64 GB), frommainat736a9ee, with the M6's exact packages.--devices cpuresults/qe-wharton2/2026-10-25.jsonl; driver and log inprecision/runs/2026-10-25/lectures/results/qe-wharton2/2026-10-25/whole/overborrowingunder/usr/bin/time -l, once more after the timed runslectures/results/qe-wharton2/2026-10-25/checks/What it shows, added to
lectures/whole/README.md:opt_invest).overborrowingtime is mostly swap. The lecture peaks at a 35.0 GB footprint, more than the M6's 32 GB. Its cell 31 takes 426 s to 459 s on the M6 and 62 s on the M5 Pro. So the card's 24.3× lead there is over the M6's memory; over the M5 Pro it is 3.6×.precision/runs/2026-10-25/README.mdbut not diagnosed.The conditions:
qe-wharton2is a guest machine, so nothing on it was paused.Privacy: the results were scanned before committing.
state.txtis published redacted: the console user's name and the managed software's names are replaced by placeholders, and their CPU figures are kept. One home path in the log is shortened to~. The results files contain no home paths, addresses or credentials. Every.errfile was empty, so none is included.Also:
summarise_whole.pynow showsfailedfor a device whose runs failed. It leaves such a device out of "fastest" and out of its total, and says how many lectures the total covers. It had named the T4 host the fastest onoverborrowing, from its out-of-memory runs.The dashboard's layout for more than six machines (QuantEcon/project-benchmarks-jax#10) is merged, so the M5 Pro gets its own colour once this merges.
🤖 Generated with Claude Code