AI Model Deployment

The software shared by the Sixfab AI HAT+, the Edge AI Expansion Board, and the ALPON X5 AI: the DEEPX runtime, the .dxnn model format, and the DX-COM compiler.

The three products differ in form factor, host, and NPU option, not in software: code written against the DEEPX runtime on one runs on the others, and a compiled .dxnn file runs on all three without recompiling. Use the stack to prototype a vision model on a Raspberry Pi 5 and deploy the same file to an ALPON X5 AI. Start with a pre-compiled model from the Sixfab Model Zoo.

Supported hardware

Each product carries a 25 TOPS DEEPX NPU. The hosts each board accepts are listed under Compatibility on the AI HAT+ and Edge AI Expansion Board pages.

ProductNPUHostForm factorFor
AI HAT+DEEPX DX-M1M, solderedRaspberry Pi 5HAT+ board on top of the Raspberry Pi 5Evaluating and prototyping vision AI on a Raspberry Pi 5
Edge AI Expansion BoardDEEPX DX-M1 M.2 moduleRaspberry Pi 5Board under the Raspberry Pi 5 with three M.2 slots: AI, NVMe SSD, LTE/5GRaspberry Pi 5 builds that need AI, storage, and cellular on one board
ALPON X5 AIDEEPX DX-M1, integratedRaspberry Pi Compute Module 5, integratedFanless aluminum enclosure, IP40, DIN-rail mount optionIndustrial, continuous, fleet-managed deployments

Components

Every product runs the same five layers. Layers 1 to 4 are the same on all three; your application does not need to know which product it runs on.

LayerWhat it doesComes from
5. Your applicationPython or C++ code calling the DEEPX runtime API, with OpenCV, GStreamer, your own pipeline, or the bundled demosYour code
4. DXNN SDK and DX-COMCompiles ONNX to .dxnn on an x86_64 Ubuntu hostdxcom
3. DEEPX runtimeLoads models, schedules inference, manages memory, runs asynchronously on the NPUsixfab-dx (dxrt-runtime)
2. DEEPX kernel driverExposes the NPU as a PCIe device; built for the running kernel at install timesixfab-dx
1. DEEPX NPU and firmwareDX-M1 or DX-M1M: same instruction set and .dxnn format; firmware in onboard flashThe product

Requirements

Required

On the device

  • AI HAT+ or Edge AI Expansion Board on a Raspberry Pi 5Raspberry Pi OS (Trixie or Bookworm, 64-bit)
  • ALPON X5 AIALPON X5 AI OS
  • sixfab-dx from the Sixfab APT repositoryInstalls the runtime and the kernel driver; the device needs internet access during the install. Inference runs offline.

Compiler host, for custom models only

  • x86_64 PC with Ubuntu 20.04, 22.04, or 24.04DX-COM does not run on ARM or aarch64, so neither a Raspberry Pi 5 nor the ALPON X5 AI can compile. A Kaggle notebook meets the requirements.
  • 16 GB RAM, 20 GB free diskCompilation runs on the CPU; no GPU is needed.
  • Python 3.8 to 3.14, glibc 2.31 or newerRequired by the DX-COM wheel

Workflow

Both paths use the same runtime. They differ in what is on disk before you run dxrt-cli -s.

Custom models (DXNN SDK)

Compiles your own model to DXNN. PyTorch, TensorFlow, Keras, and Ultralytics models are exported to ONNX first.

Compile step
ONNX to DXNN with dx-com, INT8
Included
Sixfab × Ultralytics path for YOLO
Compiler host
x86_64 Ubuntu (see Requirements)

Both pathsRuntime dxrt-runtime and the kernel driver (Sixfab APT repository)

Validate the hardware with the Sixfab Model Zoo first: a YOLOv8n DXNN file confirms that the NPU is detected and produces correct output. The example scripts come from sixfab-dx-examples on GitHub; its auto-install.sh sets them up. Use the deployment workflow for models that are not in the zoo.

Quantization

The NPU runs INT8 only. The DXNN compiler quantizes FP32 models automatically, with about 2% accuracy loss. Benchmark the quantized model, not the FP32 baseline.

Limitations

  • Vision workloads only: detection, classification, segmentation, pose, OCR. LLM and generative model support depends on the DEEPX roadmap; no date is announced.
  • No on-device training. Train in PyTorch or another framework, export to ONNX, and compile with DX-COM, or use the Sixfab × Ultralytics acceleration path.
  • ONNX input only. DX-COM compiles ONNX models with batch size 1 and static input shapes. Check the architecture and its operators in the Supported models catalog before compiling.

Next steps