Pre-deployment planning
Before exporting to ONNX and running DX-COM, check three things; most compile failures and accuracy drops after compiling come from skipping one.
-
Confirm your architecture family is in the validated list
Sixfab has tested specific architecture families end-to-end on Sixfab edge AI hardware. If your model belongs to a validated family (Validated architecture families), compile and deployment are well-supported paths. If your architecture is not in the list, check the operator support reference (Operator support) before committing, since unsupported operators cause compile-time errors or silent CPU fallback at runtime.
-
Verify operator support against DEEPX upstream list
Open your exported
.onnxfile in Netron, enumerate every operator in the graph, and compare against the DEEPX-supported list at Building Models guide in DEEPX-AI/dx-compiler on GitHub. Unsupported operators in the middle of the graph break the compile; unsupported operators at graph boundaries may fall back to CPU at runtime. -
Verify quantisation compatibility
The DEEPX DX-M1 family runs INT8 only. Expect approximately 2 % accuracy loss versus the FP32 baseline (Quantisation compatibility). Architectures with quantisation-sensitive layers (attention, layer norm) need extra care: sometimes quantisation-aware training before export, sometimes DXQ
enhanced_schemeduring compile.
This page lists the architecture families Sixfab validated on its hardware. The full operator-by-operator list is DEEPX’s dx-compiler documentation.
Validated architecture families
Families tested on Sixfab hardware, with their status and a Model Zoo example where one exists.
| Family | Status | In the Model Zoo | PPU | Notes |
|---|---|---|---|---|
| YOLO anchor-based (v3, v5, v7) | Supported | None yet | type 0 | Anchor arrays go in the PPU config; the ONNX export must keep the detection head (PPU type 0). |
| YOLO anchor-free (v8, v9, v11) | Validated | YoloV8N, S, M; YoloV9S, C | type 1 or type 2 | Type 1 needs the bbox and cls_conf nodes mapped (Netron); type 2 needs an export without DFL decoding (Type 1 or Type 2). |
| Classification (ResNet, MobileNet, EfficientNet) | Supported | None yet | Not used | ImageNet normalisation (mean [0.485, 0.456, 0.406], std [0.229, 0.224, 0.225]); 224 × 224 input by default (example config). |
| Face detection (SCRFD) | Validated | SCRFD500M | Not used | The output tensors differ from YOLO. |
| Pose estimation (YOLO-based) | Validated | YoloV5Pose | Not used | Per-keypoint regression; decoding differs from detection. |
| Segmentation, YOLO-based | Validated | YoloV26S-Seg | Not used | Pixel-level mask output. |
| Segmentation, general (DeepLab v3+, U-Net) | Not validated | None | Not used | The operators are supported, but Sixfab has not validated it end to end. High input resolutions add memory pressure. |
| Vision Transformer (ViT, DeiT, Swin) | Not supported | None | Not used | Transformer models are not enabled on the current silicon; support depends on the DEEPX roadmap, no date announced. Attention graphs (MatMul, Softmax, LayerNorm) are sensitive to quantisation. |
| Custom detection (non-YOLO heads, DETR-style) | Case by case | None | Not used | Custom decoders need host-side post-processing. Check every operator against the DEEPX list first. |
Operator support
The complete list is the DEEPX supported operators reference: check every operator in your ONNX graph against it before compiling. The patterns met most often:
Convolutional operators
Standard 2D convolutions (Conv, ConvTranspose), batch normalisation (BatchNormalization), pooling (MaxPool, AveragePool, GlobalAveragePool), and activation functions (ReLU, LeakyReLU, SiLU) are well-supported. These form the backbone of all validated YOLO and classification architectures.
Element-wise and shape operators
Element-wise math (Add, Mul, Sub, Div), reshape and transpose (Reshape, Transpose, Squeeze, Unsqueeze), and concatenation (Concat) are well-supported. These appear throughout most ONNX exports.
Attention operators (transformer-heavy graphs)
MatMul, Softmax, and LayerNormalization appear in transformer architectures. Individual operator support exists, but the structural transformer model path is not yet enabled on current DEEPX silicon; see Validated architecture families: Vision Transformer. Where individual attention operators appear in otherwise-convolutional graphs, expect higher quantisation sensitivity; DXQ enhanced_scheme often helps recover accuracy.
Operators with known fallback behaviour
Some operators fall back to CPU execution at runtime instead of erroring at compile time. CPU fallback degrades end-to-end latency, so inspect the DX-COM compile log for fallback notices and confirm which operators ran on the NPU before deploying.
When in doubt, enumerate operators in Netron. Open your .onnx file in netron.app, write down every unique operator name, and check each against the upstream list before compiling. Most compile failures trace to a single unsupported operator inside the graph.
Quantisation compatibility
The NPU runs INT8 only; expect about 2 % accuracy loss against the FP32 baseline after compiling. Some families quantise cleanly, others need extra steps.
| Architecture family | Quantisation | Recommended approach |
|---|---|---|
| YOLO anchor-based (v3, v5, v7) | Clean | Standard calibration with 100+ representative images. No DXQ needed. |
| YOLO anchor-free (v8, v9, v11) | Clean | Standard calibration. PPU type 1 for hardware-accelerated post-processing. |
| Classification (ResNet, MobileNet, EfficientNet) | Clean | Standard calibration. ImageNet normalisation required to match training pipeline. |
| Face detection (SCRFD) | Clean | Standard calibration. |
| YOLO pose and segmentation (YOLO-derived) | Clean | Standard calibration. |
| Segmentation, general (DeepLab, U-Net) | Unvalidated | Validate accuracy against FP32 baseline after compile. If the drop is above about 2 %, try DXQ enhanced_scheme P3. |
| Vision Transformer (ViT, DeiT, Swin) | Not yet supported | Depends on the DEEPX roadmap; no date announced. |
| Generative architectures (GANs, diffusion) | Not supported | The NPU runs vision models. LLM and generative model support depends on the DEEPX roadmap; no date announced. |
About 2 % loss is normal
INT8 on the DEEPX NPU costs about 2 % accuracy. A much larger drop almost always comes from one of these:
- ONNX export from training mode instead of
model.eval(). - Opset mismatch (try opset 11 first, then 13, then 17).
- Unsupported operators silently falling back to CPU.
- Weak calibration dataset (too few images, wrong domain).
- Preprocessing pipeline mismatch between training and inference.
See Model runs correctly but accuracy is significantly worse for the fixes.
DXQ accuracy recovery
For quantisation-sensitive models, enable enhanced_scheme in config.json. DXQ checks the quantisation error per layer and corrects it while compiling: inference speed is unchanged, compile time grows. Schemes run from P0 (fast, small gain) to P5 (slow, large gain); start with P3. See enhanced_scheme.
Common compile-time errors
A failed compile usually comes from one of three causes.
-
Unsupported operator inside graph
Symptom.
dxcomexits with an error mentioning a specific operator name.Cause. An operator in the middle of the model is not on the DEEPX supported list.
Fix. Open the
.onnxin Netron, locate the operator, and consider:- Re-exporting with a different opset (try opset 11 first, then 13, 17).
- Replacing the operator at the framework level: a custom layer that produces an unsupported op can often be swapped for a supported equivalent.
- Falling back to the Sixfab × Ultralytics acceleration path if the operator is structural to the model.
-
Input shape mismatch
Symptom.
dxcomerror mentioning input dimensions or batch size.Cause. The
inputsfield inconfig.jsondoes not match the ONNX graph input tensor.Fix. Open the
.onnxin Netron, click the first node, copy the input tensor name and shape exactly. Batch dimension must be1. See DX-COM configuration reference: inputs. -
Memory planning failure
Symptom.
dxcomerror indicating the model does not fit in NPU memory.Cause. Model size exceeds available NPU on-chip memory budget.
Fix. Consider:
- A smaller model variant (e.g., YOLOv8s instead of YOLOv8m).
- A reduced input resolution (e.g.,
416×416instead of640×640) if your accuracy budget allows. - A larger-memory silicon: DEEPX DX-M1 (25 TOPS at INT8, 4 GB) carries more on-package memory than DEEPX DX-M1M (25 TOPS at INT8, 2 GB LPDDR4X), so a model that does not fit on AI HAT+ may fit on the Edge AI Expansion Board or ALPON X5 AI.
Approximate model envelope. Sixfab has not benchmarked an exact upper bound on compiled model size per variant, but engineering guidance is that models large enough to occupy the full 4 GB on DX-M1 will not run on the 2 GB DX-M1M on AI HAT+.
For errors at runtime, after compiling, see the troubleshooting pages: AI HAT+, Edge AI Expansion Board, ALPON X5 AI.
What if my architecture is not here
Three options:
-
Compile and test it yourself
Compile with a small calibration set first (
calibration_num: 10), then compare inference with the FP32 baseline. A failed compile names the operators at fault. For teams with ONNX experience and time to iterate. - Sixfab × Ultralytics acceleration path Managed evaluation and deployment: bring a labelled dataset, get a trained, optimised model for your Sixfab hardware. For teams without ML engineering capacity or with architectures outside the YOLO family.
-
Ask DEEPX
For operator-level questions, open an issue in the
DEEPX-AI/dx-compilerrepository. -
DX-COM configuration reference
Every
config.jsonfield, the three PPU types, DXQ, and the preprocessing operators.