---
title: "AI Model Deployment"
description: "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."
url: "https://docs.sixfab.com/edge-ai/ai-model-deployment/"
last_updated: "2026-10-12"
---

# 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.

**Works with:** [AI HAT+](https://docs.sixfab.com/edge-ai/ai-hat-plus/), [Edge AI Expansion Board](https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/), [ALPON X5 AI](https://docs.sixfab.com/alpon/alpon-x5-ai/)

![](https://docs.sixfab.com/wp-content/plugins/sixfab-docs-blocks/blocks/card/drawings/ai-model-deployment.svg?ver=1.0.1) ![](https://docs.sixfab.com/wp-content/plugins/sixfab-docs-blocks/blocks/card/drawings/ai-model-deployment-dark.svg?ver=1.0.1)

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](https://docs.sixfab.com/edge-ai/ai-model-deployment/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+](https://docs.sixfab.com/edge-ai/ai-hat-plus/#compatibility) and [Edge AI Expansion Board](https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/#compatibility) pages.

| Product | NPU | Host | Form factor | For |
| --- | --- | --- | --- | --- |
| [AI HAT+](https://docs.sixfab.com/edge-ai/ai-hat-plus/) | DEEPX DX-M1M, soldered | Raspberry Pi 5 | HAT+ board on top of the Raspberry Pi 5 | Evaluating and prototyping vision AI on a Raspberry Pi 5 |
| [Edge AI Expansion Board](https://docs.sixfab.com/edge-ai/edge-ai-expansion-board/) | DEEPX DX-M1 M.2 module | Raspberry Pi 5 | Board under the Raspberry Pi 5 with three M.2 slots: AI, NVMe SSD, LTE/5G | Raspberry Pi 5 builds that need AI, storage, and cellular on one board |
| [ALPON X5 AI](https://docs.sixfab.com/alpon/alpon-x5-ai/) | DEEPX DX-M1, integrated | Raspberry Pi Compute Module 5, integrated | Fanless aluminum enclosure, IP40, DIN-rail mount option | Industrial, 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.

| Layer | What it does | Comes from |
| --- | --- | --- |
| 5\. Your application | Python or C++ code calling the DEEPX runtime API, with OpenCV, GStreamer, your own pipeline, or the bundled demos | Your code |
| 4\. DXNN SDK and DX-COM | Compiles ONNX to `.dxnn` on an x86_64 Ubuntu host | `dxcom` |
| 3\. DEEPX runtime | Loads models, schedules inference, manages memory, runs asynchronously on the NPU | `sixfab-dx` (`dxrt-runtime`) |
| 2\. DEEPX kernel driver | Exposes the NPU as a PCIe device; built for the running kernel at install time | `sixfab-dx` |
| 1\. DEEPX NPU and firmware | DX-M1 or DX-M1M: same instruction set and `.dxnn` format; firmware in onboard flash | The product |

## Requirements

**Required**

**On the device**

- **AI HAT+ or Edge AI Expansion Board on a Raspberry Pi 5**: Raspberry Pi OS (Trixie or Bookworm, 64-bit)
- **ALPON X5 AI**: ALPON X5 AI OS
- **`sixfab-dx` from the Sixfab APT repository**: Installs 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.04**: DX-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 disk**: Compilation runs on the CPU; no GPU is needed.
- **Python 3.8 to 3.14, glibc 2.31 or newer**: Required 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`.

### Sixfab Model Zoo (Start here)

Pre-compiled DXNN models (YOLOv8 family, MobileNet, ResNet, and others).

- **Compile step:** None, run the `.dxnn` file
- **Included:** Camera and video scripts in Python and C++, frame rates measured on the AI HAT+
- **Compiler host:** Not needed

### 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 paths:** Runtime **`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](https://github.com/sixfab/sixfab-dx-examples) on GitHub; its `auto-install.sh` sets them up. Use the [deployment workflow](https://docs.sixfab.com/edge-ai/ai-model-deployment/custom-models-dxnn-sdk/workflow/) for models that are not in the zoo.

> [!NOTE]
> **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](https://docs.sixfab.com/edge-ai/ai-model-deployment/custom-models-dxnn-sdk/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](https://docs.sixfab.com/edge-ai/ai-model-deployment/supported-models/) before compiling.

## Next steps

- [Sixfab Model Zoo](https://docs.sixfab.com/edge-ai/ai-model-deployment/sixfab-model-zoo/): Pre-compiled `.dxnn` models that run on all three products, the examples repository, and deploy commands.
- [Custom models (DXNN SDK)](https://docs.sixfab.com/edge-ai/ai-model-deployment/custom-models-dxnn-sdk/): Compile your own model to `.dxnn`: the deployment workflow, the DX-COM configuration, the Sixfab × Ultralytics path, and AI coding agents.
- [Supported models catalog](https://docs.sixfab.com/edge-ai/ai-model-deployment/supported-models/): Supported operators and architectures (YOLO, MobileNet, ResNet, EfficientNet, ViT). Check it before custom model work.
- [System monitoring](https://docs.sixfab.com/edge-ai/ai-model-deployment/system-monitoring/): Monitor and diagnose the DEEPX NPU with `dxtop`, `dxrt-cli`, and the Linux tools for the driver and the runtime service.
