Skip to content

fix: adopt_backend log line no longer says the factors' setups disagree - #765

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

Jammy2211 merged 1 commit into
mainfrom
feature/remove-r6-sweep-pins

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

When a FactorGraphModel moves an analysis left on the default setup onto its shared backend (adopt_backend, #761), the log line said this happened "as their default setups disagree". That is wrong when the graph's own use_jax=True (or a factor the user configured) sets the backend, which is the common case in the workspace multi-dataset examples. The line now says "so all its factors share one backend", which is true for every trigger; the docstring lists both triggers.

Log line only: no behaviour change.

Test Plan

  • pytest test_autogalaxy — 1692 passed
  • autolens_workspace multi_dataset/features/imaging_and_point_source/modeling.py in test mode prints the new line

Part of PyAutoLabs/autolens_workspace#698.

🤖 Generated with Claude Code

…gree when the graph sets the backend

Refs PyAutoLabs/autolens_workspace#698

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Nov 26, 2026
@Jammy2211
Jammy2211 merged commit 68dc088 into main Nov 26, 2026
5 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

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant