Repository navigation
qe-wharton1-gpu 2026-11-02: the problem-type suite and lecture-python.myst - #26
Conversation
….myst qe-wharton1-gpu's run of 2026-11-02, from 10:04 to 22:31 UTC, at 5fbf033, under econ-on-ai-hardware's machine lock: the problem-type suite on every backend at every size, the TITAN RTX among them (250 cells, all ok), and lecture-python.myst's 33 JAX lectures, three runs each on the card and on the Threadripper, with the T4 runner's packages. The lecture-python table gains TITAN RTX and Threadripper columns, with notes: the TITAN RTX is slower than the T4 on 27 of 31 lectures, about as much as the Threadripper is slower than the Xeon; sargent_surico's CUDA rows are kept with platform_error; ar1_bayes fails on both devices because the system Python has no headers for PyTensor's C compile. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMbJUx63ms5Evcjx1Un
There was a problem hiding this comment.
Note
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.
🟡 Changes recommended
The change has unresolved review findings, notably a potentially fragile lock-release trap that can leave a stale lock blocking future runs and a setup script that assumes an existing venv without creating or validating it, alongside minor script-name mismatches in comments.
4 open issues
What changed in this PR
This pull request adds the qe-wharton1-gpu benchmark artifacts for the 2026-11-02 run, covering (1) the problem-type suite across backends/sizes (including JAX on a TITAN RTX) and (2) lecture-python.myst JAX lecture runs on GPU and CPU, along with scripts/logs to reproduce and audit the run.
Changes:
- Add host-local reproduction scripts (
setup.sh,run.sh) and machine/GPU sampling output for the run. - Check in new benchmark result artifacts (problem-suite
jsonl, per-lecture per-run JSON outputs, environment/log capture). - Update documentation tables to include the new machine’s
lecture-python.mystresults.
This pull request requires changes.
| File | Notes |
|---|---|
lectures/results/qe-wharton1-gpu/2026-11-02/setup.sh |
Reproduction/setup script for the run |
lectures/results/qe-wharton1-gpu/2026-11-02/run.sh |
Run orchestration script (problem suite + lectures + sampling) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_risk/cuda-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_risk/cuda-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_risk/cuda-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_risk/cpu-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_risk/cpu-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_risk/cpu-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_persist_trans/cuda-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_persist_trans/cuda-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_persist_trans/cuda-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_persist_trans/cpu-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_persist_trans/cpu-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_persist_trans/cpu-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/mccall_model_with_separation/cpu-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/kesten_processes/cuda-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/kesten_processes/cuda-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/kesten_processes/cuda-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/kesten_processes/cpu-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/kesten_processes/cpu-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/kesten_processes/cpu-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/jv/cuda-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/jv/cuda-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/jv/cuda-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/jv/cpu-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/jv/cpu-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/jv/cpu-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/inventory_dynamics/cuda-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/inventory_dynamics/cuda-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/inventory_dynamics/cuda-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/inventory_dynamics/cpu-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/inventory_dynamics/cpu-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/inventory_dynamics/cpu-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/endogenous_lake/cuda-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/endogenous_lake/cuda-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/endogenous_lake/cuda-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/endogenous_lake/cpu-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/endogenous_lake/cpu-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/endogenous_lake/cpu-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/career/cuda-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/career/cuda-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/career/cuda-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/career/cpu-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/career/cpu-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/career/cpu-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/ar1_turningpts/cuda-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/ar1_turningpts/cuda-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/ar1_turningpts/cuda-as-written-1.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/ar1_turningpts/cpu-as-written-3.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/ar1_turningpts/cpu-as-written-2.json |
Result artifact (lecture run output) |
lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/ar1_turningpts/cpu-as-written-1.json |
Result artifact (lecture run output) |
Review effort: Balanced
Copilot's review: the run's scripts name each other wharton1_run.sh and wharton1_setup.sh, so they are committed under those names, unchanged, and the README says the set-up builds on the machine's existing ~/bench/benchmarks/.venv. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMbJUx63ms5Evcjx1Un
ar1_bayes failed on both devices because PyTensor's C compile needs Python.h and Ubuntu's python3.12 has no headers installed. With @mmcky's go-ahead it ran again from 22:47 to 23:02 UTC under the machine lock, three times on the card and the CPU, in a venv on uv's own CPython 3.12.3 with identical packages and a fresh PyTensor cache. Every cell ran: 205.8 s on the TITAN RTX, 100.1 s on the Threadripper. The re-run's results replace the failed ones in lecture-python/; those move to ar1_bayes-no-headers/ beside it, which the dashboard doesn't read. The README's table and counts include ar1_bayes now. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMbJUx63ms5Evcjx1Un
…TAN RTX (#28) * Problem types: results tables for the M6, the Threadripper and the TITAN RTX A Results section in problems/README.md, from both machines' runs of 2026-11-02 at 5fbf033 (#25, #26): for each problem and sweep in float64, each device's fastest stack at each size, warm and cold, with the fastest device in bold; float32 against float64 at the largest sizes; and what the tables show. Every number is in summarise.py's per-host tables. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMbJUx63ms5Evcjx1Un * Problem types: name the stack in the float32 table Copilot's review: each cell of the float32 table now names the stack that set its time, so the table can be checked against summarise.py's on its own. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMbJUx63ms5Evcjx1Un --------- Co-authored-by: Claude Opus 5.5 <[email protected]>


qe-wharton1-gpu's run of 2026-11-02, from 10:04 to 22:31 UTC, at
5fbf033, under project-econ-on-ai-hardware's machine lock. Part of #4 and #5. It has two steps:jax-gpuon the TITAN RTX at0b:00.0among them;environment.txtlists the same packages at the same versions, once names are normalised.No GitHub runner was on the machine. The benchmark was the only process on the card, and the desktop's card at
43:00.0was at 0% in all 76 samples instate.txt.lecture-python.myst. The README's table gains TITAN RTX and Threadripper columns.
imp_sample(60.7 s against 104.3 s),ifp_advanced,ak_aiyagariandtwo_computation. The Threadripper is slower than the Xeon by about as much, a median of 20%, on 29 of 33, despite its 32 cores to the Xeon's 4. So the host may be what makes the difference, but these runs don't separate it.sargent_suricoon the card fails as it did on the T4, because the lecture pins JAX to the CPU andJAX_PLATFORMS=cudaleaves no CPU backend. This timerun_lecture.pykept the rows, withplatform_errorand 13 failed cells. The Threadripper runs it cleanly in 834 s, so the M6'sordqzfailure (sargent_surico fails on macOS 27: SciPy's ordqz(output='complex') under Accelerate lecture-python.myst#1103) doesn't happen here.ar1_bayesis from a re-run (126d7a9). Its first runs failed on both devices from cell 8 on, because PyTensor's C compile needsPython.h, and Ubuntu's/usr/bin/python3.12has no headers installed (python3.12-dev). With @mmcky's go-ahead it ran again from 22:47 to 23:02 UTC, under the lock, three times on each device. This time it used a venv on uv's own CPython 3.12.3, which ships its headers, with identical packages and a fresh PyTensor cache. Every cell ran: 205.8 s on the TITAN RTX (the T4: 204.5 s) and 100.1 s on the Threadripper (the Xeon: 87.1 s). The failed runs moved toar1_bayes-no-headers/, besidelecture-python/, which the dashboard doesn't read. Nothing was installed system-wide.The problem-type suite: 250 cells, all ok. These are the largest sizes in float64, median warm time in seconds, with cold time in brackets:
vfi, grid 1,500egm, grid 50,000wealth, 10,000,000 householdskalman, batch 10,000kalman, state 200On the Threadripper, Numba's parallel build is 3× slower than its serial build on the Kalman batch (199 s against 65.9 s). On the M6 it was 6× faster (#25). These runs don't say why. Run
python problems/summarise.py problems/results/qe-wharton1-gputo see every size and both precisions. The problem types' README has no results tables yet. Now that both machines are in, those can follow in their own PR.The files:
problems/results/qe-wharton1-gpu/2026-11-02.jsonl;lectures/results/qe-wharton1-gpu/2026-11-02/lecture-python/, withenvironment.txtandlectures-set.log;wharton1_run.sh,wharton1_setup.sh, which built the environments, andstate.txt, which samples the machine every ten minutes. The scripts keep the names they ran under, after Copilot's review (9b68528);ar1_rerun.sh,ar1_rerun-state.txtandlecture-python/lectures-set-ar1.log, with the first runs inar1_bayes-no-headers/.🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMbJUx63ms5Evcjx1Un