Skip to content

Reduce Nautilus ellipsoid weight-update allocations in replay - #23

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/nautilus-ellipsoid-weight-update
Nov 25, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/nautilus-ellipsoid-weight-update

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Replace the one-hot allocation in the Nautilus enclosing ellipsoid weight update with an in-place scaling and a scalar increment on a temporary copy of the pinned solver. Eleven retained outer bounds reconstructed faster in aggregate on all six paired blocks. Median elapsed time fell 14.4% (range 1.6–25.5%). All 57 corresponding solver inputs and outputs matched byte-for-byte in preflight.

This measures repeated local reconstruction on a single 10D seed-2 dataset. A separate full-fit trial is needed to measure sampler-level gain.

Stacked on #19 to reuse its frozen input, source and geometry checks. Refs #22. Human merge.

Scripts Changed

  • experiments/nautilus_ellipsoid_weight_update/compare.py ablates a single expression, verifies exact per-call parity, times six paired blocks and persists results.
  • The adjacent README and JSON receipt include every timing, the run order, per-bound parity records, versions and limitations.

Validation

  • 57 matched solver calls on eleven retained outer bounds, exact geometry and membership. All 132 timed constructions matched native geometry and preserved RNG state.
  • An altered input was rejected before timing and running against an existing result directory preserved its receipt.
  • All 111 tooling tests passed on Python 3.12. Ruff lint/format and catalogue/Pulse validation passed. Author review. GitHub Actions checks links.
  • Scoped Heart dev-ship gate passed. Organism findings displayed at the gate:
  • PyAutoFit: 5 commit(s) behind origin
  • PyAutoLens: on branch feature/cluster-family-fit-figures (not main)
  • PyAutoLens: 6 uncommitted source change(s)
  • manifest drift: workspace checkouts (manifest ↔ disk) — 1 mismatch(es) vs PyAutoMind/repos.yaml
  • release validation incomplete: no rehearsal for current source
  • release push credential check stale (pyautolabs-bot, 49h old)
  • autofit_profiling: not Heart-gated: PR checks decide

@Jammy2211
Jammy2211 marked this pull request as ready for review November 25, 2026 21:47
Base automatically changed from feature/nautilus-bound-geometry to main November 25, 2026 21:48
@Jammy2211
Jammy2211 merged commit fc35489 into main Nov 25, 2026
1 check passed
@Jammy2211
Jammy2211 deleted the feature/nautilus-ellipsoid-weight-update branch November 25, 2026 21:48
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.

1 participant