Skip to content

Brainchip-Inc/brainchip_devhub

Repository files navigation

BrainChip Developer Hub

Resources for developing and deploying AI models on BrainChip Akida neuromorphic processors — training, conversion, evaluation, deployment, and benchmarking.

This repository complements the official BrainChip documentation. It focuses on practical, runnable examples and insider knowledge for getting the best out of Akida hardware.


What do you want to do?

Goal Where to go
Train, convert, and evaluate a model Akida 1 · Akida 2 · Akida Pico
Deploy to hardware and benchmark deployment/
Understand how Akida works concepts/
New to Akida — not sure where to start Getting Started

Platform Overview

Akida 1 Akida 2 Akida Pico
Chip AKD1500 AKD2500
Key strengths Broad ecosystem support, proven in deployment Higher capacity, expanded model support Ultra-low power, embedded / IoT
Typical use cases Image classification, keyword spotting, object detection Larger models, higher accuracy targets Always-on sensing, edge inference
Form factor PCIe / USB PCIe / USB Compact module

Getting Started

  1. Install the Akida toolkit — see the official installation guide.
  2. Pick your platform — use the table above, or start with Akida 2 if you have access to it.
  3. Run an example — each platform directory has self-contained examples you can run immediately.

Requirements

  • Python versions: 3.10 to 3.12

We recommend using your preference of docker or a virtual environment such as venv or conda. For example, to create and activate an appropriate virtual environment with conda:

conda create -n brainchip_devhub_env python=3.12 -y
conda activate brainchip_devhub_env

With your container or virtual environment active, all further requirements along with utilities local to this repository should be installed by running the following at the top level of the repository (you can check what packages will be installed in the pyproject.toml file):

pip install -v -e .

Trained models

Pretrained model weights (.h5, .fbz, etc.) are stored directly in this repository, tracked with Git LFS rather than regular git. If you cloned the repo without LFS support, these files will show up as small text pointers instead of real weights.

If git-lfs isn't installed on your machine yet, see the official installation instructions for your platform. On a linux machine, one option is

sudo apt install git-lfs

With git-lfs available, to pull the actual model files:

git lfs install   # one-time setup per machine
git lfs pull       # fetch the real model files for this clone

Repository Structure

brainchip_devhub/
├── akida1/
│   ├── examples/        # Self-contained training, conversion & evaluation scripts
│   └── notebooks/       # Pedagogic notebooks on key concepts
├── akida2/
│   ├── examples/
│   └── notebooks/
├── akida_pico/
│   ├── examples/
│   └── notebooks/
├── deployment/          # Hardware deployment and benchmarking
│   ├── akida1/
│   ├── akida2/
│   └── akida_pico/
└── concepts/            # Cross-platform guides: how Akida works, optimisation strategies

The examples/ in each platform directory are intentionally self-contained — model definition, training, conversion, and evaluation live together in a single script or small group of related files. This is a deliberate contrast to akida_models, which is structured as a reusable library; here, readability and reproducibility take priority.


License

Apache 2.0 — see LICENSE.

About

Code and tutorials for training and deploying models on Akida

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors