Your edge AI board isn't slow. Your export path is: 6 ways to run 1 model, 27x apart
You unbox a new AI board, run the vendor's demo model the obvious way, and get a number so slow you almost write the chip off. I've done this.
The chip was fine. The path I picked was the problem - and nothing in the tooling warned me, because the slow path isn't an error. It just quietly runs.
The model is YOLOv11-N, the board is a Qualcomm QCS6490 (RB3 Gen 2 kit). I ran the same weights through every export path I could get working and timed each one on the same board. Six paths. The fastest and the slowest differ by 27x.
The default path
Which path did you take out of the box? The default one. You take the model, convert it to TFLite the standard way, hand it to the runtime, and it runs: 134.7 ms per frame.
That's about 7 frames per second - for a nano detection model, on a chip sold on its AI performance. If this is where you stop, you walk away thinking the hardware is weak.
It isn't weak. It's just running the path of least resistance, where large parts of the model end up in a generic runtime instead of compiled for the DSP.
The fast path
What does the fast path look like? Pre-compiled, quantized, built for the actual chip: the same YOLOv11-N, exported as a w8a8 QDQ model through Qualcomm's AI Hub and compiled for the QCS6490's Hexagon DSP. 5.03 ms per frame. Fully on the NPU.
Same weights, same board, same me - 27x faster than the default path.
Think of it like the difference between reading a book through a translator who looks up every word, and just⦠reading the book. The default path interprets. The compiled path was written for this exact hardware.
Paths that didn't run at all
What about the paths that didn't run at all? Two of the six didn't produce a number, and they're the most instructive part.
The w8a16 path - 16-bit activations, the one you'd pick for accuracy - died during conversion with nothing but exit code 14. No message. That failure took a vendor issue and a maintainer's reply to decode: the RB3 Gen 2's DSP is a Hexagon v68, and the int16 kernel this path needs requires v73 or newer. The hardware literally doesn't have the instruction path. No setting fixes that; you pick a different quantization and move on.
And the "just try everything" approach has a cost too: each path is its own toolchain, its own conversion quirks, its own silent failure mode. Six paths meant six different ways to waste an evening.
The list below is the whole result, failures included, because the failures are routing information: they tell the next person which doors are locked before they push.
The numbers, as evidence
Same model (YOLOv11-N), same board (QCS6490, RB3 Gen 2), measured by me on my kit - single-board results, not a lab benchmark:
- TFLite, default path: 134.7 ms/frame
- w8a8 QDQ, pre-compiled for the DSP: 5.03 ms/frame (fully on NPU)
- w8a16 QDQ: failed at conversion - needs Hexagon v73+, this board is v68
- NanoDet (a different, smaller model) w8a8 for comparison: 6.47 ms on the same board
One more thing worth knowing: that 134.7 ms default number isn't a bug, and nobody at the vendor is lying to you. The default path is built to run anywhere, and "anywhere" is expensive. The compiled path is built to run in exactly one place, and it's cheap.
Every edge chip I've touched has this gap hiding in it. The only question is whether the vendor's docs make you find it yourself.
The full measured table - RK3588 rows included, failures and all - lives in the rk-bench repo (github.com/anguoyang/rk-bench) and is updated as new boards get measured.
So before you judge a board by its first number: which path produced that number? If you've benchmarked a board and been disappointed - was it the chip, or was it the path? Genuinely asking, because I nearly filed this one under "slow hardware" and moved on.
Comments
No comments yet. Start the discussion.