mlboydaisuke commited on
Commit
15138a6
·
verified ·
1 Parent(s): c4d808c

Add measured Raspberry Pi 5 (CPU) section

Browse files

Numbers from the 2026-08-31 Raspberry Pi 5 sweep: LiteRT benchmark_model
(litert-cli-nightly 0.2.0.dev20260805), CPU/XNNPACK, 4 threads, 10 warm-up +
50 timed runs x 3 invocations per file, cooldown between invocations, thermal
throttle state verified 0x0 on every run. Median + spread, never single-shot.
Measurements are joined to this repo by exact .tflite file name.

Files changed (1) hide show
  1. README.md +11 -0
README.md CHANGED
@@ -166,3 +166,14 @@ Measured on a **Samsung Galaxy S26** (Snapdragon 8 Elite Gen 5 / SM8850, Hexagon
166
  **The NPU rows ran the published file unchanged.** LiteRT compiled it for the Hexagon on the device at first load. Those first compiles took 2.1 s to 6.2 min here. The `load` column above is the cached load every later run pays. Recipe and the runtime libraries it needs: [NPU guide](https://github.com/john-rocky/hf-to-litertlm/blob/main/docs/android-npu.md).
167
 
168
  GPU wiring: [GPU guide](https://github.com/john-rocky/hf-to-litertlm/blob/main/docs/android-gpu.md).
 
 
 
 
 
 
 
 
 
 
 
 
166
  **The NPU rows ran the published file unchanged.** LiteRT compiled it for the Hexagon on the device at first load. Those first compiles took 2.1 s to 6.2 min here. The `load` column above is the cached load every later run pays. Recipe and the runtime libraries it needs: [NPU guide](https://github.com/john-rocky/hf-to-litertlm/blob/main/docs/android-npu.md).
167
 
168
  GPU wiring: [GPU guide](https://github.com/john-rocky/hf-to-litertlm/blob/main/docs/android-gpu.md).
169
+
170
+ ## Raspberry Pi 5 (CPU)
171
+
172
+ Measured on a Raspberry Pi 5 Model B Rev 1.1 (8 GB, Raspberry Pi OS 64-bit) with the LiteRT [`benchmark_model`](https://ai.google.dev/edge/litert/models/measurement) 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`).
173
+
174
+ | File | Inference (median) | Spread (min–max) | Runs | Peak memory |
175
+ |---|---:|---:|---:|---:|
176
+ | `mimi_dec_tx_fp16.tflite` | 35.4 ms | 34.9–36.6 ms | 150 | 185 MB |
177
+ | `mimi_deconly_fp16.tflite` | 586.3 ms | 551.8–615.2 ms | 150 | 223 MB |
178
+ | `mimi_enc_conv_fp16.tflite` | 298.6 ms | 294.5–301.0 ms | 150 | 153 MB |
179
+ | `mimi_enc_tx_fp16.tflite` | 36.6 ms | 35.9–37.6 ms | 150 | 189 MB |