Skip to content

2026-11-10: P7's Kalman filters by filters and states, on the M6, the M5 Pro and the TITAN RTX - #61

Merged
mmcky merged 3 commits into
mainfrom
2026-11-10-kalman-grid
Nov 10, 2026
Merged

mmcky merged 3 commits into
mainfrom
2026-11-10-kalman-grid

Conversation

@mmcky

@mmcky mmcky commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

For #58: P7's Kalman filters as filters and states grow together, on qe-mini1's M6, qe-wharton2's M5 Pro and qe-wharton1-gpu's TITAN RTX, from the runs checkouts at 62df721, with #60's sweeps. The M6 and the card ran on 2026-11-10 in the same hours, by #58's agreed plan, and the M5 Pro later that night, at Matt's request, to check the crossover on a second CPU.

Host What ran When (UTC) Cells
qe-mini1, M6, macOS 27.2.1 (26B131) numpy, numba, numba-parallel, jax-cpu; serial numba left out from 1,000 filters on the new sweeps 09:01 to 10:50 246, all ok
qe-wharton1-gpu, TITAN RTX at 0b:00.0, driver 595.99.02 jax-gpu 09:01 to 09:25 66, all ok
qe-wharton2, M5 Pro, macOS 26.7.1 (25G241), a guest machine as on the M6 13:21 to 15:01 246, all ok

The sweeps were batch20, batch50 and batch100 (1 to 10,000 filters, with 300 and 3,000, at 20, 50 and 100 states), and batch and state again as same-day baselines. Both precisions. The rows are labelled kalman-grid; the --quick checks' rows are left out, and each run.log keeps their lines.

Checks:

  • Every answer agrees with NumPy's in float64 at the same size: each summary.md lists no exceptions.
  • On the M6, batch and state agree with 2026-11-02's (M6 2026-11-02: the problem-type suite and lecture-python.myst, with the sessions running #25) within 5% in 22 of 24 cells. The other two are 7% and 15% faster.
  • On the M5 Pro they agree with 2026-11-06's (qe-wharton2 2026-11-06: the problem-type suite on an M5 Pro #48) within 5% in 21 of 24 cells. The other three are 7% to 13% faster.
  • On the card they agree within 2% where the work sets the time. The cells that its fixed cost per step sets are 5% to 10% slower than on 2026-11-02: about 0.14 ms a step against 0.13. Its driver is newer, and its desktop session had just restarted, so the cause isn't established.
  • Background on the M6 came to about 26 CPU-seconds in 1 h 49 min, from media analysis and Spotlight. The cells they overlapped show no sign of it.
  • Background on the M5 Pro came to about 89 CPU-seconds of Spotlight in 1 h 39 min, plus the owner's institution's managed agents.
    • The M5 Pro's state.txt is redacted as its 2026-11-06 one was.
    • Overlapped cells: of the 15 cells Spotlight's bursts overlapped, 11 have warm runs within 2% of each other, and two jax-cpu cells drift by 4% to 5%. Neither was its size's fastest stack, and four cells had one warm run each.

At a glance, for the finding to come:

  • In float64 the card is slower than both Macs warm at every pair of filters and states.
  • In float32 against the M6, the card is faster warm from 1,000 filters at 10 and 20 states, and from 100 at 50 and 100 states, by up to 6.9×.
  • On both Macs, the card wins in float32 exactly where the Mac's step takes longer than about 0.13 ms.

The paragraph added to problems/README.md has the cold side.

File What it holds
problems/results/qe-mini1/2026-11-10.jsonl, …/qe-wharton2/…, …/qe-wharton1-gpu/… The rows
problems/results/<host>/2026-11-10/ README.md (the run notes), summary.md (from one summarise.py run over all three hosts, with the answers checked across them), run.log, state.txt, setup.txt, and the script in session/. The Macs' have samples.txt, the media and Spotlight processes every 2 s; the card's has gpu.csv, both cards every 10 s
problems/README.md A paragraph on the 2026-11-10 runs, beside the other dated ones

The finding goes in QuantEcon/project-benchmarks-jax once this merges, and #58 stays open for it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMZXaSPhPfoP4ShvCrj

…the TITAN RTX

