mlboydaisuke commited on
Commit
818d594
·
verified ·
1 Parent(s): a88ccaa

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
@@ -100,6 +100,18 @@ boxes = np.concatenate([cxy - wh / 2, cxy + wh / 2], 1) # x1y1x2y2 (0..1)
100
  # then per-class NMS on conf, and mask_i = sigmoid(proto @ mask[i]) cropped to boxes[i]
101
  ```
102
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  ## License
104
 
105
  MIT (YOLACT / dbolya/yolact). COCO class taxonomy.
 
100
  # then per-class NMS on conf, and mask_i = sigmoid(proto @ mask[i]) cropped to boxes[i]
101
  ```
102
 
103
+ ## Performance
104
+
105
+ 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.
106
+
107
+ | Runtime | Backend | Graph on GPU | Latency |
108
+ |---|---|---|---|
109
+ | LiteRT `CompiledModel` (`LITERT_CL`) | GPU | 138 / 138 | ~41 ms |
110
+ | TFLite `benchmark_model` (`TfLiteGpuDelegateV2`) | GPU (OpenCL) | 138 / 138 | 130.4 ms |
111
+ | TFLite `benchmark_model` | CPU (XNNPACK, 4 threads) | — | 1426.2 ms |
112
+
113
+ **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.
114
+
115
  ## License
116
 
117
  MIT (YOLACT / dbolya/yolact). COCO class taxonomy.