Instructions to use litert-community/gcvit_tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/gcvit_tiny 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
Add LiteRT converted gcvit_tiny
Browse files- README.md +23 -0
- model.tflite +3 -0
README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: litert
|
| 3 |
+
tags:
|
| 4 |
+
- vision
|
| 5 |
+
- image-classification
|
| 6 |
+
datasets:
|
| 7 |
+
- imagenet-1k
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# gcvit_tiny
|
| 11 |
+
|
| 12 |
+
Converted TIMM image classification model for LiteRT.
|
| 13 |
+
|
| 14 |
+
- Source architecture: `gcvit_tiny`
|
| 15 |
+
- Source checkpoint: `https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights-morevit/gcvit_tiny_224_nvidia-ac783954.pth`
|
| 16 |
+
- File: `model.tflite`
|
| 17 |
+
- Input: `float32` tensor in NCHW layout, shape `[1, 3, 224, 224]`
|
| 18 |
+
- Output: ImageNet-1K logits, shape `[1, 1000]`
|
| 19 |
+
|
| 20 |
+
## Runtime Status
|
| 21 |
+
|
| 22 |
+
- CPU smoke test: passed with LiteRT `CompiledModel`.
|
| 23 |
+
- GPU delegation: currently blocked for this model by rank-5 tensor patterns in the GPU backend, mostly `RESHAPE`, `TRANSPOSE`, and related window/attention operations. The model is published as CPU-ready while GPU support is being improved.
|
model.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2ca54b7f0875c778b27571ae09404546d1b3913fb5d8f36765858c9480bf95d
|
| 3 |
+
size 136955488
|