ai-edge-litert-nightly 2.0.4.dev20251013__cp39-cp39-manylinux_2_27_x86_64.whl → 2.0.4.dev20251015__cp39-cp39-manylinux_2_27_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ai-edge-litert-nightly might be problematic. Click here for more details.

@@ -1 +1 @@
1
- __version__ = "2.0.4.dev20251013"
1
+ __version__ = "2.0.4.dev20251015"
@@ -21,9 +21,16 @@ import os # pylint: disable=unused-import
21
21
  from ai_edge_litert.internal import litertlm_header_schema_py_generated as schema
22
22
 
23
23
  # --- File Format Constants ---
24
+ # LINT.IfChange(litertlm_version_constants) # copybara:comment
24
25
  LITERTLM_MAJOR_VERSION = 1
25
- LITERTLM_MINOR_VERSION = 3
26
+ LITERTLM_MINOR_VERSION = 4
26
27
  LITERTLM_PATCH_VERSION = 0
28
+ # copybara:comment_begin(google-only)
29
+ # LINT.ThenChange(
30
+ # litert_lm/schema/core/litertlm_header.h:litertlm_version_constants,
31
+ # litert_lm/schema/py/litertlm_core.py:litertlm_version_constants
32
+ # )
33
+ # copybara:comment_end(google-only)
27
34
  BLOCK_SIZE = 16 * 1024
28
35
  HEADER_BEGIN_BYTE_OFFSET = 32
29
36
  HEADER_END_LOCATION_BYTE_OFFSET = 24
Binary file
Binary file
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
25
25
  from ai_edge_litert import profiling_info_pb2 as tflite_dot_profiling_dot_proto_dot_profiling__info__pb2
26
26
 
