Skip to content

Measure CPU-fed GPU Nautilus fits on the observed COSMOS-Web Ring - #75

Merged
Jammy2211 merged 3 commits into
mainfrom
feature/nautilus-ring-gpu-feed
Nov 25, 2026
Merged

Jammy2211 merged 3 commits into
mainfrom
feature/nautilus-ring-gpu-feed

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Closes #74. Eight complete conditional fits to the observed JWST COSMOS-Web Ring transfer the ordered feeder experiment from PyAutoLabs/autofit_profiling#43 to a real imaging likelihood. CPU feeders increased whole-fit time by 12.8% and 13.6% against serial full-batch GPU. CPU-only finished fastest on both seeds. Serial GPU warm likelihood batches were faster, while native posterior-derived output took 39.8–42.6 s on GPU and 9.4–10.4 s on CPU. Keep native sampler defaults. A separate matched posterior replay would be needed to establish a hybrid placement benefit.

Scripts Changed

  • run_fit.py builds the conditional reference model, checks common CPU/GPU points, and times native PyAutoFit fits using the pinned feeder.
  • pilot.py runs two counterbalanced seeds with bounded CPU affinity and one device owner.
  • compare.py reconciles the paired full-fit measurements and checks the registered decision.
  • audit.py independently evaluates retained samples through the scalar NumPy imaging likelihood.

Test Plan

  • Complete eight fits and reconcile native completion markers, likelihood counts, posterior summaries, and compile counts.

  • Audit all matched JAX likelihood pairs. All proposals agree. Across CPU and full-batch GPU 19 of 29,300 unique paired values exceed the strict pointwise tolerance, with a maximum difference of 4.51e-6. All GPU modes agree within 3.64e-12. Independent scalar checks and all exceptions are reported.

  • Pass all 509 tooling tests, Ruff lint and formatting, README and Insight exchange freshness, and the wall-time contracts.

  • Scoped Heart dev-ship readiness green. Heart reported the following context.

  • PyAutoLens: 2 commit(s) behind origin

  • manifest drift: workspace checkouts (manifest ↔ disk) — 1 mismatch(es) vs PyAutoMind/repos.yaml

  • test run status unknown (no report.json)

  • release validation incomplete: no rehearsal for current source

  • release push credential check stale (pyautolabs-bot, 72h old)

  • autolens_inference: not Heart-gated: PR checks decide

@Jammy2211
Jammy2211 marked this pull request as ready for review November 25, 2026 21:47
@Jammy2211
Jammy2211 merged commit df2df5e into main Nov 25, 2026
1 check passed
@Jammy2211
Jammy2211 deleted the feature/nautilus-ring-gpu-feed branch November 25, 2026 21:51
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.

Test CPU-fed GPU Nautilus fits on observed JWST ring imaging

1 participant