Repository navigation
Measure CPU-fed GPU Nautilus fits on the observed COSMOS-Web Ring - #75
Merged
Merged
Conversation
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.
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.pybuilds the conditional reference model, checks common CPU/GPU points, and times native PyAutoFit fits using the pinned feeder.pilot.pyruns two counterbalanced seeds with bounded CPU affinity and one device owner.compare.pyreconciles the paired full-fit measurements and checks the registered decision.audit.pyindependently 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