Skip to content

Commit 8053f7c

Browse files
Jammy2211claude
authored andcommitted
docs: JAX installs by default — retire [jax]-extra install prose (PyAutoLens#702)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent e0fbdf6 commit 8053f7c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

notebooks/chapter_2_lens_modeling/tutorial_8_need_for_speed.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"of an order of magnitude or more are common, and they grow with the size of the dataset and model. If you have\n",
102102
"access to a GPU (even a modest laptop GPU), it is the single biggest speed-up available to you.\n",
103103
"\n",
104-
"You do not need to do anything to switch this on. If JAX is installed (`pip install autolens[jax]`), every\n",
104+
"You do not need to do anything to switch this on. JAX installs with `autolens` by default, and every\n",
105105
"`AnalysisImaging` object we have created in this chapter defaults to `use_jax=True` and the search compiles and\n",
106106
"batches the likelihood function automatically. You can force the plain NumPy path with\n",
107107
"`al.AnalysisImaging(dataset=dataset, use_jax=False)` (or by setting the environment variable\n",
@@ -209,7 +209,7 @@
209209
"metadata": {},
210210
"source": [
211211
"\n",
212-
"from autolens import setup_notebook; setup_notebook()"
212+
"from autolens import setup_notebook; setup_notebook()\n"
213213
],
214214
"outputs": [],
215215
"execution_count": null

scripts/chapter_2_lens_modeling/tutorial_8_need_for_speed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
of an order of magnitude or more are common, and they grow with the size of the dataset and model. If you have
9797
access to a GPU (even a modest laptop GPU), it is the single biggest speed-up available to you.
9898
99-
You do not need to do anything to switch this on. If JAX is installed (`pip install autolens[jax]`), every
99+
You do not need to do anything to switch this on. JAX installs with `autolens` by default, and every
100100
`AnalysisImaging` object we have created in this chapter defaults to `use_jax=True` and the search compiles and
101101
batches the likelihood function automatically. You can force the plain NumPy path with
102102
`al.AnalysisImaging(dataset=dataset, use_jax=False)` (or by setting the environment variable

0 commit comments

Comments
 (0)