Skip to content

Commit

Permalink
Update installation.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorris3 committed Jan 17, 2024
1 parent 6dee8a0 commit cd09742
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/fleck/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,20 @@ If you are ready to use `JAX <https://github.com/google/jax>`_ in the
can get those dependencies at install time with::

python -m pip install -e .[jax]

.. note::

Known issue for M2 Macs: as of January 2024, pip will install a version of jaxlib
that may not work, raising the following error::

RuntimeError: This version of jaxlib was built using AVX instructions, which your CPU and/or operating system do not support.

The easiest workaround is to uninstall this version of jax with::

pip uninstall jax jaxlib
and then install jax via conda::

conda install -c conda-forge jaxlib
conda install -c conda-forge jax

0 comments on commit cd09742

Please sign in to comment.