Compatibility
No. The Raspberry Pi 5 is the only supported host: no other Raspberry Pi model has the PCIe FFC connector the AI HAT+ needs (see Compatibility). The DEEPX runtime targets x86_64 and ARM Linux, so a third-party board with a matching PCIe FFC connector may work in principle, but Sixfab does not validate or support it. If you test one, share the result on the Sixfab community forum.
For NVMe storage, LTE/5G, or extra I/O together with the NPU on a Raspberry Pi 5, see the Edge AI Expansion Board.
No. The Raspberry Pi CM5 IO Board has no PCIe FFC connector, so the 16-pin cable has nowhere to plug in. Custom carrier boards built around a Raspberry Pi 5 or a Compute Module 5 are not validated: one that exposes a compliant PCIe FFC connector may work in principle, but Sixfab does not certify or troubleshoot it. For OEM and embedded integration, contact Sixfab.
Different NPUs and different SDKs. The Sixfab AI HAT+ uses the DEEPX DX-M1M and the DXNN SDK; the Raspberry Pi AI HAT+ uses the Hailo-8 or Hailo-8L and the HailoRT SDK. A model compiled for one does not run on the other.
| Feature | Sixfab AI HAT+ | Raspberry Pi AI HAT+ |
|---|---|---|
| NPU silicon | DEEPX DX-M1M | Hailo-8 / Hailo-8L |
| Performance | 25 TOPS at INT8 | 26 or 13 TOPS |
| SDK / compiler | DXNN SDK (DX-COM + DEEPX runtime) | HailoRT SDK |
| Compiled model format | .dxnn | .hef |
Yes. The Base HAT uses USB and the AI HAT+ uses PCIe, so they share no data bus. Both carry a HAT+ ID EEPROM on the I²C ID bus (BCM 0 and BCM 1), which is expected when HAT+ boards are stacked. Extra-long pass-through stacking headers are needed to seat the boards. See HAT stacking.
Partly: the board fits, but the lid does not close, because the AI HAT+ and the NPU are too tall. The official Raspberry Pi Active Cooler fits; the AI HAT+ sits above it on the included M2.5 standoffs. For a closed enclosure, use a third-party case sized for stacked HAT+ boards. See Mechanical.
Yes. Capture frames with Picamera2 (Python) or libcamera (C++) and pass the NumPy array to the DEEPX runtime. The AI HAT+ is not in the camera path: your application handles capture and inference. See Run first inference.
Any standard USB webcam works. The camera connects to the Raspberry Pi 5, not to the AI HAT+; the NPU sees only the frames your application passes to it. USB webcams, Raspberry Pi Camera Modules, video files, and RTSP streams from IP cameras all work as frame sources.
No. The Raspberry Pi 5 has one PCIe FFC connector, and the AI HAT+ uses it. To scale beyond one NPU, deploy several Raspberry Pi 5 and AI HAT+ units and coordinate them over your local network.
Not by default. The Raspberry Pi 5 runs the PCIe link at Gen 2 unless the boot configuration raises it. Check with dxrt-cli -s: PCIe : Gen3 X1 means nothing more is needed. If it reports Gen 2, add dtparam=pciex1 and dtparam=pciex1_gen=3 to /boot/firmware/config.txt and reboot. See Enable PCIe Gen 3.
After reflashing OS
config.txt is on the boot partition, so a fresh Raspberry Pi OS image drops these lines. After a reflash, check dxrt-cli -s again and add them back if the link is at Gen 2. Duplicate dtparam=pciex1_gen=3 lines do no harm.
Performance
On the DX-M1M, about one 4K stream at real-time frame rate, or up to four 1080p streams at 25 to 30 FPS. With several streams the Raspberry Pi 5 CPU usually saturates before the NPU, because capture and pre-processing run on the CPU. Run dxtop during the load to see which one is the limit; see System monitoring.
Yes, with RunAsync in the DEEPX runtime: the NPU schedules the requests of both models. The models together must fit in NPU memory (2 GB on the DX-M1M), and the CPU must feed frames fast enough. See the DXNN SDK workflow.
Chaining models
There is no API that chains models on the NPU (for example detect, then classify, then track). Intermediate tensors pass through your application on the CPU between model calls.
Models and SDK
The hardware does: the NPU appears in lspci as soon as the Raspberry Pi 5 boots with the AI HAT+ mounted, with no configuration. To run models, install sixfab-dx from the Sixfab APT repository: it brings the kernel driver, the DEEPX runtime, and dxrt-cli. See Install runtime.
Yes. OpenCV, NumPy, Pillow, scikit-image, Picamera2, and libcamera work alongside the DEEPX runtime. The runtime has Python and C++ APIs; C++ gives the lowest latency in production pipelines.
Yes. The kernel driver stays on the host; run the container privileged and pass the NPU device node /dev/dxrt0 through:
docker run --privileged --device /dev/dxrt0 my-app:latest
It depends on the format. An ONNX file falls back to CPU inference: it runs, but much slower and without the NPU. Any other format that is not .dxnn fails to load. Compile to .dxnn with DX-COM first; see the DXNN SDK workflow.
Yes, after compiling them once. Download the ONNX file, compile it with DX-COM on an Ubuntu workstation, and copy the .dxnn file to the Raspberry Pi 5; no retraining is needed. Check the DEEPX supported operator list first: a model with unsupported layers may fail to compile or fall back partly to the CPU. See the DXNN SDK workflow; the Sixfab Model Zoo has precompiled models.
The DEEPX NPU runs vision models. These workloads are not supported:
- Large language models and text generation
- Audio-only models (speech recognition, acoustic classification)
- Transformer language models (BERT, GPT, T5 variants)
- Training or fine-tuning on the device: the AI HAT+ runs inference only
To train and then deploy, train on another machine and compile the model to .dxnn with DX-COM on an Ubuntu workstation, or follow the Sixfab and Ultralytics path. See the DXNN SDK workflow for both.
If the NPU supports the model’s operators, in four steps:
- Export the trained model to ONNX from your training framework.
- Compile the ONNX file with DX-COM on an Ubuntu workstation.
- Copy the
.dxnnfile to the Raspberry Pi 5. - Change the inference call to the DEEPX runtime Python or C++ API.
Pre- and post-processing code usually stays the same. See the DXNN SDK workflow.
Compilation time
DX-COM takes about 2 hours for a typical vision model on a standard Ubuntu workstation. Compile once per model version, then deploy the .dxnn file.
Power and thermal
The Raspberry Pi 5 detects under-voltage and degrades in stages: the lightning-bolt icon appears, the CPU throttles, the NPU may throttle or time out during inference, and under heavy transients the system reboots. A 3 A phone charger cannot hold the combined load: use the official Raspberry Pi 27 W USB-C PD supply (5 V, 5 A). See System reboots spontaneously or shows an under-voltage warning.
Only in an enclosure. The AI HAT+ is a commercial-grade board for indoor use (operating temperature 0 to 70 °C). Outdoors it needs an enclosure rated IP54 or higher, active cooling inside it (the NPU surface reaches 85 °C at 100 % load and 25 °C ambient, with the heatsink), and a thermal design that removes the system’s full power draw without breaking the seal. See Cooling.
Deployment
Yes. Installing the runtime needs internet access for the APT packages. After that, inference runs entirely on the device: no telemetry, no cloud calls, and no data leaves the device. This suits privacy-sensitive uses such as facial recognition, medical imaging, and restricted-area monitoring. Internet is needed again only to update the runtime or the NPU firmware.
Copy the new .dxnn file over a secure channel (SCP, rsync over SSH, or SFTP) and restart the inference service:
# 1. Copy the new model to the device
scp new_model_v2.dxnn <user>@<device_ip>:~/models/
# 2. Restart the inference service
sudo systemctl restart <your_inference>.service
In a fleet, run these steps from your OTA pipeline.
It is possible but not recommended. Sixfab and DEEPX validate the latest stable driver and firmware pair; older combinations are not tested against current boards. If a version causes a regression, report it on the DEEPX runtime repository or the Sixfab community forum so the next release fixes it. Check Troubleshooting first.
Updates
Through APT. The kernel driver, the DEEPX runtime, dxrt-cli, and the Python and C++ bindings come from the Sixfab APT repository; sudo apt update && sudo apt upgrade installs the latest stable release in place. The NPU firmware is separate: a manual flash, only when the runtime asks for it (see the firmware question below).
In a fleet, pin the runtime to a known-good version and roll upgrades out through one canary device first.
With APT, from the Sixfab APT repository. It replaces the installed version in place and keeps the downloaded package in /var/cache/apt/archives/. The kernel driver is in the same package set, so it updates too. Restart the inference service or reboot afterwards so processes load the new libraries; the device node and the PCIe link are not affected.
# 1. Refresh the APT index and upgrade the DEEPX runtime
sudo apt update && sudo apt install sixfab-dx
# 2. Check the installed version
dxrt-cli -s
Download the firmware image from the DEEPX website and flash it with dxrt-cli -u fw.bin. It is rarely needed: only when the runtime reports a firmware version mismatch, or a newer runtime release requires newer firmware. The flash is manual (there is no over-the-air update), and the device must stay reachable over SSH during it. Check the firmware version with dxrt-cli -s before and after.
# 1. Check the current firmware version
dxrt-cli -s # FW version : vX.Y.Z
# 2. Flash the firmware (fw.bin downloaded from deepx.ai)
dxrt-cli -u fw.bin
# 3. Confirm the new version is active
dxrt-cli -s
When a flash is needed
If dxrt-cli -s shows the device without errors after a runtime upgrade, the firmware meets the runtime’s requirement and no flash is needed. If the runtime logs a firmware version mismatch, flash the firmware first, then run the runtime upgrade again.
Usually yes: runtime releases are backward compatible. A release without breaking changes keeps existing .dxnn files working without recompiling. When a release does change the model format, the runtime reports a version mismatch at load time instead of failing silently: recompile the ONNX source with the matching DX-COM version (see the DXNN SDK workflow).
Purchase
From the Sixfab shop. The Sixfab AI HAT+ is listed at the published MSRP:
| Product | NPU | MSRP |
|---|---|---|
| Sixfab AI HAT+ | DEEPX DX-M1M, 25 TOPS at INT8 | $150 |
The Raspberry Pi 5, the 27 W USB-C PD supply, and the Raspberry Pi Active Cooler are sold separately; see What’s in the box. For volume pricing, OEM and ODM projects, custom variants, or distribution, contact Sixfab.
Still have questions?
Check Troubleshooting first. When you contact support, include the output of lspci and dxrt-cli -s.