mlboydaisuke commited on
Commit
96c44fd
·
verified ·
1 Parent(s): b4ed353

litertlm_manifest.json: both files with external weights (sha256, size, sections), min_runtime_version 0.19.0, the LiteRT-LM#3986 line

Browse files
Files changed (1) hide show
  1. litertlm_manifest.json +37 -11
litertlm_manifest.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "manifest_schema": "0.1.3",
3
  "repo": "litert-community/WeVisOne-VL-4B",
4
- "generated": "2026-11-11",
5
  "generator": "make_manifest.py",
6
  "model": {
7
  "display_name": "WeVisOne-VL-4B (LiteRT-LM)",
@@ -22,8 +22,8 @@
22
  "variants": [
23
  {
24
  "file": "WeVisOne-VL-4B_int4.litertlm",
25
- "sha256": "1c14c17a7e8bd688d888300a68e2f7512b255a275a444a3f22bde395cad4b12f",
26
- "size_bytes": 3507874304,
27
  "sections": [
28
  {
29
  "type": "LlmMetadataProto",
@@ -39,12 +39,12 @@
39
  },
40
  {
41
  "type": "TFLiteModel",
42
- "size_bytes": 392695648,
43
  "model_type": "tf_lite_embedder"
44
  },
45
  {
46
  "type": "TFLiteModel",
47
- "size_bytes": 2282878832,
48
  "model_type": "tf_lite_prefill_decode"
49
  },
50
  {
@@ -56,6 +56,16 @@
56
  "type": "TFLiteModel",
57
  "size_bytes": 218245632,
58
  "model_type": "tf_lite_vision_adapter"
 
 
 
 
 
 
 
 
 
 
59
  }
60
  ],
61
  "quantization": "int4 weights in blocks of 32 (ai-edge-quantizer 0.10.0 dynamic int4 blockwise-32, every block scale floored at 2^-14) in the decoder (36 layers + untied output head); int8 weights (dynamic_wi8_afp32, one scale per output channel) in the token embedder outside the decoder graph (EMBEDDER section, 10244-wide rows); fp16 vision encoder and adapter. After the export the decoder graph's KV-cache writes and attention products were rewritten into LiteRT-LM's GPU composite ops (odml.cache_update, odml.runtime_bmm), every weight byte unchanged. PREFILL_DECODE declares prefer_activation_type fp32 (GPU: fp32 activations for the decoder; the vision encoder runs at the executor's default fp32)",
@@ -63,7 +73,7 @@
63
  "gpu"
64
  ],
65
  "default_backend": "gpu",
66
- "min_runtime_version": "0.18.1",
67
  "recommended": [
68
  {
69
  "platform": "android",
@@ -180,12 +190,15 @@
180
  "date": "2026-10-28"
181
  }
182
  ],
 
 
 
183
  "context_length": 2048
184
  },
185
  {
186
  "file": "WeVisOne-VL-4B_int8.litertlm",
187
- "sha256": "277492d63a16615152d3445e3748126f4c7b60adea224365da1505f90d211881",
188
- "size_bytes": 5358955008,
189
  "sections": [
190
  {
191
  "type": "LlmMetadataProto",
@@ -201,12 +214,12 @@
201
  },
202
  {
203
  "type": "TFLiteModel",
204
- "size_bytes": 392695648,
205
  "model_type": "tf_lite_embedder"
206
  },
207
  {
208
  "type": "TFLiteModel",
209
- "size_bytes": 4133951184,
210
  "model_type": "tf_lite_prefill_decode"
211
  },
212
  {
@@ -218,6 +231,16 @@
218
  "type": "TFLiteModel",
219
  "size_bytes": 218245632,
220
  "model_type": "tf_lite_vision_adapter"
 
 
 
 
 
 
 
 
 
 
221
  }
222
  ],
223
  "quantization": "For a CPU. int8 weights (ai-edge-quantizer 0.10.0 dynamic_wi8_afp32, one scale per output channel) in the decoder (36 layers + untied output head) and in the token embedder outside the decoder graph (EMBEDDER section, 10244-wide rows); fp16 vision encoder and adapter. No activation type declared; the decoder graph has no GPU composite ops (the export as written, not rewritten)",
@@ -225,7 +248,7 @@
225
  "cpu"
226
  ],
227
  "default_backend": "cpu",
228
- "min_runtime_version": "0.18.1",
229
  "recommended": [
230
  {
231
  "platform": "android",
@@ -308,6 +331,9 @@
308
  "date": "2026-10-27"
309
  }
310
  ],
 
 
 
311
  "context_length": 2048
312
  }
313
  ]
 
