LogoLogo
AI HubCommunityWebsite
  • Start Here
  • AI Hub
    • Overview
    • Quickstart
    • Teams
    • Device Farm
    • Browser Inference
    • Model Zoo
      • Hailo
      • Intel
      • MemryX
      • BrainChip
      • Google
      • DeGirum
      • Rockchip
    • View and Create Model Zoos
    • Model Compiler
    • PySDK Integration
  • PySDK
    • Overview
    • Quickstart
    • Installation
    • Runtimes and Drivers
      • Hailo
      • OpenVINO
      • MemryX
      • BrainChip
      • Rockchip
      • ONNX
    • PySDK User Guide
      • Core Concepts
      • Organizing Models
      • Setting Up an AI Server
      • Loading an AI Model
      • Running AI Model Inference
      • Model JSON Structure
      • Command Line Interface
      • API Reference Guide
        • PySDK Package
        • Model Module
        • Zoo Manager Module
        • Postprocessor Module
        • AI Server Module
        • Miscellaneous Modules
      • Older PySDK User Guides
        • PySDK 0.16.0
        • PySDK 0.15.2
        • PySDK 0.15.1
        • PySDK 0.15.0
        • PySDK 0.14.3
        • PySDK 0.14.2
        • PySDK 0.14.1
        • PySDK 0.14.0
        • PySDK 0.13.4
        • PySDK 0.13.3
        • PySDK 0.13.2
        • PySDK 0.13.1
        • PySDK 0.13.0
    • Release Notes
      • Retired Versions
    • EULA
  • DeGirum Tools
    • Overview
      • Streams
        • Streams Base
        • Streams Gizmos
      • Compound Models
      • Result Analyzer Base
      • Inference Support
  • DeGirumJS
    • Overview
    • Get Started
    • Understanding Results
    • Release Notes
    • API Reference Guides
      • DeGirumJS 0.1.3
      • DeGirumJS 0.1.2
      • DeGirumJS 0.1.1
      • DeGirumJS 0.1.0
      • DeGirumJS 0.0.9
      • DeGirumJS 0.0.8
      • DeGirumJS 0.0.7
      • DeGirumJS 0.0.6
      • DeGirumJS 0.0.5
      • DeGirumJS 0.0.4
      • DeGirumJS 0.0.3
      • DeGirumJS 0.0.2
      • DeGirumJS 0.0.1
  • Orca
    • Overview
    • Benchmarks
    • Unboxing and Installation
    • M.2 Setup
    • USB Setup
    • Thermal Management
    • Tools
  • Resources
    • External Links
Powered by GitBook

Get Started

  • AI Hub Quickstart
  • PySDK Quickstart
  • PySDK in Colab

Resources

  • AI Hub
  • Community
  • DeGirum Website

Social

  • LinkedIn
  • YouTube

Legal

  • PySDK EULA
  • Terms of Service
  • Privacy Policy

© 2025 DeGirum Corp.

On this page
  • Akida (Brainchip) Runtime in PySDK
  • Installation
  • Driver Installation

Was this helpful?

  1. PySDK
  2. Runtimes and Drivers

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

REQUIRED: Add Akida Runtime to LD_LIBRARY_PATH

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:

export LD_LIBRARY_PATH="$(python3 -c "import akida, os; print(os.path.dirname(akida.__file__))"):$LD_LIBRARY_PATH"

Permanent Setup

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

AKIDA_PATH=$(python3 -c 'import akida, os; print(os.path.dirname(akida.__file__))')
echo 'export LD_LIBRARY_PATH="'$AKIDA_PATH':$LD_LIBRARY_PATH"' >> ~/.bashrc
source ~/.bashrc

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:

git clone https://github.com/Brainchip-Inc/akida_dw_edma
cd akida_dw_edma
sudo ./install.sh

After installation, check the device list again:

akida devices
PreviousMemryXNextRockchip

Last updated 2 months ago

Was this helpful?