Skip to content

qe-wharton2 2026-11-15: #4's small-product checks on the M5 Pro - #64

Merged
mmcky merged 2 commits into
mainfrom
2026-11-15-m5-pro-ynn4-checks
Nov 15, 2026
Merged

mmcky merged 2 commits into
mainfrom
2026-11-15-m5-pro-ynn4-checks

Conversation

@mmcky

@mmcky mmcky commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

For QuantEcon/project-benchmarks-jax#4, the small-float32-product cost on Apple Silicon: the M6's checks of 2026-11-09 (precision/runs/2026-11-09/qe-mini1/checks/), run on qe-wharton2's M5 Pro on 2026-11-15, from 19:57:31 to 19:59:04 UTC. Everything is in precision/runs/2026-11-15/qe-wharton2/checks/, with a README.

M6, 2026-11-09 M5 Pro, 2026-11-15
#4's reproducer: float32, float64, float32 with the fusion cleared, µs 1.098, 0.174, 0.169 0.729, 0.202, 0.202
kalman at T = 1,000: float32, cleared, float64, ms 5.04, 1.40, 1.36 4.08, 1.96, 1.69
matmul at 1,000 in float32: default, cleared, GFLOPS 1,938, 849 2,141, 1,089

So the cost is on the M5 Pro too, but smaller: a small float32 product under YNNPACK's fusion takes 3.2 to 3.6 times as long as in float64, against 6.3 to 6.5 on the M6.

How it ran:

  • The script is session/m5_ynn4.sh, part 1 of the M6's m6_window.sh unchanged but for the host and the paths. It runs main's ynn_dot_check.py and repro4.py, with sha256s matching, and run_matrix.py from a worktree at 5fbf033, as on the M6.
  • The software: macOS 26.7.2 (25G332), JAX 0.12.0.1, NumPy 2.5.4 and SciPy 1.18.1. The earlier M5 Pro rows ran on macOS 26.7.1.
  • Other load: it's a guest machine, so nothing was paused. Its owner was logged in, and macOS's software-update service took up to 3.3 cores during the single-threaded timings. The README gives the samples, says which figures it touched, and leaves out the matmul rates at 10,000.
  • Redaction: state.txt's managed software is shown as <managed agent>. The run's own account isn't redacted, as in the machine's earlier runs.

It closes nothing. #4's draft cites this after it merges.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMZXaSPhPfoP4ShvCrj

For QuantEcon/project-benchmarks-jax#4: the M6's checks of 2026-11-09
(precision/runs/2026-11-09/qe-mini1/checks/), part 1 of its window script,
on the M5 Pro on macOS 26.7.2. ynn_dot_check.py and #4's reproducer in
float32, float64 and float32 with YNNPACK's fusion cleared, then
run_matrix.py's kalman and matmul cells at 5fbf033, with and without it.
The managed agents' names are redacted in the state samples.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMZXaSPhPfoP4ShvCrj
Copilot AI balanced review requested due to automatic review settings November 15, 2026 20:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Note

Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

🟢 Approval recommended

The change primarily adds benchmark outputs and provenance artifacts with documentation, and the review notes only a minor README link-path nit with no remaining issues blocking approval.

No open issues 🎉

What changed in this PR

Adds a new recorded benchmark/check bundle for QuantEcon/project-benchmarks-jax#4, capturing qe-wharton2 (Apple M5 Pro) measurements of the small float32 product behavior under YNNPACK fusion along with full run provenance.

Changes:

  • Commit the M5 Pro run’s primary outputs (ynn_dot_check, #4 reproducer results, and matrix summaries) plus raw JSONL artifacts.
  • Include reproducibility/provenance materials (session script, run log, and machine state snapshots).
  • Document the run setup and cross-machine comparison in a per-run README (with a minor link-path nit noted in review).
File Description
precision/​runs/​2026-11-15/​qe-wharton2/​checks/​ynn_dot_check.txt Records dot microbenchmark timings and lowering notes comparing default vs fusion-cleared settings on the M5 Pro run.
precision/​runs/​2026-11-15/​qe-wharton2/​checks/​state.txt Captures host OS/hardware details and periodic system/load snapshots taken during the benchmark run (with managed agents redacted).
precision/​runs/​2026-11-15/​qe-wharton2/​checks/​session/​m5_ynn4.sh Adds the session script used to run the checks and generate the committed artifacts on qe-wharton2.
precision/​runs/​2026-11-15/​qe-wharton2/​checks/​run.log Logs execution timeline, tool versions, and provenance hashes for the scripts used to produce the results.
precision/​runs/​2026-11-15/​qe-wharton2/​checks/​repro4.txt Contains the captured outputs/timings from the issue #4 reproducer across float32/float64 and fusion-cleared float32 cases.
precision/​runs/​2026-11-15/​qe-wharton2/​checks/​README.md Documents what was run, environment/context, and summarizes headline results and comparison to the earlier M6 run.
precision/​runs/​2026-11-15/​qe-wharton2/​checks/​matrix.txt Provides a human-readable summary of run_matrix results (e.g., kalman/matmul) under default vs fusion-cleared configurations.
precision/​runs/​2026-11-15/​qe-wharton2/​checks/​matrix-ynn-cleared/​qe-wharton2/​2026-11-15.jsonl Adds machine-readable per-workload metrics for the fusion-cleared (YNN disabled/cleared) matrix runs.
precision/​runs/​2026-11-15/​qe-wharton2/​checks/​matrix-default/​qe-wharton2/​2026-11-15.jsonl Adds machine-readable per-workload metrics for the default (fusion-enabled) matrix runs.

Review effort: Balanced

…'s header

The README now links the M6's window script it names. The published copy
of m5_ynn4.sh drops a phrase about the machine's plans from its header
comment, and the README says it differs from the copy that ran, whose
sha256 run.log gives; the commands are the same.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMZXaSPhPfoP4ShvCrj
@mmcky
mmcky merged commit 9458dc6 into main Nov 15, 2026
@mmcky
mmcky deleted the 2026-11-15-m5-pro-ynn4-checks branch November 16, 2026 01:04
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