Skip to content

Remove JAX skip guard from cluster-scale tutorial - #132

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/remove-cluster-jax-guard
Nov 10, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/remove-cluster-jax-guard

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Remove the optional-JAX import probe and early exit from the cluster-scale tutorial. The tutorial now proceeds normally instead of printing a skip message and exiting successfully when JAX is absent. Regenerate the corresponding notebook cell.

Scripts Changed

  • scripts/chapter_4_scaling_up_lensing/tutorial_5_cluster_scale.py — remove importlib.util, sys, and the JAX skip guard.
  • Matching generated notebook updated.

Validation

  • Affected cluster-scale tutorial passed locally in smoke mode (PYAUTO_TEST_MODE=2), including dataset simulation and post-fit inspection.
  • Python syntax and notebook consistency checks passed.
  • git diff --check passed.

Authorization

The user approved bypassing the development workflow for this narrow edit, then requested “ship and prm”. Heart still reports RED: “PyAutoGalaxy: CI failure”; “PyAutoLens: CI failure”. This change does not claim to repair those failures. Merge remains conditional on passing GitHub checks.

@Jammy2211
Jammy2211 merged commit 72c12f5 into main Nov 10, 2026
8 checks passed
@Jammy2211
Jammy2211 deleted the feature/remove-cluster-jax-guard branch November 10, 2026 17:12
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