From 83830e543b52491b41839a2b85ee9c92066d35e7 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Tue, 15 Sep 2026 19:13:22 +0100 Subject: [PATCH] Revert "Merge pull request #85 from PyAutoLabs/feature/colab-workshop-dep-stopgap" This reverts commit 5c3c727621f73d03c4adc4c28527910d3b1982d1, reversing changes made to 27f00bbffe1dfc8eaa35340c81459b13cd26e423. The 2026-09-15 workshop is over. Removes the Colab-only stopgap install cell (corner, optax, xxhash, blackjax --no-deps) from the 50 notebooks. The Colab bootstrap installs these itself from autonerves > 2026.9.15.1 (PyAutoNerves#168). Co-Authored-By: Claude Fable 5.1 --- .../tutorial_0_visualization.ipynb | 14 -------------- .../tutorial_1_grids_and_galaxies.ipynb | 14 -------------- .../tutorial_2_ray_tracing.ipynb | 14 -------------- .../tutorial_3_more_ray_tracing.ipynb | 14 -------------- .../tutorial_4_point_sources.ipynb | 14 -------------- .../tutorial_5_lensing_formalism.ipynb | 14 -------------- .../chapter_1_introduction/tutorial_6_data.ipynb | 14 -------------- .../tutorial_7_fitting.ipynb | 14 -------------- .../tutorial_8_summary.ipynb | 14 -------------- .../tutorial_10_prior_passing.ipynb | 14 -------------- .../chapter_2_lens_modeling/tutorial_11_slam.ipynb | 14 -------------- .../tutorial_1_non_linear_search.ipynb | 14 -------------- .../tutorial_2_practicalities.ipynb | 14 -------------- .../tutorial_3_realism_and_complexity.ipynb | 14 -------------- .../tutorial_4_dealing_with_failure.ipynb | 14 -------------- .../tutorial_5_linear_profiles.ipynb | 14 -------------- .../tutorial_6_masking_and_positions.ipynb | 14 -------------- .../tutorial_7_results.ipynb | 14 -------------- .../tutorial_8_need_for_speed.ipynb | 14 -------------- .../tutorial_9_search_chaining.ipynb | 14 -------------- .../tutorial_10_fit_problems.ipynb | 14 -------------- .../tutorial_11_brightness_adaption.ipynb | 14 -------------- .../tutorial_12_adaptive_regularization.ipynb | 14 -------------- .../tutorial_1_pixelizations.ipynb | 14 -------------- .../tutorial_2_mappers.ipynb | 14 -------------- .../tutorial_3_inversions.ipynb | 14 -------------- .../tutorial_4_bayesian_regularization.ipynb | 14 -------------- .../tutorial_5_bayesian_formalism.ipynb | 14 -------------- .../tutorial_6_borders.ipynb | 14 -------------- .../tutorial_7_lens_modeling.ipynb | 14 -------------- .../tutorial_8_adaptive_pixelization.ipynb | 14 -------------- .../tutorial_9_model_fit.ipynb | 14 -------------- .../tutorial_1_extra_galaxies.ipynb | 14 -------------- .../tutorial_2_multi_galaxy.ipynb | 14 -------------- .../tutorial_3_scaling_relation.ipynb | 14 -------------- .../tutorial_4_group_scale.ipynb | 14 -------------- .../tutorial_5_cluster_scale.ipynb | 14 -------------- .../tutorial_6_weak_lensing.ipynb | 14 -------------- notebooks/chapter_optional/tutorial_searches.ipynb | 14 -------------- notebooks/simulator/cluster.ipynb | 14 -------------- notebooks/simulator/group.ipynb | 14 -------------- notebooks/simulator/interferometer.ipynb | 14 -------------- notebooks/simulator/lens_extra_galaxy.ipynb | 14 -------------- notebooks/simulator/lens_sersic.ipynb | 14 -------------- notebooks/simulator/lens_x2.ipynb | 14 -------------- notebooks/simulator/lens_x3.ipynb | 14 -------------- notebooks/simulator/no_lens_light.ipynb | 14 -------------- notebooks/simulator/no_lens_light__mass_sis.ipynb | 14 -------------- notebooks/simulator/source_complex.ipynb | 14 -------------- notebooks/simulator/weak_lensing.ipynb | 14 -------------- 50 files changed, 700 deletions(-) diff --git a/notebooks/chapter_1_introduction/tutorial_0_visualization.ipynb b/notebooks/chapter_1_introduction/tutorial_0_visualization.ipynb index 0858602..a92ded1 100644 --- a/notebooks/chapter_1_introduction/tutorial_0_visualization.ipynb +++ b/notebooks/chapter_1_introduction/tutorial_0_visualization.ipynb @@ -54,20 +54,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_1_introduction/tutorial_1_grids_and_galaxies.ipynb b/notebooks/chapter_1_introduction/tutorial_1_grids_and_galaxies.ipynb index e6fb7ba..4efb4dc 100644 --- a/notebooks/chapter_1_introduction/tutorial_1_grids_and_galaxies.ipynb +++ b/notebooks/chapter_1_introduction/tutorial_1_grids_and_galaxies.ipynb @@ -101,20 +101,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_1_introduction/tutorial_2_ray_tracing.ipynb b/notebooks/chapter_1_introduction/tutorial_2_ray_tracing.ipynb index 2eb893b..35b0ead 100644 --- a/notebooks/chapter_1_introduction/tutorial_2_ray_tracing.ipynb +++ b/notebooks/chapter_1_introduction/tutorial_2_ray_tracing.ipynb @@ -106,20 +106,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_1_introduction/tutorial_3_more_ray_tracing.ipynb b/notebooks/chapter_1_introduction/tutorial_3_more_ray_tracing.ipynb index 202ed08..df37b39 100644 --- a/notebooks/chapter_1_introduction/tutorial_3_more_ray_tracing.ipynb +++ b/notebooks/chapter_1_introduction/tutorial_3_more_ray_tracing.ipynb @@ -73,20 +73,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_1_introduction/tutorial_4_point_sources.ipynb b/notebooks/chapter_1_introduction/tutorial_4_point_sources.ipynb index 3b961d2..46aad80 100644 --- a/notebooks/chapter_1_introduction/tutorial_4_point_sources.ipynb +++ b/notebooks/chapter_1_introduction/tutorial_4_point_sources.ipynb @@ -102,20 +102,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_1_introduction/tutorial_5_lensing_formalism.ipynb b/notebooks/chapter_1_introduction/tutorial_5_lensing_formalism.ipynb index d237535..9d55261 100644 --- a/notebooks/chapter_1_introduction/tutorial_5_lensing_formalism.ipynb +++ b/notebooks/chapter_1_introduction/tutorial_5_lensing_formalism.ipynb @@ -74,20 +74,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_1_introduction/tutorial_6_data.ipynb b/notebooks/chapter_1_introduction/tutorial_6_data.ipynb index b5dbff1..e0a945d 100644 --- a/notebooks/chapter_1_introduction/tutorial_6_data.ipynb +++ b/notebooks/chapter_1_introduction/tutorial_6_data.ipynb @@ -78,20 +78,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_1_introduction/tutorial_7_fitting.ipynb b/notebooks/chapter_1_introduction/tutorial_7_fitting.ipynb index 5d4e481..2e12b36 100644 --- a/notebooks/chapter_1_introduction/tutorial_7_fitting.ipynb +++ b/notebooks/chapter_1_introduction/tutorial_7_fitting.ipynb @@ -81,20 +81,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_1_introduction/tutorial_8_summary.ipynb b/notebooks/chapter_1_introduction/tutorial_8_summary.ipynb index 2249557..f8e9322 100644 --- a/notebooks/chapter_1_introduction/tutorial_8_summary.ipynb +++ b/notebooks/chapter_1_introduction/tutorial_8_summary.ipynb @@ -64,20 +64,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_2_lens_modeling/tutorial_10_prior_passing.ipynb b/notebooks/chapter_2_lens_modeling/tutorial_10_prior_passing.ipynb index 542b019..812c9ca 100644 --- a/notebooks/chapter_2_lens_modeling/tutorial_10_prior_passing.ipynb +++ b/notebooks/chapter_2_lens_modeling/tutorial_10_prior_passing.ipynb @@ -62,20 +62,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_2_lens_modeling/tutorial_11_slam.ipynb b/notebooks/chapter_2_lens_modeling/tutorial_11_slam.ipynb index 2dc2ce6..e87c6de 100644 --- a/notebooks/chapter_2_lens_modeling/tutorial_11_slam.ipynb +++ b/notebooks/chapter_2_lens_modeling/tutorial_11_slam.ipynb @@ -104,20 +104,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_2_lens_modeling/tutorial_1_non_linear_search.ipynb b/notebooks/chapter_2_lens_modeling/tutorial_1_non_linear_search.ipynb index b8c721d..237f7cf 100644 --- a/notebooks/chapter_2_lens_modeling/tutorial_1_non_linear_search.ipynb +++ b/notebooks/chapter_2_lens_modeling/tutorial_1_non_linear_search.ipynb @@ -200,20 +200,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_2_lens_modeling/tutorial_2_practicalities.ipynb b/notebooks/chapter_2_lens_modeling/tutorial_2_practicalities.ipynb index 64fb236..da5c1cb 100644 --- a/notebooks/chapter_2_lens_modeling/tutorial_2_practicalities.ipynb +++ b/notebooks/chapter_2_lens_modeling/tutorial_2_practicalities.ipynb @@ -114,20 +114,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_2_lens_modeling/tutorial_3_realism_and_complexity.ipynb b/notebooks/chapter_2_lens_modeling/tutorial_3_realism_and_complexity.ipynb index 79e96f7..758c649 100644 --- a/notebooks/chapter_2_lens_modeling/tutorial_3_realism_and_complexity.ipynb +++ b/notebooks/chapter_2_lens_modeling/tutorial_3_realism_and_complexity.ipynb @@ -73,20 +73,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_2_lens_modeling/tutorial_4_dealing_with_failure.ipynb b/notebooks/chapter_2_lens_modeling/tutorial_4_dealing_with_failure.ipynb index a9612b8..da87e66 100644 --- a/notebooks/chapter_2_lens_modeling/tutorial_4_dealing_with_failure.ipynb +++ b/notebooks/chapter_2_lens_modeling/tutorial_4_dealing_with_failure.ipynb @@ -70,20 +70,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_2_lens_modeling/tutorial_5_linear_profiles.ipynb b/notebooks/chapter_2_lens_modeling/tutorial_5_linear_profiles.ipynb index bb7b334..74467af 100644 --- a/notebooks/chapter_2_lens_modeling/tutorial_5_linear_profiles.ipynb +++ b/notebooks/chapter_2_lens_modeling/tutorial_5_linear_profiles.ipynb @@ -81,20 +81,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_2_lens_modeling/tutorial_6_masking_and_positions.ipynb b/notebooks/chapter_2_lens_modeling/tutorial_6_masking_and_positions.ipynb index 4959b81..de71390 100644 --- a/notebooks/chapter_2_lens_modeling/tutorial_6_masking_and_positions.ipynb +++ b/notebooks/chapter_2_lens_modeling/tutorial_6_masking_and_positions.ipynb @@ -57,20 +57,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_2_lens_modeling/tutorial_7_results.ipynb b/notebooks/chapter_2_lens_modeling/tutorial_7_results.ipynb index 0c4b940..bfdd67f 100644 --- a/notebooks/chapter_2_lens_modeling/tutorial_7_results.ipynb +++ b/notebooks/chapter_2_lens_modeling/tutorial_7_results.ipynb @@ -54,20 +54,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_2_lens_modeling/tutorial_8_need_for_speed.ipynb b/notebooks/chapter_2_lens_modeling/tutorial_8_need_for_speed.ipynb index d406431..5b3b74a 100644 --- a/notebooks/chapter_2_lens_modeling/tutorial_8_need_for_speed.ipynb +++ b/notebooks/chapter_2_lens_modeling/tutorial_8_need_for_speed.ipynb @@ -202,20 +202,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_2_lens_modeling/tutorial_9_search_chaining.ipynb b/notebooks/chapter_2_lens_modeling/tutorial_9_search_chaining.ipynb index f99c184..e817be4 100644 --- a/notebooks/chapter_2_lens_modeling/tutorial_9_search_chaining.ipynb +++ b/notebooks/chapter_2_lens_modeling/tutorial_9_search_chaining.ipynb @@ -93,20 +93,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_3_pixelizations/tutorial_10_fit_problems.ipynb b/notebooks/chapter_3_pixelizations/tutorial_10_fit_problems.ipynb index eaa5b5e..72d492e 100644 --- a/notebooks/chapter_3_pixelizations/tutorial_10_fit_problems.ipynb +++ b/notebooks/chapter_3_pixelizations/tutorial_10_fit_problems.ipynb @@ -94,20 +94,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_3_pixelizations/tutorial_11_brightness_adaption.ipynb b/notebooks/chapter_3_pixelizations/tutorial_11_brightness_adaption.ipynb index 7e29ae4..666d224 100644 --- a/notebooks/chapter_3_pixelizations/tutorial_11_brightness_adaption.ipynb +++ b/notebooks/chapter_3_pixelizations/tutorial_11_brightness_adaption.ipynb @@ -64,20 +64,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_3_pixelizations/tutorial_12_adaptive_regularization.ipynb b/notebooks/chapter_3_pixelizations/tutorial_12_adaptive_regularization.ipynb index eb7698d..3dcfc61 100644 --- a/notebooks/chapter_3_pixelizations/tutorial_12_adaptive_regularization.ipynb +++ b/notebooks/chapter_3_pixelizations/tutorial_12_adaptive_regularization.ipynb @@ -56,20 +56,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_3_pixelizations/tutorial_1_pixelizations.ipynb b/notebooks/chapter_3_pixelizations/tutorial_1_pixelizations.ipynb index 613222a..b0fb853 100644 --- a/notebooks/chapter_3_pixelizations/tutorial_1_pixelizations.ipynb +++ b/notebooks/chapter_3_pixelizations/tutorial_1_pixelizations.ipynb @@ -52,20 +52,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_3_pixelizations/tutorial_2_mappers.ipynb b/notebooks/chapter_3_pixelizations/tutorial_2_mappers.ipynb index 5a7de9b..077b870 100644 --- a/notebooks/chapter_3_pixelizations/tutorial_2_mappers.ipynb +++ b/notebooks/chapter_3_pixelizations/tutorial_2_mappers.ipynb @@ -53,20 +53,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_3_pixelizations/tutorial_3_inversions.ipynb b/notebooks/chapter_3_pixelizations/tutorial_3_inversions.ipynb index ce421b4..ae3629b 100644 --- a/notebooks/chapter_3_pixelizations/tutorial_3_inversions.ipynb +++ b/notebooks/chapter_3_pixelizations/tutorial_3_inversions.ipynb @@ -57,20 +57,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_3_pixelizations/tutorial_4_bayesian_regularization.ipynb b/notebooks/chapter_3_pixelizations/tutorial_4_bayesian_regularization.ipynb index a6191e1..75ad0f3 100644 --- a/notebooks/chapter_3_pixelizations/tutorial_4_bayesian_regularization.ipynb +++ b/notebooks/chapter_3_pixelizations/tutorial_4_bayesian_regularization.ipynb @@ -60,20 +60,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_3_pixelizations/tutorial_5_bayesian_formalism.ipynb b/notebooks/chapter_3_pixelizations/tutorial_5_bayesian_formalism.ipynb index 0418085..e9dc189 100644 --- a/notebooks/chapter_3_pixelizations/tutorial_5_bayesian_formalism.ipynb +++ b/notebooks/chapter_3_pixelizations/tutorial_5_bayesian_formalism.ipynb @@ -86,20 +86,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_3_pixelizations/tutorial_6_borders.ipynb b/notebooks/chapter_3_pixelizations/tutorial_6_borders.ipynb index c5f1cfe..5aad03d 100644 --- a/notebooks/chapter_3_pixelizations/tutorial_6_borders.ipynb +++ b/notebooks/chapter_3_pixelizations/tutorial_6_borders.ipynb @@ -55,20 +55,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_3_pixelizations/tutorial_7_lens_modeling.ipynb b/notebooks/chapter_3_pixelizations/tutorial_7_lens_modeling.ipynb index 60a105c..732e420 100644 --- a/notebooks/chapter_3_pixelizations/tutorial_7_lens_modeling.ipynb +++ b/notebooks/chapter_3_pixelizations/tutorial_7_lens_modeling.ipynb @@ -61,20 +61,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_3_pixelizations/tutorial_8_adaptive_pixelization.ipynb b/notebooks/chapter_3_pixelizations/tutorial_8_adaptive_pixelization.ipynb index 705a587..27ab380 100644 --- a/notebooks/chapter_3_pixelizations/tutorial_8_adaptive_pixelization.ipynb +++ b/notebooks/chapter_3_pixelizations/tutorial_8_adaptive_pixelization.ipynb @@ -56,20 +56,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_3_pixelizations/tutorial_9_model_fit.ipynb b/notebooks/chapter_3_pixelizations/tutorial_9_model_fit.ipynb index 1d1fb3c..a0df3aa 100644 --- a/notebooks/chapter_3_pixelizations/tutorial_9_model_fit.ipynb +++ b/notebooks/chapter_3_pixelizations/tutorial_9_model_fit.ipynb @@ -50,20 +50,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_4_scaling_up_lensing/tutorial_1_extra_galaxies.ipynb b/notebooks/chapter_4_scaling_up_lensing/tutorial_1_extra_galaxies.ipynb index 8559336..a5cc70a 100644 --- a/notebooks/chapter_4_scaling_up_lensing/tutorial_1_extra_galaxies.ipynb +++ b/notebooks/chapter_4_scaling_up_lensing/tutorial_1_extra_galaxies.ipynb @@ -90,20 +90,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_4_scaling_up_lensing/tutorial_2_multi_galaxy.ipynb b/notebooks/chapter_4_scaling_up_lensing/tutorial_2_multi_galaxy.ipynb index 0822c2e..f10fd78 100644 --- a/notebooks/chapter_4_scaling_up_lensing/tutorial_2_multi_galaxy.ipynb +++ b/notebooks/chapter_4_scaling_up_lensing/tutorial_2_multi_galaxy.ipynb @@ -81,20 +81,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_4_scaling_up_lensing/tutorial_3_scaling_relation.ipynb b/notebooks/chapter_4_scaling_up_lensing/tutorial_3_scaling_relation.ipynb index 7149e03..209a361 100644 --- a/notebooks/chapter_4_scaling_up_lensing/tutorial_3_scaling_relation.ipynb +++ b/notebooks/chapter_4_scaling_up_lensing/tutorial_3_scaling_relation.ipynb @@ -138,20 +138,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_4_scaling_up_lensing/tutorial_4_group_scale.ipynb b/notebooks/chapter_4_scaling_up_lensing/tutorial_4_group_scale.ipynb index e71c823..846c2c0 100644 --- a/notebooks/chapter_4_scaling_up_lensing/tutorial_4_group_scale.ipynb +++ b/notebooks/chapter_4_scaling_up_lensing/tutorial_4_group_scale.ipynb @@ -101,20 +101,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_4_scaling_up_lensing/tutorial_5_cluster_scale.ipynb b/notebooks/chapter_4_scaling_up_lensing/tutorial_5_cluster_scale.ipynb index 7defb14..a2415ac 100644 --- a/notebooks/chapter_4_scaling_up_lensing/tutorial_5_cluster_scale.ipynb +++ b/notebooks/chapter_4_scaling_up_lensing/tutorial_5_cluster_scale.ipynb @@ -123,20 +123,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_4_scaling_up_lensing/tutorial_6_weak_lensing.ipynb b/notebooks/chapter_4_scaling_up_lensing/tutorial_6_weak_lensing.ipynb index e2984f6..72c2c43 100644 --- a/notebooks/chapter_4_scaling_up_lensing/tutorial_6_weak_lensing.ipynb +++ b/notebooks/chapter_4_scaling_up_lensing/tutorial_6_weak_lensing.ipynb @@ -94,20 +94,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/chapter_optional/tutorial_searches.ipynb b/notebooks/chapter_optional/tutorial_searches.ipynb index a7d27ff..cdb0cb2 100644 --- a/notebooks/chapter_optional/tutorial_searches.ipynb +++ b/notebooks/chapter_optional/tutorial_searches.ipynb @@ -56,20 +56,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/simulator/cluster.ipynb b/notebooks/simulator/cluster.ipynb index 1044d46..4c5f8ab 100644 --- a/notebooks/simulator/cluster.ipynb +++ b/notebooks/simulator/cluster.ipynb @@ -86,20 +86,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/simulator/group.ipynb b/notebooks/simulator/group.ipynb index a44cf1e..0197a34 100644 --- a/notebooks/simulator/group.ipynb +++ b/notebooks/simulator/group.ipynb @@ -82,20 +82,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/simulator/interferometer.ipynb b/notebooks/simulator/interferometer.ipynb index 50ff7e2..b5513b0 100644 --- a/notebooks/simulator/interferometer.ipynb +++ b/notebooks/simulator/interferometer.ipynb @@ -72,20 +72,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/simulator/lens_extra_galaxy.ipynb b/notebooks/simulator/lens_extra_galaxy.ipynb index 428c7ee..6c50d85 100644 --- a/notebooks/simulator/lens_extra_galaxy.ipynb +++ b/notebooks/simulator/lens_extra_galaxy.ipynb @@ -78,20 +78,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/simulator/lens_sersic.ipynb b/notebooks/simulator/lens_sersic.ipynb index 5d774a0..d09be35 100644 --- a/notebooks/simulator/lens_sersic.ipynb +++ b/notebooks/simulator/lens_sersic.ipynb @@ -68,20 +68,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/simulator/lens_x2.ipynb b/notebooks/simulator/lens_x2.ipynb index 16e11b9..a0d6f33 100644 --- a/notebooks/simulator/lens_x2.ipynb +++ b/notebooks/simulator/lens_x2.ipynb @@ -78,20 +78,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/simulator/lens_x3.ipynb b/notebooks/simulator/lens_x3.ipynb index 841fb6a..c3b6606 100644 --- a/notebooks/simulator/lens_x3.ipynb +++ b/notebooks/simulator/lens_x3.ipynb @@ -79,20 +79,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/simulator/no_lens_light.ipynb b/notebooks/simulator/no_lens_light.ipynb index ed4d619..ea1901d 100644 --- a/notebooks/simulator/no_lens_light.ipynb +++ b/notebooks/simulator/no_lens_light.ipynb @@ -69,20 +69,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/simulator/no_lens_light__mass_sis.ipynb b/notebooks/simulator/no_lens_light__mass_sis.ipynb index f781200..3178f64 100644 --- a/notebooks/simulator/no_lens_light__mass_sis.ipynb +++ b/notebooks/simulator/no_lens_light__mass_sis.ipynb @@ -67,20 +67,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/simulator/source_complex.ipynb b/notebooks/simulator/source_complex.ipynb index e70eb9d..937592e 100644 --- a/notebooks/simulator/source_complex.ipynb +++ b/notebooks/simulator/source_complex.ipynb @@ -71,20 +71,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")" diff --git a/notebooks/simulator/weak_lensing.ipynb b/notebooks/simulator/weak_lensing.ipynb index 5b7daf4..638a310 100644 --- a/notebooks/simulator/weak_lensing.ipynb +++ b/notebooks/simulator/weak_lensing.ipynb @@ -69,20 +69,6 @@ " subprocess.check_call(\n", " [sys.executable, \"-m\", \"pip\", \"install\", \"autonerves\", \"--no-deps\"]\n", " )\n", - "\n", - " # Stopgap (PyAutoNerves#167): dependencies that autofit imports lazily,\n", - " # which the released autonerves bootstrap does not yet install and Colab\n", - " # does not ship. Without these the notebook dies partway through a fit.\n", - " # Remove once autonerves > 2026.9.15.1 is released.\n", - " subprocess.check_call(\n", - " [\n", - " sys.executable, \"-m\", \"pip\", \"install\", \"--no-deps\",\n", - " \"corner==2.2.2\",\n", - " \"optax>=0.2.5\",\n", - " \"xxhash<=3.4.1\",\n", - " \"blackjax>=1.6.2\",\n", - " ]\n", - " )\n", " _setup_colab = importlib.import_module(\"autonerves.setup_colab\")\n", "\n", "_setup_colab.setup(\"howtolens\")"