1
  {
2
  "manifest_schema": "0.1.3",
3
  "repo": "litert-community/WeVisOne-VL-4B",
4
+ "generated": "2026-11-12",
5
  "generator": "make_manifest.py",
6
  "model": {
7
  "display_name": "WeVisOne-VL-4B (LiteRT-LM)",
 
22
  "variants": [
23
  {
24
  "file": "WeVisOne-VL-4B_int4.litertlm",
25
+ "sha256": "6ae2e63e83516bf8a8f382c9938c0be8f716cba2a66b8bbcc22991e9123c1e48",
26
+ "size_bytes": 3507963904,
27
  "sections": [
28
  {
29
  "type": "LlmMetadataProto",
 
39
  },
40
  {
41
  "type": "TFLiteModel",
42
+ "size_bytes": 1834976,
43
  "model_type": "tf_lite_embedder"
44
  },
45
  {
46
  "type": "TFLiteModel",
47
+ "size_bytes": 270863832,
48
  "model_type": "tf_lite_prefill_decode"
49
  },
50
  {
 
56
  "type": "TFLiteModel",
57
  "size_bytes": 218245632,
58
  "model_type": "tf_lite_vision_adapter"
59
+ },
60
+ {
61
+ "type": "TFLiteWeights",
62
+ "size_bytes": 390860800,
63
+ "model_type": "tf_lite_embedder"
64
+ },
65
+ {
66
+ "type": "TFLiteWeights",
67
+ "size_bytes": 2012088320,
68
+ "model_type": "tf_lite_prefill_decode"
69
  }
70
  ],
71
  "quantization": "int4 weights in blocks of 32 (ai-edge-quantizer 0.10.0 dynamic int4 blockwise-32, every block scale floored at 2^-14) in the decoder (36 layers + untied output head); int8 weights (dynamic_wi8_afp32, one scale per output channel) in the token embedder outside the decoder graph (EMBEDDER section, 10244-wide rows); fp16 vision encoder and adapter. After the export the decoder graph's KV-cache writes and attention products were rewritten into LiteRT-LM's GPU composite ops (odml.cache_update, odml.runtime_bmm), every weight byte unchanged. PREFILL_DECODE declares prefer_activation_type fp32 (GPU: fp32 activations for the decoder; the vision encoder runs at the executor's default fp32)",
 
73
  "gpu"
74
  ],
75
  "default_backend": "gpu",
76
+ "min_runtime_version": "0.19.0",
77
  "recommended": [
78
  {
79
  "platform": "android",
 
190
  "date": "2026-10-28"
191
  }
192
  ],
193
+ "known_issues": [
194
+ "Android GPU needs LiteRT-LM 0.19.0 or later: since 2026-11-12 this file's decoder and token-embedder weights sit in TFLiteWeights sections at the end of the file (LiteRT's external weights), and the GPU engine of the v0.18.0 and v0.18.1 Android builds crashes (SIGSEGV) on such a file (https://github.com/google-ai-edge/LiteRT-LM/issues/3986); the earlier file with the weights inside the graph stays at revision ee03d010ff8242246d919760f52097e68ac6c1e8 (https://huggingface.co/litert-community/WeVisOne-VL-4B/tree/ee03d010ff8242246d919760f52097e68ac6c1e8)"
195
+ ],
196
  "context_length": 2048
197
  },
198
  {
199
  "file": "WeVisOne-VL-4B_int8.litertlm",
200
+ "sha256": "c288209eb368095d71bc26e9d75d88b42252000b886c02fc2cd0d773679a9adf",
201
+ "size_bytes": 5359046656,
202
  "sections": [
203
  {
204
  "type": "LlmMetadataProto",
 
214
  },
215
  {
216
  "type": "TFLiteModel",
217
+ "size_bytes": 1834976,
218
  "model_type": "tf_lite_embedder"
219
  },
220
  {
221
  "type": "TFLiteModel",
222
+ "size_bytes": 109858896,
223
  "model_type": "tf_lite_prefill_decode"
224
  },
225
  {
 
231
  "type": "TFLiteModel",
232
  "size_bytes": 218245632,
233
  "model_type": "tf_lite_vision_adapter"
234
+ },
235
+ {
236
+ "type": "TFLiteWeights",
237
+ "size_bytes": 390860800,
238
+ "model_type": "tf_lite_embedder"
239
+ },
240
+ {
241
+ "type": "TFLiteWeights",
242
+ "size_bytes": 4024176640,
243
+ "model_type": "tf_lite_prefill_decode"
244
  }
245
  ],
246
  "quantization": "For a CPU. int8 weights (ai-edge-quantizer 0.10.0 dynamic_wi8_afp32, one scale per output channel) in the decoder (36 layers + untied output head) and in the token embedder outside the decoder graph (EMBEDDER section, 10244-wide rows); fp16 vision encoder and adapter. No activation type declared; the decoder graph has no GPU composite ops (the export as written, not rewritten)",
 
248
  "cpu"
249
  ],
250
  "default_backend": "cpu",
251
+ "min_runtime_version": "0.19.0",
252
  "recommended": [
253
  {
254
  "platform": "android",
 
331
  "date": "2026-10-27"
332
  }
333
  ],
334
+ "known_issues": [
335
+ "Android GPU needs LiteRT-LM 0.19.0 or later: since 2026-11-12 this file's decoder and token-embedder weights sit in TFLiteWeights sections at the end of the file (LiteRT's external weights), and the GPU engine of the v0.18.0 and v0.18.1 Android builds crashes (SIGSEGV) on such a file (https://github.com/google-ai-edge/LiteRT-LM/issues/3986); the earlier file with the weights inside the graph stays at revision ee03d010ff8242246d919760f52097e68ac6c1e8 (https://huggingface.co/litert-community/WeVisOne-VL-4B/tree/ee03d010ff8242246d919760f52097e68ac6c1e8)"
336
+ ],
337
  "context_length": 2048
338
  }
339
  ]