27
27
 
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/tflite/profiling/proto/model_runtime_info.proto\x12\x10tflite.profiling\x1a+tflite/profiling/proto/profiling_info.proto\"_\n\x13ModelRuntimeDetails\x12\x12\n\nmodel_name\x18\x01 \x01(\t\x12\x34\n\tsubgraphs\x18\x02 \x03(\x0b\x32!.tflite.profiling.RuntimeSubgraph\"\xb7\x02\n\x0fRuntimeSubgraph\x12\x13\n\x0bsubgraph_id\x18\x01 \x01(\x05\x12%\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32\x16.tflite.profiling.Edge\x12%\n\x05nodes\x18\x03 \x03(\x0b\x32\x16.tflite.profiling.Node\x12\x1a\n\x0e\x65xecution_plan\x18\x04 \x03(\x05\x42\x02\x10\x01\x12\x45\n\rsubgraph_type\x18\x05 \x01(\x0e\x32..tflite.profiling.RuntimeSubgraph.SubgraphType\x12\x0c\n\x04name\x18\x06 \x01(\t\"P\n\x0cSubgraphType\x12\x14\n\x10UNKNOWN_SUBGRAPH\x10\x00\x12\x13\n\x0fTFLITE_SUBGRAPH\x10\x01\x12\x15\n\x11\x44\x45LEGATE_SUBGRAPH\x10\x02\"\xba\x02\n\x04Node\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x12\n\x06inputs\x18\x04 \x03(\x05\x42\x02\x10\x01\x12\x13\n\x07outputs\x18\x05 \x03(\x05\x42\x02\x10\x01\x12\x19\n\rintermediates\x18\x06 \x03(\x05\x42\x02\x10\x01\x12\x17\n\x0btemporaries\x18\x07 \x03(\x05\x42\x02\x10\x01\x12\x38\n\x0fop_profile_data\x18\n \x01(\x0b\x32\x1f.tflite.profiling.OpProfileData\x12\x46\n\x15\x64\x65legate_node_details\x18\x08 \x01(\x0b\x32%.tflite.profiling.DelegateNodeDetailsH\x00\x12\x1e\n\x14\x64\x65legated_to_node_id\x18\t \x01(\x05H\x00\x42\x0b\n\tnode_info\"R\n\x13\x44\x65legateNodeDetails\x12\x15\n\rdelegate_name\x18\x01 \x01(\t\x12$\n\x18tflite_node_ids_replaced\x18\x02 \x03(\x05\x42\x02\x10\x01\"\x81\x05\n\x04\x45\x64ge\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x32\n\tdata_type\x18\x03 \x01(\x0e\x32\x1f.tflite.profiling.Edge.DataType\x12\x11\n\x05shape\x18\x04 \x03(\x05\x42\x02\x10\x01\x12\x17\n\x0f\x61llocation_type\x18\x05 \x01(\t\x12\x36\n\x0blayout_type\x18\x06 \x01(\x0e\x32!.tflite.profiling.Edge.LayoutType\x12\x0c\n\x04size\x18\x07 \x01(\x05\"\x85\x02\n\x08\x44\x61taType\x12\x10\n\x0cUNKNOWN_TYPE\x10\x00\x12\x0b\n\x07\x46LOAT32\x10\x01\x12\t\n\x05INT32\x10\x02\x12\t\n\x05UINT8\x10\x03\x12\t\n\x05INT64\x10\x04\x12\n\n\x06STRING\x10\x05\x12\x08\n\x04\x42OOL\x10\x06\x12\t\n\x05INT16\x10\x07\x12\r\n\tCOMPLEX64\x10\x08\x12\x08\n\x04INT8\x10\t\x12\x0b\n\x07\x46LOAT16\x10\n\x12\x0b\n\x07\x46LOAT64\x10\x0b\x12\x0e\n\nCOMPLEX128\x10\x0c\x12\n\n\x06UINT64\x10\r\x12\x0c\n\x08RESOURCE\x10\x0e\x12\x0b\n\x07VARIANT\x10\x0f\x12\n\n\x06UINT32\x10\x10\x12\n\n\x06UINT16\x10\x11\x12\x08\n\x04INT4\x10\x12\x12\x0c\n\x08\x42\x46LOAT16\x10\x13\"\xb0\x01\n\nLayoutType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06SCALAR\x10\x01\x12\n\n\x06LINEAR\x10\x02\x12\x06\n\x02HW\x10\x03\x12\x07\n\x03\x43HW\x10\x04\x12\x07\n\x03HWC\x10\x05\x12\x08\n\x04OIHW\x10\x06\x12\x08\n\x04OHWI\x10\x07\x12\x08\n\x04IHWO\x10\x08\x12\x08\n\x04IOHW\x10\t\x12\x08\n\x04\x42HWC\x10\n\x12\x08\n\x04HWDC\x10\x0b\x12\t\n\x05\x42HWDC\x10\x0c\x12\x07\n\x03HWD\x10\r\x12\t\n\x05OHWDI\x10\x0e\x12\x08\n\x04HWIO\x10\x0f\x42\x14\n\x10tflite.profilingP\x01')
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/tflite/profiling/proto/model_runtime_info.proto\x12\x10tflite.profiling\x1a+tflite/profiling/proto/profiling_info.proto\"_\n\x13ModelRuntimeDetails\x12\x12\n\nmodel_name\x18\x01 \x01(\t\x12\x34\n\tsubgraphs\x18\x02 \x03(\x0b\x32!.tflite.profiling.RuntimeSubgraph\"\xb7\x02\n\x0fRuntimeSubgraph\x12\x13\n\x0bsubgraph_id\x18\x01 \x01(\x05\x12%\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32\x16.tflite.profiling.Edge\x12%\n\x05nodes\x18\x03 \x03(\x0b\x32\x16.tflite.profiling.Node\x12\x1a\n\x0e\x65xecution_plan\x18\x04 \x03(\x05\x42\x02\x10\x01\x12\x45\n\rsubgraph_type\x18\x05 \x01(\x0e\x32..tflite.profiling.RuntimeSubgraph.SubgraphType\x12\x0c\n\x04name\x18\x06 \x01(\t\"P\n\x0cSubgraphType\x12\x14\n\x10UNKNOWN_SUBGRAPH\x10\x00\x12\x13\n\x0fTFLITE_SUBGRAPH\x10\x01\x12\x15\n\x11\x44\x45LEGATE_SUBGRAPH\x10\x02\"\xba\x02\n\x04Node\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x12\n\x06inputs\x18\x04 \x03(\x05\x42\x02\x10\x01\x12\x13\n\x07outputs\x18\x05 \x03(\x05\x42\x02\x10\x01\x12\x19\n\rintermediates\x18\x06 \x03(\x05\x42\x02\x10\x01\x12\x17\n\x0btemporaries\x18\x07 \x03(\x05\x42\x02\x10\x01\x12\x38\n\x0fop_profile_data\x18\n \x01(\x0b\x32\x1f.tflite.profiling.OpProfileData\x12\x46\n\x15\x64\x65legate_node_details\x18\x08 \x01(\x0b\x32%.tflite.profiling.DelegateNodeDetailsH\x00\x12\x1e\n\x14\x64\x65legated_to_node_id\x18\t \x01(\x05H\x00\x42\x0b\n\tnode_info\"R\n\x13\x44\x65legateNodeDetails\x12\x15\n\rdelegate_name\x18\x01 \x01(\t\x12$\n\x18tflite_node_ids_replaced\x18\x02 \x03(\x05\x42\x02\x10\x01\"\x8b\x05\n\x04\x45\x64ge\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x32\n\tdata_type\x18\x03 \x01(\x0e\x32\x1f.tflite.profiling.Edge.DataType\x12\x11\n\x05shape\x18\x04 \x03(\x05\x42\x02\x10\x01\x12\x17\n\x0f\x61llocation_type\x18\x05 \x01(\t\x12\x36\n\x0blayout_type\x18\x06 \x01(\x0e\x32!.tflite.profiling.Edge.LayoutType\x12\x0c\n\x04size\x18\x07 \x01(\x05\"\x8f\x02\n\x08\x44\x61taType\x12\x10\n\x0cUNKNOWN_TYPE\x10\x00\x12\x0b\n\x07\x46LOAT32\x10\x01\x12\t\n\x05INT32\x10\x02\x12\t\n\x05UINT8\x10\x03\x12\t\n\x05INT64\x10\x04\x12\n\n\x06STRING\x10\x05\x12\x08\n\x04\x42OOL\x10\x06\x12\t\n\x05INT16\x10\x07\x12\r\n\tCOMPLEX64\x10\x08\x12\x08\n\x04INT8\x10\t\x12\x0b\n\x07\x46LOAT16\x10\n\x12\x0b\n\x07\x46LOAT64\x10\x0b\x12\x0e\n\nCOMPLEX128\x10\x0c\x12\n\n\x06UINT64\x10\r\x12\x0c\n\x08RESOURCE\x10\x0e\x12\x0b\n\x07VARIANT\x10\x0f\x12\n\n\x06UINT32\x10\x10\x12\n\n\x06UINT16\x10\x11\x12\x08\n\x04INT4\x10\x12\x12\x0c\n\x08\x42\x46LOAT16\x10\x13\x12\x08\n\x04INT2\x10\x14\"\xb0\x01\n\nLayoutType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06SCALAR\x10\x01\x12\n\n\x06LINEAR\x10\x02\x12\x06\n\x02HW\x10\x03\x12\x07\n\x03\x43HW\x10\x04\x12\x07\n\x03HWC\x10\x05\x12\x08\n\x04OIHW\x10\x06\x12\x08\n\x04OHWI\x10\x07\x12\x08\n\x04IHWO\x10\x08\x12\x08\n\x04IOHW\x10\t\x12\x08\n\x04\x42HWC\x10\n\x12\x08\n\x04HWDC\x10\x0b\x12\t\n\x05\x42HWDC\x10\x0c\x12\x07\n\x03HWD\x10\r\x12\t\n\x05OHWDI\x10\x0e\x12\x08\n\x04HWIO\x10\x0f\x42\x14\n\x10tflite.profilingP\x01')
29
29
 
