Skip to content

Commit 6ecddb5

Browse files
committed
Add note about GPU / TPU JAX installation
1 parent 6f8cd73 commit 6ecddb5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ The latest release of `S2FFT` published [on PyPI](https://pypi.org/project/s2fft
9595
pip install s2fft
9696
```
9797

98+
This will install `S2FFT`'s dependencies including JAX if not already installed.
99+
As by default installing JAX from PyPI will use a CPU-only build,
100+
if you wish to install JAX with GPU or TPU support,
101+
you should first follow the [relevant installation instructions in JAX's documentation](https://docs.jax.dev/en/latest/installation.html#installation)
102+
and then install `S2FFT` as above.
103+
98104
Alternatively, the latest development version of `S2FFT` may be installed directly from GitHub by running
99105

100106
```bash

0 commit comments

Comments
 (0)