Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions notebooks/chapter_2_modeling/tutorial_8_need_for_speed.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"over CPU of an order of magnitude or more are common, and they grow with the size of the dataset and model. If you\n",
"have access to a GPU (even a modest laptop GPU), it is the single biggest speed-up available to you.\n",
"\n",
"You do not need to do anything to switch this on. If JAX is installed (`pip install autogalaxy[jax]`), every\n",
"You do not need to do anything to switch this on. JAX installs with `autogalaxy` by default, and every\n",
"`AnalysisImaging` object we have created in this chapter defaults to `use_jax=True` and the search compiles and\n",
"batches the likelihood function automatically. You can force the plain NumPy path with\n",
"`ag.AnalysisImaging(dataset=dataset, use_jax=False)` (or by setting the environment variable\n",
Expand Down Expand Up @@ -210,7 +210,7 @@
"metadata": {},
"source": [
"\n",
"from autogalaxy import setup_notebook; setup_notebook()"
"from autogalaxy import setup_notebook; setup_notebook()\n"
],
"outputs": [],
"execution_count": null
Expand Down
2 changes: 1 addition & 1 deletion scripts/chapter_2_modeling/tutorial_8_need_for_speed.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
over CPU of an order of magnitude or more are common, and they grow with the size of the dataset and model. If you
have access to a GPU (even a modest laptop GPU), it is the single biggest speed-up available to you.

You do not need to do anything to switch this on. If JAX is installed (`pip install autogalaxy[jax]`), every
You do not need to do anything to switch this on. JAX installs with `autogalaxy` by default, and every
`AnalysisImaging` object we have created in this chapter defaults to `use_jax=True` and the search compiles and
batches the likelihood function automatically. You can force the plain NumPy path with
`ag.AnalysisImaging(dataset=dataset, use_jax=False)` (or by setting the environment variable
Expand Down
Loading