30
30
  _globals = globals()
31
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -58,9 +58,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
58
58
  _globals['_DELEGATENODEDETAILS']._serialized_start=842
59
59
  _globals['_DELEGATENODEDETAILS']._serialized_end=924
60
60
  _globals['_EDGE']._serialized_start=927
61
- _globals['_EDGE']._serialized_end=1568
61
+ _globals['_EDGE']._serialized_end=1578
62
62
  _globals['_EDGE_DATATYPE']._serialized_start=1128
63
- _globals['_EDGE_DATATYPE']._serialized_end=1389
64
- _globals['_EDGE_LAYOUTTYPE']._serialized_start=1392
65
- _globals['_EDGE_LAYOUTTYPE']._serialized_end=1568
63
+ _globals['_EDGE_DATATYPE']._serialized_end=1399
64
+ _globals['_EDGE_LAYOUTTYPE']._serialized_start=1402
65
+ _globals['_EDGE_LAYOUTTYPE']._serialized_end=1578
66
66
  # @@protoc_insertion_point(module_scope)
@@ -27,6 +27,7 @@ class TensorType(object):
27
27
  UINT16 = 16
28
28
  INT4 = 17
29
29
  BFLOAT16 = 18
30
+ INT2 = 19
30
31
 
31
32
 
32
33
  class QuantizationDetails(object):
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ai-edge-litert-nightly
3
- Version: 2.0.4.dev20251013
3
+ Version: 2.0.4.dev20251015
4
4
  Summary: LiteRT is for mobile and embedded devices.
