Contents
What an NPU Is (and Isn't)
An NPU is a specialized processor optimized for one thing: the multiply-accumulate matrix operations that dominate neural-network inference. Instead of a general-purpose core that can do anything, an NPU has a datapath tuned to run a model's layers fast and at very low power. It is not a general accelerator; it is a narrow one, and that narrowness is exactly its advantage.
The boundary worth drawing up front:
- It is for inference, not training. Training requires the flexibility and memory of a GPU. An NPU runs models that are already trained and usually quantized — rebuilt to store their numbers at low precision, typically 8-bit integers in place of the 16- or 32-bit floating-point values used during training. That shrinks the model enough to fit and lets the NPU's fixed-function math run it far faster, at a small cost in accuracy.
- It is for small-to-medium models. The model has to fit the NPU's (typically small) onboard memory or stream through it; you are not running a frontier-class model on an NPU.
- It is built for efficiency, not peak throughput. An NPU's headline number is not "how fast" but "how much work per watt" — which is what matters in a laptop, an edge device, or a power-constrained rack.
NPU vs GPU vs CPU
| CPU | GPU | NPU | |
|---|---|---|---|
| Strength | General-purpose; runs anything | Massive parallel throughput; flexible; trains and infers | Matrix math at very low power; inference only |
| Model size it handles | Small (fallback) | Any (frontier down to tiny) | Small-to-medium, quantized |
| Power | Moderate | High (tens to hundreds of watts) | Very low (a few watts) |
| Where you find it | Everywhere | Servers, workstations, discrete cards | AI PCs, phones, edge devices, some servers |
| Best for | Control logic, small/occasional inference | Training, large models, flexible AI | Always-on, low-power, or edge inference |
The practical rule: a GPU is the right tool when the model is large or the workload needs flexibility; an NPU is the right tool when the model is small, the inference is frequent, and the power budget (or the latency budget — see the edge article) is the binding constraint.
TOPS and TOPS-per-Watt
NPU marketing is dominated by one number: TOPS, trillions of operations per second. It is a real measure but an easy one to misread, for two reasons:
- It is usually an INT8 number. NPUs often quote INT8 (8-bit integer) TOPS, which is much higher than the FP16 or FP32 numbers a GPU quotes. Comparing a 40-TOPS NPU to a GPU requires knowing the precision.
- It is peak, not sustained. The theoretical TOPS assumes a fully saturated datapath; real models rarely sustain it because of memory bandwidth and per-layer overhead.
TOPS per watt is useful for power-constrained inference, but vendor TOPS figures are not directly comparable across architectures, precision modes, or workloads. Measure latency, throughput, power, memory limits, and model compatibility on the target device.
The AI-PC Wave
The "AI PC" is a laptop or desktop with a dedicated NPU alongside the CPU and GPU, and every major platform now ships one:
- Intel Core Ultra — an integrated NPU on the CPU package.
- AMD Ryzen AI[4] — the XDNA NPU.
- Apple Neural Engine — the NPU inside Apple Silicon.
- Qualcomm Snapdragon X — the Hexagon NPU.
The software story is what makes the hardware usable: runtimes such as ONNX Runtime[2] (with the DirectML execution provider on Windows), OpenVINO[1] (Intel), and Windows ML break a model down into the individual steps it is assembled from — the operators: the matrix multiplications, convolutions, and activation functions of each layer — and send each step to the NPU where the NPU supports it, falling back to the CPU or GPU for the steps it does not. That abstraction is the key idea: you write against a runtime, and the runtime decides, operator by operator, which piece of silicon actually runs that part of the model.
Edge NPUs: Hailo, Coral, and Friends
The same efficiency that makes an NPU useful in a laptop makes it compelling at the edge, where power and heat budgets are tiny and inference has to be local:
- Hailo-8 / Hailo-8L[3] — an M.2 or module NPU aimed at video analytics and edge inference; high TOPS-per-watt.
- Google Coral (Edge TPU) — a small USB/M.2 accelerator commonly used for prototypes. Verify current hardware availability, runtime maintenance, and model-compiler support before choosing it for a maintained fleet.
- NVIDIA Jetson[5] — a family of edge modules that pair a GPU with Arm CPUs; not a pure NPU but the de facto standard for heavier edge AI.
The companion edge-video article covers the complete pipeline. An NPU can make local inference practical within a small power budget when the model compiles cleanly to that device.
A Worked Example: A Local LLM on an AI-PC NPU
Running a small language model locally on an AI-PC NPU is the best way to feel the difference. The workflow: export or obtain a quantized model, then load it through a runtime that targets the NPU. Two equivalent paths:
Path 1 — ONNX Runtime with DirectML (Windows, works across NPU vendors):
# In Python, load an ONNX model and run it with the DirectML provider,
# which schedules eligible operators onto the NPU/GPU.
import onnxruntime as ort
print(ort.get_available_providers()) # look for 'DmlExecutionProvider'
session = ort.InferenceSession("model.onnx", providers=["DmlExecutionProvider"])
result = session.run(None, {"input": input_tensor})
Path 2 — OpenVINO (Intel NPU):
# Intel's OpenVINO exposes the NPU as a first-class device.
from openvino import Core
core = Core()
print(core.available_devices) # look for "NPU" in the list
compiled = core.compile_model("model.xml", device_name="NPU")
result = compiled([input_tensor])
For a ready-to-run experience, tools such as ONNX Runtime GenAI and the various "local LLM" launchers now expose an NPU/DirectML target — the important part is that the model is quantized (INT8/INT4) so it fits and runs efficiently on the NPU. Expect the first run to be a benchmark of your own patience with the toolchain, and then a small, quiet model answering locally with no network round-trip.
The toolchain is still young — expect per-vendor quirks. Which operators an NPU supports, how the runtime decides to split a model across NPU/CPU/GPU, and how you discover the NPU device all vary by vendor and release. The two code paths above are the current shape of things; when a model "doesn't run on the NPU," the usual answer is that a specific operator fell back to the CPU, not that the NPU is broken. Use the runtime's logging to see where each operator actually ran.
Verify the Model on the Target NPU
Framework support does not guarantee that the complete model runs on the NPU. Unsupported operators may fall back to the CPU, which can make a successful demo look like an accelerator result.
- Enable runtime profiling and confirm which execution provider ran every operator. Record any partition boundary and CPU fallback.
- Use the intended model precision and input shape. Compare output quality against the reference CPU implementation on a labeled test set.
- Measure p50 and p95 latency, sustained throughput, CPU use, memory use, and wall power after warm-up.
- Package the model, compiler/runtime version, driver, and conversion flags as a repeatable artifact, then reproduce the result on a clean device.
Acceptance rule: call the workload NPU-accelerated only when profiling shows the intended graph runs there and the end-to-end service meets its quality and latency targets.
Caveats and Limits
An NPU is a genuinely useful device, but it is not a GPU replacement, and the marketing outpaces the reality in three specific ways:
- Model-size ceiling. An NPU runs small, quantized models. If the model does not fit, the runtime silently spills to CPU/GPU and you lose the efficiency you bought the NPU for.
- Tooling maturity. The runtimes are improving fast but are not uniform; getting a specific model fully onto the NPU is still a per-model, per-vendor exercise.
- The "AI PC" is partly a brand. The NPU matters for always-on, low-power tasks (background transcription, camera effects, small copilots). It is not what trains models, and it is not what runs a large local model at high speed — for that, you still want a GPU.
An NPU fits frequent, power-sensitive inference on models its compiler and memory can support. Training, rapidly changing models, and unsupported operators usually belong on a GPU or CPU. Benchmark the actual model, including fallback operators, before selecting the device.
References
- Intel — "OpenVINO" documentation and the NPU device plugin: compiling and running models on the Intel NPU. Intel Technical Documentation, current.
- Microsoft — "ONNX Runtime" and the DirectML execution provider documentation: NPU/GPU scheduling on Windows. Microsoft Learn, current.
- Hailo — "Hailo-8" and HailoRT documentation: the M.2/module NPU and its inference runtime. Hailo Technical Documentation, current.
- AMD — "Ryzen AI" (XDNA NPU) documentation. AMD Technical Documentation, current.
- NVIDIA — "NVIDIA Jetson" platform documentation: the edge module family for local AI. NVIDIA Technical Documentation, current.