From d6849d706cfb8e951a55e5b3b355e86a1599982c Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 22 Jul 2026 13:23:20 +0100 Subject: [PATCH 1/2] docs: document the [jax] install extra; sync __version__ to 2026.7.22.1 Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Se4scqoA2XQ3UFbPBEo6JP --- autofit/__init__.py | 2 +- docs/installation/conda.md | 8 +++++++- docs/installation/pip.md | 8 +++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/autofit/__init__.py b/autofit/__init__.py index ba74c6265..f793f3359 100644 --- a/autofit/__init__.py +++ b/autofit/__init__.py @@ -148,7 +148,7 @@ def save_abc(pickler, obj): pickle._Pickler.save_type(pickler, obj) -__version__ = "2026.7.9.1" +__version__ = "2026.7.22.1" from autonerves import check_version diff --git a/docs/installation/conda.md b/docs/installation/conda.md index fd93a378e..1cccd0462 100644 --- a/docs/installation/conda.md +++ b/docs/installation/conda.md @@ -24,9 +24,15 @@ The latest version of **PyAutoFit** is installed via pip as follows (specifying the installation has clean dependencies): ```bash -pip install autofit +pip install autofit[jax] ``` +The `[jax]` extra installs \[**JAX**\]() (and +`optax`), which **PyAutoFit** uses for gradient-based searches and GPU acceleration. **JAX is not installed by +default** — to install without it, use `pip install autofit` instead. The extra installs CPU-only JAX; for GPU +support, follow the official \[JAX installation guide\]() +**before** installing. + Next, clone the `autofit_workspace` (the line `--depth 1` clones only the most recent branch on the `autofit_workspace`, reducing the download size): diff --git a/docs/installation/pip.md b/docs/installation/pip.md index 3610c68bc..df6410406 100644 --- a/docs/installation/pip.md +++ b/docs/installation/pip.md @@ -16,9 +16,15 @@ The latest version of **PyAutoFit** is installed via pip as follows (specifying the installation has clean dependencies): ```bash -pip install autofit +pip install autofit[jax] ``` +The `[jax]` extra installs \[**JAX**\]() (and +`optax`), which **PyAutoFit** uses for gradient-based searches and GPU acceleration. **JAX is not installed by +default** — a plain `pip install autofit` gives a fully working install that runs on NumPy, without JAX +acceleration. The extra installs CPU-only JAX; for GPU support, follow the official +\[JAX installation guide\]() **before** installing. + If this raises no errors **PyAutoFit** is installed! If there is an error check out the [troubleshooting section](https://pyautofit.readthedocs.io/en/latest/installation/troubleshooting.html). From 33f4ae531e0d3ec30b57f17d794c905492fd5a31 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Thu, 23 Jul 2026 22:26:30 +0100 Subject: [PATCH 2/2] chore: bump version sync to 2026.7.23.1 (released since PR opened) Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01GWfsWWfTugN8biz8T8paRm --- autofit/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autofit/__init__.py b/autofit/__init__.py index f793f3359..2b666b250 100644 --- a/autofit/__init__.py +++ b/autofit/__init__.py @@ -148,7 +148,7 @@ def save_abc(pickler, obj): pickle._Pickler.save_type(pickler, obj) -__version__ = "2026.7.22.1" +__version__ = "2026.7.23.1" from autonerves import check_version