5
5
  Home-page: https://www.tensorflow.org/lite/
6
6
  Author: Google AI Edge Authors
@@ -1,4 +1,4 @@
1
- ai_edge_litert/__init__.py,sha256=3-rWJ0iGMyrscAzXfzR_Q8V6bpRYRMk6fSvCiV65imo,34
1
+ ai_edge_litert/__init__.py,sha256=JTvKPa8jX8daqwNY5sf0XIbDyqd8HlyCITwhcsU0Gy8,34
2
2
  ai_edge_litert/_pywrap_analyzer_wrapper.so,sha256=-yAgVLhtV8rlXFqOGzAUfHBOuSKZ5SpeZfaRczRIUiw,3808
3
3
  ai_edge_litert/_pywrap_litert_compiled_model_wrapper.so,sha256=tZBPPyNssub7lcsf0ikJ2c5LtAvJ5xV4jp3aVMC00os,3832
4
4
  ai_edge_litert/_pywrap_litert_tensor_buffer_wrapper.so,sha256=zhUbsJbVkwnqs5WRHT5PfBnHBEPuUnzayjeSbY1l7w0,3832
@@ -17,15 +17,15 @@ ai_edge_litert/field_mask_pb2.py,sha256=YVi1IasKjEQAlcIwM6HMgmW0wT6TMAXjiaiysrEY
17
17
  ai_edge_litert/format_converter_wrapper_pybind11.so,sha256=s1H_tXr8BCVuJ6oRnOhIWe5fL6_L3HjZw2EVbEv2M58,3872
18
18
  ai_edge_litert/hardware_accelerator.py,sha256=FgouirT1Cs80mqvMvLbO9O7wiPBnQaWDB5vjFpJhtJo,800
19
19
  ai_edge_litert/interpreter.py,sha256=VU2Hzn60P3vqxdYAZONLoxLEIZKbHhIF8FhUshm3uKU,40707
