Inference engines
The four inference runtimes, which hardware each needs, how Dominevo picks one, and how to find out what your machine can actually do.
This page explains which inference engine your machine uses and why, and how to measure whether a different one would be faster before you buy anything.
The four engines
An inference engine is the runtime that executes a detection model. Which ones are available depends entirely on the hardware Dominevo finds — and on what you passed into the container.
| Engine | Needs | Runs on |
|---|---|---|
| ONNX | nothing | CPU always. NVIDIA GPU via CUDA. Apple Neural Engine via CoreML. AMD Radeon iGPU via WebGPU. |
| OpenVINO | x86-64 Linux or Windows | Intel GPU, Intel NPU, and CPU (including AMD Zen4 for INT8 models) |
| CoreML | macOS | All, Apple Neural Engine, GPU, CPU |
| Edge TPU | A Coral (USB, PCIe or M.2) | The Coral |
ONNX is the floor. It is always available, it always works, and on a modern CPU it is genuinely usable for a handful of cameras. Everything else is an accelerator that may or may not be present.
How Dominevo chooses
Automatically, per node, in this order:
CoreML → OpenVINO → Edge TPU → ONNXThe reasoning behind that order is worth knowing:
- CoreML on a Mac and OpenVINO on an Intel box are the platform-native accelerators. If one is available it wins.
- Edge TPU sits just above the floor, and only once you enable it. A Coral is never used until you switch it on for that node (Inference devices). It runs its own smaller detector, and it does not displace a full accelerator: on a modern x86 CPU, OpenVINO is as fast per request — see what a Coral buys you.
- ONNX catches everything else.
Each engine also picks a default device: OpenVINO defaults to auto and lets
Intel's runtime choose between CPU, GPU and NPU; CoreML defaults to using
everything available. On AMD Linux the ONNX path also offers a WebGPU
device for the Radeon iGPU.
You can override both the engine and the device per node. The automatic choice is a sensible default, not a verdict.
On AMD Linux (Ryzen Phoenix / Hawk Point)
Use the amd-* image tag and pass /dev/dri (no group_add needed: the
image hands the passed nodes to the Dominevo user) — see Proxmox and
Docker Compose.
| Device | Default | What it is | When to use it |
|---|---|---|---|
WebGPU (onnx:webgpu) | On when an AMD iGPU is found | ONNX Runtime WebGPU EP on RADV | Runs on the GPU and keeps the CPU free; for YOLO object detection it is slower than OpenVINO CPU INT8 on Phoenix but usable (see Choosing a detector) |
OpenVINO CPU (openvino:cpu) | Off until you enable it | OpenVINO INT8 models on Zen4 (AVX-512 VNNI) | Prefer this for detection — enable it on the node's inference devices |
ONNX CPU (cpu) | Off until you enable it | Plain ONNX on the CPU cores | Fallback; about 2–3× slower than OpenVINO INT8 on the same box |
Measured on a Ryzen 7640HS (Radeon 760M): yolov9m-320-int8 on OpenVINO CPU
is about 21 ms per frame (~48 fps single-request), while the same
yolov9m-320 on WebGPU is about 85 ms per frame. Auto tune uses those
numbers once the OpenVINO CPU device is enabled.
Each WebGPU model runs in its own OS process so several models can load at
once without crashing the pool. Decode uses Mesa VAAPI (radeonsi) on the
same /dev/dri passthrough — that path is independent of which inference
device you pick.
AMD NPU (XDNA) — what works today
Dominevo detects an AMD XDNA NPU when /dev/accel is present and reports
it in the platform probe. It does not offer an NPU inference device on
Linux Phoenix today.
| Chip class | Typical parts | NPU | Linux inference in Dominevo |
|---|---|---|---|
| Phoenix / Hawk Point (XDNA1) | Ryzen 7040 / 8040 mobile, 8000G desktop (e.g. 7640HS, 8600G) | Present (1022:1502) | No. The driver and xrt-smi validate can pass, but Ryzen AI 1.8 on Linux has no Phoenix target in VitisAI — sessions abort on the NPU fingerprint. No vitisai:npu (or similar) device is exposed. |
| Strix Point / Krackan (XDNA2) | Ryzen AI 300-class (e.g. 890M iGPU, NPU 1022:17f0) | Present | Not wired yet. AMD's Linux Ryzen AI docs start support with Strix Point. When a stable ONNX EP path exists, Dominevo can add a device; until then the NPU stays present-only like Phoenix. |
Do not buy a Phoenix mini PC expecting NPU object detection on Linux. Buy it for VAAPI decode plus OpenVINO CPU (and optional WebGPU). Revisit NPU only when AMD lists your APU generation in the Linux Ryzen AI release.
On a Mac
On a Mac, Dominevo runs as the desktop app, and CoreML is the engine it picks.
- Devices. The CoreML device
alllets Core ML spread a model over the Apple Neural Engine, the GPU and the CPU. It is the default. You can chooseane,gpuorcpufor a node instead. - The Neural Engine is on by default on Apple silicon, like any other discovered accelerator. An Intel Mac has no Neural Engine, so CoreML uses its GPU and CPU.
- Models. Every built-in detection and enrichment model has a CoreML
build: object detection, faces, plates, packages, the animal, bird and
vehicle classifiers, segmentation and search embeddings. The Coral-only
detector is the exception. On the Neural Engine, the default object detection
model is
yolov9m-320; see Models. - Audio. Audio analysis uses Apple SoundAnalysis, which is part of macOS, so there is no audio model to download.
- No Coral. The app does not install the Coral's driver, so a Mac does not use a Coral. Plug a Coral into a Linux machine instead.
- Nothing to pass through. The app runs directly on macOS, so the passthrough table below does not apply.
Getting an accelerator into the container
This section is for the container. On a Mac, skip it: the app sees the hardware directly.
An accelerator Dominevo cannot see does not exist. This is the most common reason a machine that "has a GPU" runs on CPU.
| Hardware | Pass into the container as |
|---|---|
| Intel integrated GPU | /dev/dri |
| Intel NPU | /dev/accel |
| AMD Radeon iGPU (VAAPI + WebGPU) | /dev/dri (no /dev/kfd, no group_add); use the amd-* image tag |
| AMD XDNA NPU | /dev/accel (detected only — no Linux inference device on Phoenix today) |
| Coral USB Edge TPU | /dev/bus/usb plus the c 189:* rmw device-cgroup rule |
| Coral PCIe / M.2 Edge TPU | /dev/apex_0, /dev/apex_1, … with the host gasket/apex driver — see Accelerator passthrough |
| CPU | nothing |
The Coral needs both, and the reason is not obvious. A Coral USB accelerator re-enumerates on the USB bus when its library initialises — so the device node you passed through is not the one the driver ends up opening. Without the cgroup rule admitting the whole USB character-device major, the accelerator appears to initialise and then sheds every frame.
The failure looks like a broken model, not a broken passthrough. If your Coral is detected and detects nothing, this is why.
See Docker Compose for where these go, and note that optional devices ship commented out because Docker refuses to start a container declaring a device the host does not have.
Using more than one accelerator
A node can use several inference devices at once — an Intel GPU and an Intel NPU, for instance — with cameras distributed between them.
How a camera lands on a device
When a camera's detection starts, Dominevo picks one device for that session:
- A pin wins. If you pinned the camera to a device, it goes there — provided that device can actually run the camera's detection model.
- Load next. A device with spare capacity beats a busier one.
- Ties rotate. On a typical home install, sessions start and stop with motion and rarely overlap — so at the moment of choosing, every device usually looks equally idle. Ties are rotated across the eligible devices rather than always resolving the same way, so every enabled accelerator gets used. A camera that already has a device keeps it; re-evaluating placement never moves a running session.
Each device runs its own model copy in its own worker — two accelerators are two independent pools, never two threads sharing one.
Which devices participate
- Most accelerators are on by default. A discovered Intel GPU, Intel NPU, Apple Neural Engine or AMD WebGPU iGPU joins the set unless you switch it off.
- CPU (and OpenVINO CPU on AMD) is opt-in. It is not added automatically, because a CPU that is also decoding video is not free capacity, and quietly consuming it makes everything else worse. On AMD Phoenix, enable OpenVINO CPU when you want live YOLO detection at usable speed — see above.
- A Coral is on by default, like an Intel GPU or NPU. Auto tune sizes it at YOLOv9 Small @320 for the Edge TPU (32 ms / 31 fps in the table, the slowest unit measured in 2026-10-22). That model finds less than a 640 detector — see Known limits. Switch the device off if you do not want that quality in the rotation. An explicit off stays off.
- Off means off. Disabling a device stops new sessions from choosing it. A session already running keeps its device until it ends (on a motion-driven camera, when motion stops); re-pinning the camera to Auto restarts the choice immediately.
- Devices are chosen per node. An agent with a Coral uses its Coral; the hub uses whatever the hub has. There is no cluster-wide inference pool.
A step can run on a different device than its camera
Detection is a tree: object detection runs per frame, and enrichment steps — face recognition, plate reading, classifiers — run per track on crops. Not every model ships in every engine's format, so a camera elected onto one accelerator may have an enrichment step whose model that accelerator cannot run. Dominevo handles this per step: the step jumps to another enabled device on the same node that can run it, and only if no device on the node can does it warn and skip. You can also pin an individual step to a device of your choice.
The practical consequence: enabling a Coral for object detection does not cost you face recognition — the face steps simply run on the device that has their models.
Measure, do not guess
Dominevo ships a benchmark addon that runs detection models on your actual hardware and reports what they cost.
Use it before you buy anything. The question "would a Coral help" has an answer specific to your machine, your models and your camera count, and the benchmark gives you that answer in a few minutes.
It also answers the question people usually get wrong: is inference even your bottleneck? On a machine without hardware video decode it very often is not — decode is. Adding an inference accelerator to a machine that is CPU-bound on decoding will change nothing at all. See Hardware acceleration.
Putting the accelerator in another machine
The accelerator does not have to be in the hub. If your Coral is plugged into a different box, or the machine with the Intel GPU is not the machine running Dominevo today, run that machine as an agent and move cameras to it. A Mac with Apple silicon works the same way: install the desktop app as an agent, and its Neural Engine joins the cluster.
Cameras move to hardware; hardware does not move to cameras.
Then
- Hardware acceleration — the other half of the hardware question, and usually the more important one.
- Detection — the settings that decide how much inference you need in the first place.
- Adding another machine — putting the accelerator elsewhere.
Enrichments
Faces, license plates, classifiers and semantic search — what runs on a track rather than a frame, and the thresholds that decide whether a name is right.
Choosing a detector
Which object-detection model to run on which hardware — measured speed on real devices, measured accuracy on real home-camera scenes, and the confidence thresholds each model ships with.