ai-edge-litert-nightly 1.4.0.dev20250729__cp39-cp39-macosx_12_0_arm64.whl → 1.4.0.dev20250814__cp39-cp39-macosx_12_0_arm64.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.
- ai_edge_litert/__init__.py +1 -1
- ai_edge_litert/any_pb2.py +4 -4
- ai_edge_litert/api_pb2.py +4 -4
- ai_edge_litert/descriptor_pb2.py +310 -118
- ai_edge_litert/duration_pb2.py +4 -4
- ai_edge_litert/empty_pb2.py +4 -4
- ai_edge_litert/field_mask_pb2.py +4 -4
- ai_edge_litert/model_runtime_info_pb2.py +4 -4
- ai_edge_litert/plugin_pb2.py +4 -4
- ai_edge_litert/profiling_info_pb2.py +4 -4
- ai_edge_litert/source_context_pb2.py +4 -4
- ai_edge_litert/struct_pb2.py +4 -4
- ai_edge_litert/timestamp_pb2.py +4 -4
- ai_edge_litert/type_pb2.py +4 -4
- ai_edge_litert/wrappers_pb2.py +4 -4
- {ai_edge_litert_nightly-1.4.0.dev20250729.dist-info → ai_edge_litert_nightly-1.4.0.dev20250814.dist-info}/METADATA +1 -1
- ai_edge_litert_nightly-1.4.0.dev20250814.dist-info/RECORD +36 -0
- ai_edge_litert/aot/__init__.py +0 -0
- ai_edge_litert/aot/ai_pack/__init__.py +0 -0
- ai_edge_litert/aot/ai_pack/export_lib.py +0 -281
- ai_edge_litert/aot/aot_compile.py +0 -152
- ai_edge_litert/aot/core/__init__.py +0 -0
- ai_edge_litert/aot/core/apply_plugin.py +0 -146
- ai_edge_litert/aot/core/common.py +0 -95
- ai_edge_litert/aot/core/components.py +0 -93
- ai_edge_litert/aot/core/mlir_transforms.py +0 -36
- ai_edge_litert/aot/core/tflxx_util.py +0 -30
- ai_edge_litert/aot/core/types.py +0 -374
- ai_edge_litert/aot/prepare_for_npu.py +0 -152
- ai_edge_litert/aot/vendors/__init__.py +0 -18
- ai_edge_litert/aot/vendors/example/__init__.py +0 -0
- ai_edge_litert/aot/vendors/example/example_backend.py +0 -157
- ai_edge_litert/aot/vendors/fallback_backend.py +0 -128
- ai_edge_litert/aot/vendors/import_vendor.py +0 -132
- ai_edge_litert/aot/vendors/mediatek/__init__.py +0 -0
- ai_edge_litert/aot/vendors/mediatek/mediatek_backend.py +0 -196
- ai_edge_litert/aot/vendors/mediatek/target.py +0 -91
- ai_edge_litert/aot/vendors/qualcomm/__init__.py +0 -0
- ai_edge_litert/aot/vendors/qualcomm/qualcomm_backend.py +0 -161
- ai_edge_litert/aot/vendors/qualcomm/target.py +0 -74
- ai_edge_litert/libLiteRtRuntimeCApi.so +0 -0
- ai_edge_litert/tools/apply_plugin_main +0 -0
- ai_edge_litert_nightly-1.4.0.dev20250729.dist-info/RECORD +0 -61
- {ai_edge_litert_nightly-1.4.0.dev20250729.dist-info → ai_edge_litert_nightly-1.4.0.dev20250814.dist-info}/WHEEL +0 -0
- {ai_edge_litert_nightly-1.4.0.dev20250729.dist-info → ai_edge_litert_nightly-1.4.0.dev20250814.dist-info}/top_level.txt +0 -0
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"""Compilation target for Qualcomm SOCs."""
|
|
2
|
-
|
|
3
|
-
import dataclasses
|
|
4
|
-
import sys
|
|
5
|
-
from typing import Any
|
|
6
|
-
|
|
7
|
-
from ai_edge_litert.aot.core import types
|
|
8
|
-
|
|
9
|
-
# pylint: disable=g-importing-member
|
|
10
|
-
# pylint: disable=g-import-not-at-top
|
|
11
|
-
# pylint: disable=g-bad-import-order
|
|
12
|
-
if sys.version_info >= (3, 11):
|
|
13
|
-
from enum import StrEnum # pylint: disable=g-importing-member
|
|
14
|
-
else:
|
|
15
|
-
from backports.strenum import StrEnum # pylint: disable=g-importing-member
|
|
16
|
-
# pylint: enable=g-bad-import-order
|
|
17
|
-
# pylint: enable=g-import-not-at-top
|
|
18
|
-
# pylint: enable=g-importing-member
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
_QUALCOMM_BACKEND_ID = "qualcomm"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
# TODO(weiyiw): Generate this from supported_soc.csv.
|
|
25
|
-
class SocModel(StrEnum):
|
|
26
|
-
"""Qualcomm SOC model."""
|
|
27
|
-
|
|
28
|
-
ALL = "ALL"
|
|
29
|
-
|
|
30
|
-
SA8255 = "SA8255"
|
|
31
|
-
SA8295 = "SA8295"
|
|
32
|
-
SM8350 = "SM8350"
|
|
33
|
-
SM8450 = "SM8450"
|
|
34
|
-
SM8550 = "SM8550"
|
|
35
|
-
SM8650 = "SM8650"
|
|
36
|
-
SM8750 = "SM8750"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
class SocManufacturer(StrEnum):
|
|
40
|
-
"""Qualcomm SOC manufacturer."""
|
|
41
|
-
|
|
42
|
-
QUALCOMM = "Qualcomm"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
@dataclasses.dataclass
|
|
46
|
-
class Target(types.Target):
|
|
47
|
-
"""Compilation target for Qualcomm SOCs."""
|
|
48
|
-
|
|
49
|
-
soc_model: SocModel
|
|
50
|
-
soc_manufacturer: SocManufacturer = SocManufacturer.QUALCOMM
|
|
51
|
-
|
|
52
|
-
@classmethod
|
|
53
|
-
def backend_id(cls) -> str:
|
|
54
|
-
return _QUALCOMM_BACKEND_ID
|
|
55
|
-
|
|
56
|
-
def __hash__(self) -> int:
|
|
57
|
-
return hash((self.soc_manufacturer, self.soc_model))
|
|
58
|
-
|
|
59
|
-
def __eq__(self, other: "Target") -> bool:
|
|
60
|
-
return (
|
|
61
|
-
self.soc_manufacturer == other.soc_manufacturer
|
|
62
|
-
and self.soc_model == other.soc_model
|
|
63
|
-
)
|
|
64
|
-
|
|
65
|
-
def __repr__(self) -> str:
|
|
66
|
-
return f"{self.soc_manufacturer.value}_{self.soc_model.value}"
|
|
67
|
-
|
|
68
|
-
def flatten(self) -> dict[str, Any]:
|
|
69
|
-
flattend_target = super().flatten()
|
|
70
|
-
flattend_target.update({
|
|
71
|
-
"soc_manufacturer": self.soc_manufacturer.value,
|
|
72
|
-
"soc_model": self.soc_model.value,
|
|
73
|
-
})
|
|
74
|
-
return flattend_target
|
|
Binary file
|
|
Binary file
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
ai_edge_litert/__init__.py,sha256=5-Ph_RbJZ43QQfllPYI77nX3uCOCwSanYvrlO5vNEsU,34
|
|
2
|
-
ai_edge_litert/_pywrap_analyzer_wrapper.so,sha256=b208vF3tQRJUayfGJCiNN-h0JFAQHCkWx3mnQKGKSNY,50056
|
|
3
|
-
ai_edge_litert/_pywrap_litert_compiled_model_wrapper.so,sha256=R48bfhjg5-oSz8DUqDfvpztzk071ZF-snPbKHzEZMow,50104
|
|
4
|
-
ai_edge_litert/_pywrap_litert_tensor_buffer_wrapper.so,sha256=EZqmZDelToDS8vRG86Hekg2hG1pIrSMdcPtgiL6VIBg,50104
|
|
5
|
-
ai_edge_litert/_pywrap_modify_model_interface.so,sha256=-vhk4tGSksCJbVP48iEdO0rPQRjMs-XKxfItU-MqHwQ,50072
|
|
6
|
-
ai_edge_litert/_pywrap_string_util.so,sha256=Oy_WGgCX4sHhcGXI8XIeyWlw3VN1WTh4HLSNNwDJoV0,50040
|
|
7
|
-
ai_edge_litert/_pywrap_tensorflow_interpreter_wrapper.so,sha256=Fn-BHjXSwsiCyGxQakN7RnjDVQ7wIgjmurVfV5N1110,50104
|
|
8
|
-
ai_edge_litert/_pywrap_tensorflow_lite_calibration_wrapper.so,sha256=WxORp0WgNNwJ47VF4OIZ1kbtj6x2ZCEBZM_ygugST5s,50136
|
|
9
|
-
ai_edge_litert/_pywrap_tensorflow_lite_metrics_wrapper.so,sha256=IDQLjb0xB5hP_z2u-_-naBFhLXBlcm6DOFVWYRdgb_w,50104
|
|
10
|
-
ai_edge_litert/any_pb2.py,sha256=yJ3eCGdOTzqyPGHqW83MIojO7TsR-0VMOE5gL-aUCw8,1703
|
|
11
|
-
ai_edge_litert/api_pb2.py,sha256=2rPmGDwZV4sdzOT8e0fQqoQvF38p8w9H1qwrx11KzTM,2935
|
|
12
|
-
ai_edge_litert/compiled_model.py,sha256=xjoYYk5vHU6jP1QqjiLG5y7I5JpnBNOkl9khe6IT-Pw,7933
|
|
13
|
-
ai_edge_litert/descriptor_pb2.py,sha256=FvhCTrj8ta3pwpURBPvN_qWxwT3IOHvAKjOcgnQ5sAs,333205
|
|
14
|
-
ai_edge_litert/duration_pb2.py,sha256=-phAMcyJErnddXQp_VpZ15NirGf3FAivy5VROTWx97w,1783
|
|
15
|
-
ai_edge_litert/empty_pb2.py,sha256=qNLZHFUSKRcXLk3pe1oASc5WseG4s8D2aO_C7U5rOKQ,1669
|
|
16
|
-
ai_edge_litert/field_mask_pb2.py,sha256=dJHS3Eu0G_c4jZCBw67UnAwyt0w-yB-ZEBIGpxu81a4,1756
|
|
17
|
-
ai_edge_litert/format_converter_wrapper_pybind11.so,sha256=b_Nh1BlncXsqjzWwRNWo7Bv0sCAI8Afl7kMkOylrnxE,50088
|
|
18
|
-
ai_edge_litert/hardware_accelerator.py,sha256=FgouirT1Cs80mqvMvLbO9O7wiPBnQaWDB5vjFpJhtJo,800
|
|
19
|
-
ai_edge_litert/interpreter.py,sha256=4u9FfiaYkDxf_IxCjzeLWyTyxwG184uVxqg0fbj6tYg,40650
|
|
20
|
-
ai_edge_litert/libLiteRtRuntimeCApi.so,sha256=Yf3rbsaTQU5RFmJkoHPAoYSqJs3uCP26HcF4OCSPnQ4,5333656
|
|
21
|
-
ai_edge_litert/metrics_interface.py,sha256=dVu6SmbnQUntPgE5o6BxHVMyemwli-7F6tDfVMGrlYI,1542
|
|
22
|
-
ai_edge_litert/metrics_portable.py,sha256=KKvR9ZOe8j2ZeBtDo_6gWJ8kENKoOawPK3LPkevnZa8,2039
|
|
23
|
-
ai_edge_litert/model_runtime_info_pb2.py,sha256=-m7fQLvajS_0zmo5BRypEhX6hp6XwCGksuWPj7KDs1c,6370
|
|
24
|
-
ai_edge_litert/plugin_pb2.py,sha256=flbb5o7tljI4SBrx4V0NooEN3q5UilDymKe0klcyJOE,3514
|
|
25
|
-
ai_edge_litert/profiling_info_pb2.py,sha256=Qbn4ZAtGmyvP5kGbk3_u_yF1F2KHPE23YGnBoSRoF1c,3579
|
|
26
|
-
ai_edge_litert/pywrap_genai_ops.so,sha256=jmpe56cqSgt1rFR-4mVysQmCvSfRGzg3o1Ml6_Wt-os,50024
|
|
27
|
-
ai_edge_litert/schema_py_generated.py,sha256=j1mIWi3QiiY0kVRcugNdqVcTGfRiaZmR6jb7AvwVUyM,649242
|
|
28
|
-
ai_edge_litert/source_context_pb2.py,sha256=4if2Caq-_r3KtTw2tavh63Cm14ZjhQj0swfGiiWkwPw,1775
|
|
29
|
-
ai_edge_litert/struct_pb2.py,sha256=X5x0uzLkSO9hhusm_dAIscALXAU3Bl9qor_QCRA4xMM,2955
|
|
30
|
-
ai_edge_litert/tensor_buffer.py,sha256=3Xy7kd_aR499QrfO0YITvr_z-aU1eONga41KiDBUeew,5356
|
|
31
|
-
ai_edge_litert/timestamp_pb2.py,sha256=xD6TCNb61uEm75fsKDn-qAk7DF8CJHNFO8t3x5-pnMw,1793
|
|
32
|
-
ai_edge_litert/type_pb2.py,sha256=I-1Rk68tJGsup2cTvpglrNqYXeSijFBuxXk4otqeMVs,5065
|
|
33
|
-
ai_edge_litert/wrappers_pb2.py,sha256=_Kr_cmu_FAnFWIr9l4UIIvyH1XpEKDH6uoGtzopC5nQ,2955
|
|
34
|
-
ai_edge_litert/aot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
|
-
ai_edge_litert/aot/aot_compile.py,sha256=i0c6owaMBT7N2VUUSk8KrP35XX0R9-c5XzTHQQRBIcU,5501
|
|
36
|
-
ai_edge_litert/aot/prepare_for_npu.py,sha256=bghtIcLXw5P6u_lHOh-oBv4u-jCoUi-kI3wF3wA1Mow,5494
|
|
37
|
-
ai_edge_litert/aot/ai_pack/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
|
-
ai_edge_litert/aot/ai_pack/export_lib.py,sha256=KVzfU2zZ0c6hx0dC_nLMPYUr8NROacknUH6e-MFMWfE,10237
|
|
39
|
-
ai_edge_litert/aot/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
|
-
ai_edge_litert/aot/core/apply_plugin.py,sha256=DAWj1I9k94WCkwophgz5Nrj8A0kSO2v8X3nqN_1KJFk,4554
|
|
41
|
-
ai_edge_litert/aot/core/common.py,sha256=5imHTXV2abVwd5RJqFD0iw6WlLZ73njOPtCUccYtrWM,3103
|
|
42
|
-
ai_edge_litert/aot/core/components.py,sha256=DcdEDEiA6U0HT5Tt10aw_j_M1I-XtRiXTwE5hGBMEiI,2415
|
|
43
|
-
ai_edge_litert/aot/core/mlir_transforms.py,sha256=cW1DWZX1FDEI87Ihf3CfJ31lQmfZEBLLdptQCsK4sjM,1289
|
|
44
|
-
ai_edge_litert/aot/core/tflxx_util.py,sha256=fyg_K1-nVaEx207sZ88m9TOp3VcjJWpSFknv9_S8cF0,1020
|
|
45
|
-
ai_edge_litert/aot/core/types.py,sha256=Bvv27bUQPGQSZON2bQZ8BZTxoxLDvQki6oqtymp6fx4,10547
|
|
46
|
-
ai_edge_litert/aot/vendors/__init__.py,sha256=K11L1REFCE0umYEUwmTxhijRfVbIytqOych2QgP4b78,864
|
|
47
|
-
ai_edge_litert/aot/vendors/fallback_backend.py,sha256=LvvnXyR-EANTzh9DOYwSGstoYYcsQxtxNyc5vb9P7qE,3396
|
|
48
|
-
ai_edge_litert/aot/vendors/import_vendor.py,sha256=HNDkx9vdmDGtX1SupfChKdW4UtCA8Xb6xC_S7xdBKkU,3469
|
|
49
|
-
ai_edge_litert/aot/vendors/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
50
|
-
ai_edge_litert/aot/vendors/example/example_backend.py,sha256=dgwTivJQzL1z3M_w4ixmOe_681E6cZW0bupgRPM_zOM,4182
|
|
51
|
-
ai_edge_litert/aot/vendors/mediatek/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
52
|
-
ai_edge_litert/aot/vendors/mediatek/mediatek_backend.py,sha256=uFSciDUollsKciJooxn5Fo7FWdAidSG0Q0BRBxE8TQI,6074
|
|
53
|
-
ai_edge_litert/aot/vendors/mediatek/target.py,sha256=MvwdgybSHmVYuN1txgzmDUvO5HYubx9TLzOi1TXkJx4,2214
|
|
54
|
-
ai_edge_litert/aot/vendors/qualcomm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
55
|
-
ai_edge_litert/aot/vendors/qualcomm/qualcomm_backend.py,sha256=121jVb4u1slOQ8FSf1vJBNiq1OPIMeNB9cEQrrWByJk,4864
|
|
56
|
-
ai_edge_litert/aot/vendors/qualcomm/target.py,sha256=BesYeOdRQILJY2GRVzenakTWQU-fCTqs9VPTTLAA8mw,1796
|
|
57
|
-
ai_edge_litert/tools/apply_plugin_main,sha256=suIcatLNT5-hg0algHRYXLYqT7TG5MK2SBkPJk8VnTE,2598960
|
|
58
|
-
ai_edge_litert_nightly-1.4.0.dev20250729.dist-info/METADATA,sha256=FmQBpDKCkFh2FtcMUTyvuEDHisuUzMB3mRZpBDLl56E,1911
|
|
59
|
-
ai_edge_litert_nightly-1.4.0.dev20250729.dist-info/WHEEL,sha256=aucntbTc6bEPmSzCHROrNYAuYGC7v9_aTX954jHchmw,107
|
|
60
|
-
ai_edge_litert_nightly-1.4.0.dev20250729.dist-info/top_level.txt,sha256=WcDZgG99n0a0xDS_ipL8ZWy956g1v5fVyR3FH96VDT0,15
|
|
61
|
-
ai_edge_litert_nightly-1.4.0.dev20250729.dist-info/RECORD,,
|
|
File without changes
|