Skip to content

chore: remove the temporary R6 sweep pins after the release - #699

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/remove-r6-sweep-pins
Nov 26, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/remove-r6-sweep-pins

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Removes the temporary backend pins added by the R6 phase B sweep (#692) now that release 2026.11.26.1 carries the pre-release fixes (PyAutoLabs/PyAutoFit#1801, PyAutoLabs/PyAutoGalaxy#761, PyAutoLabs/PyAutoLens#896). The examples go back to the default automatic setup. Closes #698.

  • Mixed factor graphs: the analyses drop use_jax=True. FactorGraphModel(..., use_jax=True) predates the sweep (July) and stays; analyses left on their default setup adopt the graph's backend.
  • Weak lensing: AnalysisWeak drops use_jax=False (JAX weak visualization fixed in PyAutoLens#896, docs: image-plane magnification map (arc phase 8a) #614). In weak/features/strong_lensing/modeling.py the imaging analysis keeps its July-era use_jax=False and the defaulted weak analysis adopts NumPy.

Scripts Changed

  • scripts/multi_dataset/features/imaging_and_point_source/modeling.py — analysis pins removed; note now says the graph chooses the backend
  • scripts/multi_dataset/features/imaging_and_interferometer/modeling.py — same
  • scripts/weak/modeling.py — pin and the stale docs: image-plane magnification map (arc phase 8a) #614 / NumPy note removed
  • scripts/weak/likelihood_function.py — pin removed
  • scripts/weak/real_data/a2744.py — pin removed
  • scripts/weak/features/strong_lensing/modeling.py — weak pin removed; note rewritten

Test Plan

  • All 6 scripts run in PYAUTO_TEST_MODE=1 on library main (release + later merges); setup banners show the graph backend adopted (JAX for multi_dataset, NumPy for weak strong_lensing)
  • Targeted Heart smoke: weak/real_data/a2744.py, multi_dataset/features/imaging_and_point_source/modeling.py PASS
  • Notebooks regenerated with autohands generate autolens (only these 6 changed)

🤖 Generated with Claude Code

Analyses in mixed factor graphs drop use_jax=True (the graph's own
use_jax=True, which predates the sweep, sets the backend and defaulted
analyses adopt it since PyAutoFit#1801). Weak-lensing analyses drop
use_jax=False now that PyAutoLens#896 fixed JAX weak visualization (#614).

Refs #698

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the next release'

Refs #698

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211

Copy link
Copy Markdown
Collaborator Author

Added ccd536f: weak/start_here.py drops its July-era use_jax=False and the #614 notes (search stays Nautilus; test mode passes), and 9 scripts drop 'from the next release' wording now that 2026.11.26.1 shipped. Notebooks regenerated (only the matching ones changed).

@Jammy2211
Jammy2211 merged commit 083c65e into main Nov 26, 2026
8 checks passed
@Jammy2211
Jammy2211 deleted the feature/remove-r6-sweep-pins branch November 26, 2026 18: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.

chore: remove the temporary R6 sweep pins after the release

1 participant