Installation¶
The standard installation installs the CPU version of ERBS. To enable GPU support (available only on Linux), install ERBS with the extra CUDA dependencies. See the Jax installation instructions for more details.
From PyPI¶
CPU:
pip install erbs
GPU:
pip install "erbs[cuda]"
From GitHub¶
For a pre-release version, install ERBS directly from GitHub.
CPU:
pip install git+https://github.com/apax-hub/erbs.git
GPU:
pip install erbs[cuda] git+https://github.com/apax-hub/erbs.git
For Developers¶
To set up a development environment, first install uv.
pip install uv
Then clone the project from GitHub,
git clone https://github.com/apax-hub/erbs.git <dest_dir>
cd <dest_dir>
and install it.
CPU:
uv sync --all-extras --no-extra cuda
GPU:
uv sync --extra cuda
Extra Dependencies¶
If you want to use ERBS in the Zntrack/IPSuite framework and use the predefined erbs.nodes, you can install the extra dependencies for Zntrack:
pip install "erbs[zntrack]"