Thundercomm RUBIK Pi 3
How do you know your ONNX model actually ran on the Qualcomm NPU? Start with a fixed image and a quantized SqueezeNet model. Compare a CPU baseline, a mixed run and a strict HTP run with CPU fallback disabled.
PhotographRUBIK Pi 3 development board
RUBIK Pi 3 product photograph shown by ATE Store for SKU ATE104550. The photographed PCB revision and separate reuse permission are unverified.
Visual gallery
Is this for me?
For Python and Linux developers who want to deploy a small ONNX vision model on Qualcomm hardware and verify execution placement. An integrated SBC with UFS and Ethernet suits a headless prototype. A model with evolving shapes or unsupported operators can still need graph edits and CPU work.
What you can do with it
Classify the example's fixed reptile photo with the downloaded quantized SqueezeNet-1.1 and print the top five labels. The useful proof is a QNN partition in the ONNX Runtime trace, actual HTP graph execution in the QNN profile, and a strict run that accepts no CPU graph nodes. A strict rejection with a working mixed trace tells you the graph is only partially delegated or needs further diagnosis. Follow the proof step by step · Compare the three runs
What the complete setup costs
ATE Store Germany lists the 8 GB / 128 GB board as ATE104550 (internal no. 45426), €299.00 before VAT, €355.81 including German 19% VAT. Checked November 16, 2026. The listing showed immediate availability with 1–3 business days within Germany. It gives neither a stock count nor the shipped PCB revision. The board package contains the board, sticker and quick-start card. It has no PSU or fan. Package FAQ
First year in Germany, headless still-image project: €355.81 board + €25.99 adapter + €20–40 cables and bench materials + €0 required software or cloud fees = €401.80–421.80, VAT included where quoted. The UGREEN Nexode 65 W #10335 quote is a displayed promotion. Its single USB-C port use supports USB PD 3.0 at 12 V / 3 A. The €20–40 editorial allowance includes a 3 A USB-C power lead, USB-A to USB-C data lead for QDL, Micro-USB data lead for serial, and a basic nonconductive mount, with a host adapter or Ethernet cable as needed. Reuse a computer and an existing network connection. If the adapter, leads and mount are already owned, the incremental total is €355.81. A new host or network service is unquoted. Shipping, electricity and labor are excluded.
The included 128 GB UFS holds the OS and sample. The project uses a downloaded still image and prints labels in a terminal, with no camera, screen, keyboard, SSD or paid compiler purchase. The optional fan, enclosure and MIPI camera are separate for longer or live-video runs. Optional hosted model jobs, training or storage have separate terms and are outside this estimate.
How to start — and what you need to learn
Use Canonical Ubuntu Server 24.04 LTS for RUBIK Pi 3, x03 build 527 (ubuntu-24.04-preinstalled-server-arm64+rubikpi3-20260305-527.img.xz), with its matching DTB, rawprogram file and the QLI 1.6 boot bundle linked by Canonical. The Server manifest records kernel 6.8.0-1064-qcom and Python 3.12.3. In a Python 3.12 venv on ARM64, pair onnxruntime==1.26.0 with onnxruntime-qnn==2.5.0. Its CPython 3.12 manylinux ARM64 wheel has QAIRT 2.49.40, the HTP backend and the Hexagon V68 host stub and DSP skel. Keep the bundled libraries together and use the Ubuntu image's DSP firmware and FastRPC services. This combination is based on the published image, release and package contents. HTP execution on this board remains untested by Inside AI. Image and checksum · Image manifest · Version pair
Budget for Linux setup, firmware/SSH, a Python virtual environment, reading logs and determining which optimized graph nodes or fused partitions ran. The public sample provides a fixed-shape quantized graph; new models need calibration or graph changes and separate verification.
When another product is a better choice
Choose Jetson Orin Nano Super if your project depends on CUDA or TensorRT. Choose MemryX MX3 M.2 if you already have the required Linux host and want to learn that add-in accelerator's compiler and runtime. RUBIK Pi 3 puts the Qualcomm HTP and host Linux on the same board.
What we know — and what still needs testing
Canonical publishes the board-specific Server image. Microsoft's QNN release pairs the plugin and runtime versions, and the wheel was inspected for its bundled libraries. Thundercomm's example supplies a reproducible input and model. Inside AI ran a CPU-only smoke check on a development computer; the RUBIK Pi hardware, HTP execution, CPU fallback behavior, camera stack, latency and cooling remain untested. Qualcomm rates the AI Engine for up to 12 dense TOPS, which provides no latency or graph coverage for this project. Qualcomm brief
Architecture
For the starter: a locally stored JPEG is decoded, resized and converted to fixed uint8 NCHW on the Cortex CPU with Pillow and NumPy. ONNX Runtime partitions the optimized graph; the QNN plugin calls its HTP backend, which submits work through FastRPC to Hexagon. The runtime returns scores to Python for ranking and printing. With fallback enabled, unclaimed graph nodes may still run on the CPU. A live camera extension would add frame capture, decode and resizing before the same inference step. Example inputs · FastRPC and HTP
ONNX execution by mode
Illustrative software paths for the same image and quantized model. Arrows show logical handoffs. The RUBIK Pi 3 experiment has not been run.
- CPUPrepare the image
Decode and resize the JPEG, then arrange its RGB bytes as a uint8 tensor.
ONNX graph
- CPUCPU Execution Provider
ONNX Runtime sends the optimized graph to the CPU.
- CPUCPU Execution Provider
- CPURead the results
After a successful run, rank the returned scores and print the top five labels.
Use this run as a control. It should produce CPU graph events.
Where to look in the traces
- ORT trace
ort-cpu_*.json - Check Node execution events for CPUExecutionProvider.
- QNN trace
- No HTP CSV is produced in the CPU-only session.
Documented capabilities
QCS6490 combines a Kryo CPU, an Adreno GPU, a Spectra ISP and the Hexagon accelerator. The board has 8 GB LPDDR4x, 128 GB UFS 2.2, two MIPI CSI interfaces, Gigabit Ethernet, 40-pin expansion and an M.2 Key M 2280 slot on PCIe 3.0 x2. The separate USB-C power input expects a suitable PD supply. Board datasheet
SDKs, APIs & extensibility
Use Python for ONNX graph input, outputs, session options and profiling. Build and quantize custom models with local tools and check the plugin's operator and datatype coverage. The pinned QNN EP source is public; the QAIRT HTP runtime and DSP libraries distributed with the wheel are Qualcomm binaries governed by their own terms. The native C/C++ QAIRT SDK route uses a separate supported development host and toolkit. Qualcomm AI Hub is an optional hosted compilation/profiling service that uses an account and API token. The local example does not need it. Rebuild or flash board software using the vendor instructions; verify licenses for firmware or hardware files before redistribution. QNN EP docs · QAIRT SDK · AI Hub Workbench
Limitations
Operator coverage and transfers depend on the model and the exact runtime build. A registered provider, an output label and a faster wall-clock run can all occur with CPU work still in the graph. Verify HTP execution using the per-session JSON and backend CSV. Where ORT fuses nodes into a single QNN partition, the ORT trace cannot attribute a time to each original ONNX node. A thermally sustained vision pipeline needs its own image/driver, camera and cooling test. The board vendor advertises 12 TOPS and ATE's listing also says 12.5 TOPS; Qualcomm specifies up to 12 dense TOPS for the SoC's AI Engine.
Privacy & data flow
The example downloads public assets and packages during setup. After that, the sample pixels, inference and labels can stay on the board; an SSH session displays text to the connected computer. The guide does not upload source footage to a hosted compiler. A future camera project controls retention and network output through its own code. If using AI Hub, verify account and upload/retention terms before submitting a model or data.