Installation#

Using pip#

pip install gensbi

For GPU support:

pip install gensbi[cuda12]

If you want to run the examples, install the GenSBI-examples repository:

uv add gensbi[examples]
# or
pip install gensbi[examples]

To install all the optional dependencies at once, run:

uv add gensbi[cuda12,examples]
# or
pip install gensbi[cuda12,examples]

Requirements#

  • Python 3.11+

  • JAX

  • Flax

  • (See pyproject.toml for full requirements)