20
- ai_edge_litert/libLiteRtRuntimeCApi.so,sha256=H-Oz05ogP4ymn556q-lV-mmivfm-04X0cg6HMFNlqdQ,6818768
21
- ai_edge_litert/libpywrap_litert_common.so,sha256=1LUXAML_jrsDgbA6-GPBAqDfELVKA2AWQEBHulCPs8c,15095928
20
+ ai_edge_litert/libLiteRtRuntimeCApi.so,sha256=GgNBQMxWR_lkYQWeyqBk_xrSRXNHUP6XKVAgDOaPTzY,6828416
21
+ ai_edge_litert/libpywrap_litert_common.so,sha256=yi4Npsa32EKMuJtdKEW3ar2w0s0ABwTOpjuN4yyXvW4,15104696
22
22
  ai_edge_litert/metrics_interface.py,sha256=dVu6SmbnQUntPgE5o6BxHVMyemwli-7F6tDfVMGrlYI,1542
23
23
  ai_edge_litert/metrics_portable.py,sha256=KKvR9ZOe8j2ZeBtDo_6gWJ8kENKoOawPK3LPkevnZa8,2039
24
- ai_edge_litert/model_runtime_info_pb2.py,sha256=E93kYJtWnsChrdegZJbKzeFpplssBGEURTdOOfjtOxg,6370
24
+ ai_edge_litert/model_runtime_info_pb2.py,sha256=iNaM8G9qxWm3LpFTacl0KP19CJxA3_N8oeDg4d-BPx8,6396
25
25
  ai_edge_litert/plugin_pb2.py,sha256=dDsvFbuWV2yq4ghU6XnHMW6ZrbxYG2l8DAArIoqL8PY,3514
26
26
  ai_edge_litert/profiling_info_pb2.py,sha256=RxZo_P9siirO7ktyZImOxVKMZ7g-ienzuP7rSsF61YM,3579
27
27
  ai_edge_litert/pywrap_genai_ops.so,sha256=dUQr0mUHk6L_hAlSZ6Pqvqp-p38LtK_1joCeIaKz9JI,3792
28
- ai_edge_litert/schema_py_generated.py,sha256=Sbu3LV4WhuFezr-SVLfqkh_FBsclQnOXu4ZIIVL9BF4,664149
28
+ ai_edge_litert/schema_py_generated.py,sha256=RQXmAj9klHEkN6k6_tqUGfiD0A5nCxnT6CTMyHu_2FA,664163
29
29
  ai_edge_litert/source_context_pb2.py,sha256=m_GMQpv9LUK-7oKg1Vv64fTL6Bd3ZThH-fVVLtPxdqI,1775
30
30
  ai_edge_litert/struct_pb2.py,sha256=DJ6P0fZe53upcah9J1jDo6BSClobouW9dHdCTItZO1A,2955
31
31
  ai_edge_litert/tensor_buffer.py,sha256=3Xy7kd_aR499QrfO0YITvr_z-aU1eONga41KiDBUeew,5356
@@ -60,15 +60,15 @@ ai_edge_litert/aot/vendors/qualcomm/qualcomm_backend.py,sha256=121jVb4u1slOQ8FSf
60
60
  ai_edge_litert/aot/vendors/qualcomm/target.py,sha256=BesYeOdRQILJY2GRVzenakTWQU-fCTqs9VPTTLAA8mw,1796
61
61
  ai_edge_litert/internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  ai_edge_litert/internal/litertlm_builder.py,sha256=UQ6Hw7UxDgD8d8U74JIdqwoYqIq-Y0zdspJopNoEn3k,19081
63
- ai_edge_litert/internal/litertlm_core.py,sha256=twP4-6kfqmOaqyPnJ5np8CMEn8loVmk-A8Hjlcy3EhM,1721
63
+ ai_edge_litert/internal/litertlm_core.py,sha256=eevWa69QxNuJ1WLEkjgELJu-LHlvlGQVLHviv9ffeuc,2022
64
64
  ai_edge_litert/internal/litertlm_header_schema_py_generated.py,sha256=DETYNguhOeOPmZtCKtU6PzcPZDYt8jcRPAvcGx7WB-E,43794
