Skip to content

feat: drop use_jax=True from analysis constructors; setup="auto" prose (R6 phase B) - #285

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/likelihood-lifecycle-r6b-use-jax-sweep
Nov 26, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/likelihood-lifecycle-r6b-use-jax-sweep

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Part of PyAutoLabs/autolens_workspace#691 (likelihood-lifecycle R6 phase B). Safe to merge before the next release: on 2026.11.25.1 an analysis without use_jax defaults to use_jax=True, so these scripts run exactly as before; from the next release they pick up setup="auto" (PyAutoLabs/PyAutoGalaxy#760, PyAutoLabs/PyAutoLens#894). No R6-only arguments are used. Prose is worded to be true on both releases.

  • Removes 40 use_jax=True from ag.AnalysisImaging / ag.AnalysisInterferometer in 38 scripts (AST helper); AnalysisEllipse, FactorGraphModel, simulators, operators and every use_jax=False untouched.
  • Mixed factor graphs (multi_dataset/features/imaging_and_interferometer/modeling.py, multi_dataset/features/pixelization/modeling.py) keep use_jax=True on their analyses with a note: auto picks different / numba setups that fail check_setup_agreement with FactorGraphModel(use_jax=True).
  • Prose reworded in start_here.py, the per-domain start_here scripts, imaging/fit.py, interferometer/fit.py, guides/using_jax.py, guides/hpc/*, guides/modeling/searches.py, and AGENTS.md (agents should not add use_jax=True to analysis examples).
  • Notebooks regenerated for the changed scripts; markdown/ left for the next render.

Test Plan

  • imaging/start_here.py test mode logs "Automatic compute setup"; interferometer/start_here.py passes
  • All 7 factor-graph scripts pass in test mode
  • Heart smoke autogalaxy against library main: 14/14 scripts, 2/2 notebooks

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

… setup="auto" (R6 phase B)

Part of PyAutoLabs/autolens_workspace#691.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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