Skip to main content

Overview

THRINDEX separates compilation from execution. A model is compiled once to a .thx artifact that carries the target it was built for. On a machine with the appropriate hardware and driver, the artifact is loaded and run by the corresponding backend.

BrainChip AKD1500

The akida-akd1500 target maps THRINDEX models to BrainChip’s Akida 1.0 neuromorphic processor.

Capability

What the AKD1500 supports

AKD1500 executes feedforward integer networks. Supported layer types:
  • Dense (snn.Dense) — fully connected, no delays
  • Conv2d (snn.Conv2d) — 2D convolution, no delays

What the AKD1500 rejects

AKD1500 is not an SNN backend. It does not implement leaky integrate-and-fire dynamics, temporal state, or spike-triggered reset. If your model uses LIF neurons, use target="sim" instead. See E0401 for a full explanation.

Weight quantization

Weights are quantized from f32 to 4-bit signed integers during the Tier-1 compile step:
The quantization error is at most scale / 2 per weight. For models with large weight ranges, this error can be significant. Training with weight regularization that keeps max(|W|) small reduces quantization error.

Deployment: two-tier setup

AKD1500 deployment uses two separate machines: Tier 1 — Developer machine (Python + MetaTF) Requires: thrindex + akida Python package from BrainChip.
Then convert to the BrainChip .fbz runtime format:
akida_compile.py is included in crates/thrindex-backends/akida/python/ in the THRINDEX repository. Tier 2 — Device (Raspberry Pi + AKD1500 via M.2) Requires: THRINDEX built with --features hardware and the BrainChip Engine Library.
The runtime reads a JSON batch on stdin and writes a JSON result on stdout:

Environment variables

Getting the Engine Library

The Engine Library is proprietary BrainChip software distributed to registered AKD1500 customers. It is not included in the THRINDEX repository. Contact BrainChip to obtain it.

Conformance

akida-akd1500 is permanently excluded from the THRINDEX Certified [v0] conformance suite. The Certified badge measures spike-raster equivalence between a hardware backend and the reference simulator. AKD1500 does not implement SNN dynamics — it performs integer feedforward inference — and cannot produce a spike raster that is equivalent to the LIF simulator output. When the conformance harness runs, it prints:
The alternative metric (top-1 accuracy on the frozen BrainChip dataset) is the appropriate correctness measure for AKD1500 inference. See Conformance Overview for details.