BrainChip

This page provides step-by-step instructions for installing the Akida (BrainChip) runtime in PySDK.

Akida (Brainchip) Runtime in PySDK

PySDK supports version 2.11.0 of Akida Runtime.

Supported Platforms

Linux

  • Architecture: x86-64 or ARM64/AArch64

  • Python Versions: 3.9–3.11


Installation

Ensure your pip is up to date and install the Akida Runtime package:

pip install --upgrade pip
pip install akida==2.11.0

You can verify the installation by running the following command:

akida version

You can check available Brainchip devices by running the following command:

akida devices

For PySDK to locate Akida Runtime, LD_LIBRARY_PATH must include the Akida Runtime library path.

Temporary Setup

To set LD_LIBRARY_PATH for the current terminal session, run the following command:

Permanent Setup

To make this change persistent, we find the Akida Runtime path and then add it to ~/.bashrc. Run the following commands:

Troubleshooting

If no Brainchip device is detected in degirum sys-info output, please see the permanent setup instructions here.

If no Brainchip device is detected in akida devices output, you may need to (re)install the Akida PCIe driver.

Driver Installation

Driver Installation is done through a script provided by Brainchip in their GitHub repository:

After installation, check the device list again:

Last updated

Was this helpful?