Instructions to use litert-community/SigLIP2-base-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/SigLIP2-base-patch16-224 with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Card: add a measured Performance table (Pixel 8a, benchmark_model GPU+CPU), naming the runtime for each row
Browse files
README.md
CHANGED
|
@@ -101,6 +101,21 @@ collected, and this conversion adds none. Apply your own content/PII filtering a
|
|
| 101 |
appropriate. See the original [SigLIP 2 model card](https://huggingface.co/google/siglip2-base-patch16-224)
|
| 102 |
and [paper](https://arxiv.org/abs/2502.14786) for full dataset details.
|
| 103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
## License & attribution
|
| 105 |
|
| 106 |
- **Apache-2.0** (original SigLIP 2 / [timm checkpoint](https://huggingface.co/timm/vit_base_patch16_siglip_224.v2_webli)).
|
|
|
|
| 101 |
appropriate. See the original [SigLIP 2 model card](https://huggingface.co/google/siglip2-base-patch16-224)
|
| 102 |
and [paper](https://arxiv.org/abs/2502.14786) for full dataset details.
|
| 103 |
|
| 104 |
+
## Performance
|
| 105 |
+
|
| 106 |
+
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.
|
| 107 |
+
|
| 108 |
+
| Runtime | Backend | Graph on GPU | Latency |
|
| 109 |
+
|---|---|---|---|
|
| 110 |
+
| TFLite `benchmark_model` (`TfLiteGpuDelegateV2`) | GPU (OpenCL) | 809 / 1575 | 963.6 ms |
|
| 111 |
+
| TFLite `benchmark_model` | CPU (XNNPACK, 4 threads) | — | 312.9 ms |
|
| 112 |
+
|
| 113 |
+
**Any on-device figure recorded when this model shipped came from a different runtime.** It was taken through LiteRT's own `CompiledModel` accelerator (logcat reports it as `LITERT_CL`), which is the path the Kotlin sample app and the LiteRT API use, and it appears elsewhere on this card. The rows above are the classic TFLite OpenCL delegate, measured with a tool anyone can download and re-run. The two are not comparable, so read the rows above as a reproducible floor rather than as this model's speed on LiteRT.
|
| 114 |
+
|
| 115 |
+
On this delegate the CPU is the faster choice for (312.9 ms on CPU against 963.6 ms on GPU) — worth knowing before you reach for the GPU on a mid-range phone.
|
| 116 |
+
|
| 117 |
+
Note that the GPU does not take the whole graph here (809 of 1575); the remainder runs on the CPU and the split costs a per-partition round trip.
|
| 118 |
+
|
| 119 |
## License & attribution
|
| 120 |
|
| 121 |
- **Apache-2.0** (original SigLIP 2 / [timm checkpoint](https://huggingface.co/timm/vit_base_patch16_siglip_224.v2_webli)).
|