Skip to content

Measure whole-fit CPU workers feeding GPU likelihood batches - #43

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

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

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Closes #42. Phase 4 local pilot with native serial ensemble training, native logical batches and ordered result admission. On an RTX 2060 Max-Q, two CPU feeder threads failed to improve whole-fit wall time consistently over the serial GPU controls. Full-width GPU likelihood evaluation occupied 0.78–1.61% of whole-fit wall across both workload sizes and both seeds. Keep the native defaults.

Scripts Changed

  • experiments/nautilus_gpu_feed/run.py measures complete PyAutoFit fits with JAX CPU, full-width GPU, serial split GPU or two CPU workers feeding GPU sub-batches.
  • probe.py compares CPU and GPU likelihoods and tests fixed-width tail masking with the existing PyAutoFit helper.
  • pilot.py runs fresh processes sequentially under the four-core budget and samples device usage.
  • compare.py audits every admitted proposal against NumPy and evaluates the registered paired decision rule.

Test Plan

  • Complete 16 local fits on the registered devices and preserve every native completion receipt. Check all 119,200 likelihoods, ordered proposals, evidence, ESS and posterior means.

  • Check CPU/GPU FP64 common points and ragged lengths at widths 50 and 100. Observe one compiled batched objective per scored fit.

  • Pass all 111 producer tests, Ruff lint/format, catalogue and Pulse contract validation.

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

  • 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, 71h old)

  • autofit_profiling: 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 5c8bf5a into main Nov 25, 2026
1 check passed
@Jammy2211
Jammy2211 deleted the feature/nautilus-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 workers feeding GPU batches in complete Nautilus fits

1 participant