Installation¶

Install as a dependency (from PyPI)¶

CPU JAX is included by default. For GPU or TPU support, use the corresponding extra:

# CPU (default)
pip install stix-ml

# GPU (CUDA 12)
pip install "stix-ml[gpu]"

# TPU
pip install "stix-ml[tpu]"

Or with uv:

uv add stix-ml             # CPU
uv add "stix-ml[gpu]"      # GPU
uv add "stix-ml[tpu]"      # TPU

Install for development¶

git clone https://github.com/instadeepai/stix.git && cd stix
uv sync --group dev