snnn001 commited on
Commit
4f761a2
·
verified ·
1 Parent(s): 6c0c347

Update TIMM FP32 and mixed INT8 exports

Browse files

Publish the validated FP32 export and convolution/FC static INT8 variant with CPU/GPU/NPU compatibility notes.

Files changed (3) hide show
  1. README.md +15 -1
  2. model.tflite +2 -2
  3. model_static_int8.tflite +3 -0
README.md CHANGED
@@ -13,7 +13,21 @@ datasets:
13
  Converted TIMM image classification model for LiteRT.
14
 
15
  - Source architecture: swin_tiny_patch4_window7_224
16
- - File: model.tflite
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
  ## Model Details
19
 
 
13
  Converted TIMM image classification model for LiteRT.
14
 
15
  - Source architecture: swin_tiny_patch4_window7_224
16
+ - FP32 file: `model.tflite`
17
+ - Static INT8 file: `model_static_int8.tflite`
18
+
19
+ ## Compatibility
20
+
21
+ | File | CPU | GPU | NPU |
22
+ |---|---|---|---|
23
+ | `model.tflite` | Supported | Supported with CPU fallback | N/A |
24
+ | `model_static_int8.tflite` | Supported | Supported with CPU fallback | Qualcomm |
25
+
26
+ The NPU entry denotes compilation support; runtime accuracy is unverified.
27
+
28
+ `model_static_int8.tflite` uses INT8 inputs/outputs and convolution/FC quantization; attention, normalization and other operations remain FP32. Apply the source checkpoint’s preprocessing, then quantize the input and dequantize the output using the file’s tensor scales and zero points.
29
+
30
+ For GPU execution of `model_static_int8.tflite`, select FP32 GPU precision.
31
 
32
  ## Model Details
33
 
model.tflite CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5a521d8c8cf50da70bd82b47dbfec03433fc4cf4f7c19e6f5263ae3f3d8823bf
3
- size 114467920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99713f3f82e021d52aaa36f6a9d6fbcdcbc73d8ed039038f19224a55def93d41
3
+ size 114325744
model_static_int8.tflite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a8973be0b7b74b4bf46bef391ec645b4e5c11feb99d584f4a38e5a4f63aeccc
3
+ size 30740584