For #58: the new batch20, batch50 and batch100 sweeps, and batch and state
again, on qe-mini1's M6 (the four CPU stacks, 246 cells) and the TITAN
RTX at 0b:00.0 (jax-gpu, 66 cells), labelled kalman-grid. Every cell ran
and every answer agreed with NumPy's in float64. Each host's run notes,
logs, state records, script and summary.md are beside its rows.

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 10, 2026 10:55

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.

🟡 Changes recommended

A remaining nit-level issue is flagged in problems/README.md line 61 where an extra word/typo (“one,”) makes the sentence confusing and needs correction before the change can be considered clean.

1 open issue
What changed in this PR

Adds the 2026-11-10 Kalman benchmark run artifacts (issue #58) for expanded filters×states sweeps on qe-mini1 (M6) and qe-wharton1-gpu (TITAN RTX), and documents the key findings in the Problems README.

Changes:

  • Commit per-host run notes, logs, setup/state captures, and generated summaries for the 2026-11-10 runs.
  • Add the session scripts used to execute the suites and capture background/GPU telemetry.
  • Update problems/README.md with a dated narrative summary of results and comparisons.
File Description
problems/​results/​qe-wharton1-gpu/​2026-11-10/​summary.md Provides the generated summary tables of timing/results for the TITAN RTX kalman-grid run across sweeps and precisions.
problems/​results/​qe-wharton1-gpu/​2026-11-10/​state.txt Captures before/after machine and GPU state snapshots for the TITAN RTX run window.
problems/​results/​qe-wharton1-gpu/​2026-11-10/​setup.txt Records the environment/provenance details (versions and configuration) used for the TITAN RTX run.
problems/​results/​qe-wharton1-gpu/​2026-11-10/​session/​titan_kalman58.sh Adds the TITAN RTX session runner script that executes the suite, manages locking, and collects telemetry/logs.
problems/​results/​qe-wharton1-gpu/​2026-11-10/​run.log Contains the full console output from running the benchmark suite on the TITAN RTX host.
problems/​results/​qe-wharton1-gpu/​2026-11-10/​README.md Documents what ran on the TITAN RTX host, when it ran, and the validation/context notes for the results.
problems/​results/​qe-wharton1-gpu/​2026-11-10/​gpu.csv Stores periodic GPU telemetry samples collected during the TITAN RTX benchmark session.
problems/​results/​qe-mini1/​2026-11-10/​summary.md Provides the generated summary tables of timing/results for the M6 host across the new sweeps and precisions.
problems/​results/​qe-mini1/​2026-11-10/​setup.txt Records the environment/provenance details (versions and configuration) used for the M6 run.
problems/​results/​qe-mini1/​2026-11-10/​session/​m6_kalman58.sh Adds the M6 session runner script that executes the suite and captures logs and background sampling.
problems/​results/​qe-mini1/​2026-11-10/​samples.txt Captures periodic samples of background processes (e.g., Spotlight/media analysis) during the M6 run window.
problems/​results/​qe-mini1/​2026-11-10/​run.log Contains the full console output from running the benchmark suite on the M6 host.
problems/​results/​qe-mini1/​2026-11-10/​README.md Documents what ran on the M6 host, when it ran, and the validation/context notes for the results.
problems/​README.md Adds a dated paragraph summarizing the 2026-11-10 runs and the headline CPU vs GPU behavior observed in the new grid sweeps.

Review effort: Balanced

Comment thread problems/README.md Resolved
mmcky and others added 2 commits November 10, 2026 22:01
For #58, at Matt's request: the M6's four parts on the M5 Pro, 246 cells,
all ok, every answer agreeing with NumPy's in float64. Its state.txt is
redacted as the 2026-11-06 run's was. The three hosts' summary.md files
come from one summarise.py run over all three; the M6's and the TITAN's
are unchanged by it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMZXaSPhPfoP4ShvCrj
@mmcky mmcky changed the title 2026-11-10: P7's Kalman filters by filters and states, on the M6 and the TITAN RTX 2026-11-10: P7's Kalman filters by filters and states, on the M6, the M5 Pro and the TITAN RTX Nov 10, 2026
@mmcky
mmcky merged commit 4bf6f72 into main Nov 10, 2026
@mmcky
mmcky deleted the 2026-11-10-kalman-grid branch November 10, 2026 20:38
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