RTMW (mmpose, CSPNeXt + CSPNeXtPAFPN neck +
RTMW/SimCC head) whole-body 2D pose, converted to LiteRT and running fully on the CompiledModel
GPU (ML Drift) on Android. 133 COCO-WholeBody keypoints — 17 body + 6 feet + 68 face + 42 hands — for a
single centered person.
nn.PixelShuffle → depth-to-space ConvTranspose2d (ZeroStuffConvT2d) — the RTMW head's PixelShuffle
upsample lowers to a 6D tensor (>4D, GPU-rejected); the fixed depth-to-space conv keeps it 4D and exact.
Center-crop to 3:4, resize to 192×256, ImageNet 0-255 normalize (mean [123.675, 116.28, 103.53], std
[58.395, 57.12, 57.375]), NCHW. Top-down — one centered person. SimCC argmax (÷ split=2) → pixel.
Performance
Measured on a Pixel 8a (Tensor G3, Android 16) with the standard TFLite benchmark_model tool — 10 warm-up runs then 50 timed runs, reported as the tool's mean.
Runtime
Backend
Graph on GPU
Latency
LiteRT CompiledModel (LITERT_CL)
GPU
531 / 531
~6 ms
TFLite benchmark_model (TfLiteGpuDelegateV2)
GPU (OpenCL)
531 / 531
38.5 ms
TFLite benchmark_model
CPU (XNNPACK, 4 threads)
—
XNNPACK declined the graph
The two GPU rows are different runtimes, not a contradiction. The LITERT_CL figure is the one recorded when this model shipped, taken through LiteRT's own CompiledModel accelerator — the path the Kotlin sample app and the LiteRT API use. The TfLiteGpuDelegateV2 figure is the classic TFLite OpenCL delegate, measured with a tool anyone can download and re-run. They agree on how much of the graph the GPU takes; they disagree on speed, and the classic delegate is the slower of the two here. Read the TfLiteGpuDelegateV2 row as a reproducible floor, not as this model's speed on LiteRT.
XNNPACK declines these fp16 graphs — it reports failed to delegate DEPTHWISE_CONV_2D and then fails to allocate tensors — so there is no usable CPU number. Disabling XNNPACK falls back to reference kernels, which measured about 20× slower than the GPU on models of this size and would not represent CPU inference anyone would ship.
Snapdragon NPU (Hexagon)
The NPU is 4.47x faster than the GPU (2.66 ms against 11.88 ms) and loads 10.12x faster (125 ms against 1267 ms).
backend
compiled
inference (median / min)
load
NPU (Hexagon v81)
on-device JIT
2.66 ms / 2.62 ms
125 ms
GPU (Adreno)
—
11.88 ms / 11.21 ms
1267 ms
Measured on a Samsung Galaxy S26 (Snapdragon 8 Elite Gen 5 / SM8850, Hexagon v81, Android 16) with LiteRT CompiledModel 2.2.0, one accelerator per process, 5 warm-up runs then N=50 timed runs, median reported. Every run held thermal status NONE throughout. Headroom 0.71–0.72, where 1.0 is the throttling threshold.
The NPU rows ran the published file unchanged. LiteRT compiled it for the Hexagon on the device at first load. That first compile took 1.2 s here. The load column above is the cached load every later run pays. Recipe and the runtime libraries it needs: NPU guide.
Measured on a Raspberry Pi 5 Model B Rev 1.1 (8 GB, Raspberry Pi OS 64-bit) with the LiteRT benchmark_model tool from litert-cli-nightly 0.2.0.dev20260805: CPU inference (XNNPACK, 4 threads), 3 invocations per file of 10 warm-up plus 50 timed runs (the tool caps a phase at 150 s, so very slow graphs run fewer — the Runs column is the actual timed total). The latency is the median across invocations; the spread is the min–max over all timed runs. No thermal throttling occurred during these runs (vcgencmd get_throttled stayed 0x0).