mlboydaisuke commited on
Commit
b68a15e
·
verified ·
1 Parent(s): ae20097

Card: add a measured Performance table (Pixel 8a, benchmark_model GPU+CPU), naming the runtime for each row

Browse files
Files changed (1) hide show
  1. README.md +12 -0
README.md CHANGED
@@ -84,6 +84,18 @@ v = it.get_tensor(out[0]["index"])[0] # [6] -> Gram-Schmidt -> rotation matri
84
  Converted with **litert-torch** (`build_6drepnet.py`): loads the deploy-mode RepVGG weights
85
  and exports the 6D head (input face crop → 6D).
86
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  ## License
88
 
89
  MIT (6DRepNet / thohemp). Trained on 300W-LP.
 
84
  Converted with **litert-torch** (`build_6drepnet.py`): loads the deploy-mode RepVGG weights
85
  and exports the 6D head (input face crop → 6D).
86
 
87
+ ## Performance
88
+
89
+ Measured on a **Pixel 8a** (Tensor G3, Android 16) with the standard TFLite [`benchmark_model`](https://ai.google.dev/edge/litert/models/measurement) tool — 10 warm-up runs then 50 timed runs, reported as the tool's mean.
90
+
91
+ | Runtime | Backend | Graph on GPU | Latency |
92
+ |---|---|---|---|
93
+ | LiteRT `CompiledModel` (`LITERT_CL`) | GPU | 36 / 36 | ~21 ms |
94
+ | TFLite `benchmark_model` (`TfLiteGpuDelegateV2`) | GPU (OpenCL) | 36 / 36 | 34.2 ms |
95
+ | TFLite `benchmark_model` | CPU (XNNPACK, 4 threads) | — | 155.2 ms |
96
+
97
+ **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.
98
+
99
  ## License
100
 
101
  MIT (6DRepNet / thohemp). Trained on 300W-LP.