mlboydaisuke commited on
Commit
5e1548c
·
verified ·
1 Parent(s): 8253ed4

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
@@ -79,6 +79,18 @@ Result: banned ops NONE, all tensors ≤4D, tflite-vs-torch corr **1.0**, device
79
  Center-crop to a (centered) face, resize 448×448, /255, ImageNet mean/std, NCHW. Decode: softmax expectation
80
  over the 90 bins → yaw/pitch degrees → gaze direction.
81
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  ## License
83
 
84
  [MIT](https://github.com/Ahmednull/L2CS-Net/blob/main/LICENSE). Upstream:
 
79
  Center-crop to a (centered) face, resize 448×448, /255, ImageNet mean/std, NCHW. Decode: softmax expectation
80
  over the 90 bins → yaw/pitch degrees → gaze direction.
81
 
82
+ ## Performance
83
+
84
+ 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.
85
+
86
+ | Runtime | Backend | Graph on GPU | Latency |
87
+ |---|---|---|---|
88
+ | LiteRT `CompiledModel` (`LITERT_CL`) | GPU | 139 / 139 | ~3 ms |
89
+ | TFLite `benchmark_model` (`TfLiteGpuDelegateV2`) | GPU (OpenCL) | 139 / 139 | 45.3 ms |
90
+ | TFLite `benchmark_model` | CPU (XNNPACK, 4 threads) | — | 541.7 ms |
91
+
92
+ **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.
93
+
94
  ## License
95
 
96
  [MIT](https://github.com/Ahmednull/L2CS-Net/blob/main/LICENSE). Upstream: