Inside AI
← Ideas Lab
Experiment · unrun / Edge AI

Which ONNX operations stay on the CPU on RUBIK Pi 3?

Proposed experiment · no hands-on RUBIK Pi or HTP testing yet. Compare CPU-only, mixed and strict runs for the same fixed image and quantized graph.

Device profile · Thundercomm RUBIK Pi 3 ↗

Lock the software and input

Record PCB revision, image and firmware IDs, kernel, FastRPC packages, Python, ORT and QNN/QAIRT versions, package and input hashes, and cooler/ambient conditions. Use the same preprocessed array and identical optimized-session settings across trials, except for the intended provider and strict gate. Keep first initialization, warmed inference and preprocessing/postprocessing separate. Run guide

Look for two kinds of execution evidence

Save the CPU baseline, a mixed session with HTP first and CPU fallback possible, and a fresh strict session with CPU EP fallback disabled. Keep all stdout, verbose stderr, ORT Chrome-trace JSON and QNN HTP CSV. Use the ORT Node execution events to identify provider placement and HTP graph execution events to confirm the accelerator did work. Record fused partitions as such. If strict initialization rejects CPU assignment while mixed executes QNN and CPU nodes, document the partial delegation and the reported nodes. If registration, drivers or graph finalization are broken, log that separately from an operator falling back.

Measure only after placement is clear

Disable profiling for timing runs, hold the session thread/power settings steady and repeat the same inputs after warmup. Report median and p95 for inference and whole-pipeline latency, peak resident memory, relative score or top-k changes, and throttling during a separate sustained run. For a future camera test, time capture/decode, resize, inference, and output separately, and document camera, OS driver and cooling. Treat this as a proposed protocol. No speedup, accuracy, temperature or wall power has been measured on RUBIK Pi 3.

Primary sources

Canonical Ubuntu Server x03 files Thundercomm SqueezeNet-1.1 example ONNX Runtime QNN EP v2.5.0 release Pinned QNN EP documentation and profiling options