Installation Guide¶
RBLN SDK consists of RBLN Driver, RBLN Compiler and RBLN Model Zoo:
- RBLN Driver (
deb package
) - RBLN Compiler (
whl package
) - RBLN Model Zoo
Refer to the step-by-step installation guide provided below. Note that you need an RBLN Portal account to proceed the installation. Please contact us for more information.
Step 1. RBLN Driver¶
Note
Step 1. RBLN Driver
is intended for on-premise server users, and to install the RBLN Driver, users need root privileges on the server. Typically, the stable version of the RBLN Driver is already installed on the cloud server you are currently using. If you can see the RBLN NPU devices by executing the command ls /dev/rbln*
, then you can skip Step 1. RBLN Driver
and proceed directly to Step 2. RBLN Compiler
.
If you are an on-premise server user, you can download the deb package
from RBLN Portal > RBLN SDK Installation > RBLN Driver. To install the RBLN Driver, run the following command:
Step 2. RBLN Compiler¶
Next step is to install the RBLN Compiler, which requires access rights to Rebellions' private PyPI server (RBLN Portal > RBLN SDK Installation > RBLN Compiler). To install the RBLN Compiler, run the following command:
Step 3. RBLN Model Zoo¶
The last step is to set up the RBLN Model Zoo. RBLN Model Zoo is a collection of pre-trained models that you can use with RBLN SDK. You can access RBLN Model Zoo
from GitHub.
To learn how to compile and deploy the model, please refer to the tutorials for Tutorial > TensorFlow (Vision) or Tutorial > PyTorch (Vision). The TensorFlow and PyTorch Model Zoo pages may also be helpful, as they provide simple instructions for running all models included in the Model Zoo.
HuggingFace transformers
and diffusers
libraries can be utilized with Optimum RBLN. For further details, please refer to the following page Software > HuggingFace Model Support > Optimum RBLN.
If you encounter any issues during installation, please do not hesitate to contact us.