65
65
  ai_edge_litert/internal/llm_metadata_pb2.py,sha256=ABbevvRn5VDBDG39zq-rsvH21qdO6OoK_ahjPqjXLZo,3028
66
66
  ai_edge_litert/internal/sampler_params_pb2.py,sha256=2sk5oGGpSre-rPEgRICwJOg7reJTuxVtwGVOjyrAriE,2069
67
- ai_edge_litert/tools/apply_plugin_main,sha256=R4gnaDRr6pXHpsFPLUoIZc_Md19-n5J1ioy2OlFguio,906560
68
- ai_edge_litert/vendors/google_tensor/compiler/libLiteRtCompilerPlugin_google_tensor.so,sha256=TZWlS3gssy9EME0fLfJkhn073X03fD_qlHooSH_f8SU,227520
69
- ai_edge_litert/vendors/mediatek/compiler/libLiteRtCompilerPlugin_MediaTek.so,sha256=XUYsLKMpPvCw0yG8L1GhJKhY-wBzn2nNR5aJgNYiL5U,517648
70
- ai_edge_litert/vendors/qualcomm/compiler/libLiteRtCompilerPlugin_Qualcomm.so,sha256=4-PKZBfoigaJRudIjRnjTsnoptBZmBjWGbfPgCaroMM,637128
71
- ai_edge_litert_nightly-2.0.4.dev20251013.dist-info/METADATA,sha256=r_aiyTfhStnykUb0EqJrwpsjo9OMjyOVjkWjZQkV54U,1935
72
- ai_edge_litert_nightly-2.0.4.dev20251013.dist-info/WHEEL,sha256=J0VjzUNosQe9-CVDjrToM9MO2MyGYGeyaSVeSw3oFFM,111
73
- ai_edge_litert_nightly-2.0.4.dev20251013.dist-info/top_level.txt,sha256=WcDZgG99n0a0xDS_ipL8ZWy956g1v5fVyR3FH96VDT0,15
74
- ai_edge_litert_nightly-2.0.4.dev20251013.dist-info/RECORD,,
67
+ ai_edge_litert/tools/apply_plugin_main,sha256=QnyMAl7_mq8Jp961tUZMrpxXv31P30Uosv5Cpmo_YS0,906736
68
+ ai_edge_litert/vendors/google_tensor/compiler/libLiteRtCompilerPlugin_google_tensor.so,sha256=AzRY0yGmCONV268BVeii-CeoiIpxItQuGkenz5o1ysU,227616
69
+ ai_edge_litert/vendors/mediatek/compiler/libLiteRtCompilerPlugin_MediaTek.so,sha256=sCdN3lwHA4BRaC7O4ERybJD7STpryw1Y3ytazzLZPoY,517712
70
+ ai_edge_litert/vendors/qualcomm/compiler/libLiteRtCompilerPlugin_Qualcomm.so,sha256=0wl3kP6DAivAKcHzbP_i9dHW9h-RjJX8z6lgdsyUvtQ,637224
71
+ ai_edge_litert_nightly-2.0.4.dev20251015.dist-info/METADATA,sha256=ChuNWoU8M-tNhP0cx0nweNkNRXR1OO0jpJDXBC1p5pI,1935
72
+ ai_edge_litert_nightly-2.0.4.dev20251015.dist-info/WHEEL,sha256=J0VjzUNosQe9-CVDjrToM9MO2MyGYGeyaSVeSw3oFFM,111
73
+ ai_edge_litert_nightly-2.0.4.dev20251015.dist-info/top_level.txt,sha256=WcDZgG99n0a0xDS_ipL8ZWy956g1v5fVyR3FH96VDT0,15
74
+ ai_edge_litert_nightly-2.0.4.dev20251015.dist-info/RECORD,,