Installation¶
Install from PyPI¶
To install the latest release of optimum-rbln:
Install from source¶
-
Prerequisites
- Install uv (refer to the uv installation guide for detailed install commands)
The following command installs optimum-rbln along with its dependencies:
uv-sync.sh installs optimum-rbln and its Python dependencies into .venv, but not the RBLN Compiler (rebel-compiler), which needs an RBLN Portal account (see RBLN Compiler Installation). Without it, import optimum.rbln fails with No module named 'rebel'. Install it into the same environment, choosing the version that pairs with your optimum-rbln in the version matrix: