ai-edge-quantizer-nightly 0.1.0.dev20250505__py3-none-any.whl → 0.1.0.dev20250507__py3-none-any.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.
- ai_edge_quantizer/algorithms/nonlinear_quantize/float_casting_test.py +2 -2
- ai_edge_quantizer/model_validator.py +3 -0
- {ai_edge_quantizer_nightly-0.1.0.dev20250505.dist-info → ai_edge_quantizer_nightly-0.1.0.dev20250507.dist-info}/METADATA +1 -1
- {ai_edge_quantizer_nightly-0.1.0.dev20250505.dist-info → ai_edge_quantizer_nightly-0.1.0.dev20250507.dist-info}/RECORD +7 -7
- {ai_edge_quantizer_nightly-0.1.0.dev20250505.dist-info → ai_edge_quantizer_nightly-0.1.0.dev20250507.dist-info}/LICENSE +0 -0
- {ai_edge_quantizer_nightly-0.1.0.dev20250505.dist-info → ai_edge_quantizer_nightly-0.1.0.dev20250507.dist-info}/WHEEL +0 -0
- {ai_edge_quantizer_nightly-0.1.0.dev20250505.dist-info → ai_edge_quantizer_nightly-0.1.0.dev20250507.dist-info}/top_level.txt +0 -0
@@ -531,9 +531,9 @@ class Fp16QuantizeTest(parameterized.TestCase):
|
|
531
531
|
|
532
532
|
op_tensor_names = {}
|
533
533
|
op_tensor_names["weight"] = (
|
534
|
-
"
|
534
|
+
"jit(export_func)/jit(main)/...y,yz->...z/dot_general;jit(export_func)/jit(main)/jit(_one_hot)/eq;jit(export_func)/jit(main)/jit(_one_hot)/convert_element_type"
|
535
535
|
)
|
536
|
-
op_tensor_names["input"] = "
|
536
|
+
op_tensor_names["input"] = "lookup"
|
537
537
|
op_tensor_names["output"] = "Identity_1"
|
538
538
|
|
539
539
|
# TODO: b/335913710 - Rename the test function.
|
@@ -306,6 +306,9 @@ def compare_model(
|
|
306
306
|
for tensor_name, detail in ref_tensor_name_to_details.items():
|
307
307
|
if detail['dtype'] == np.object_:
|
308
308
|
continue
|
309
|
+
# Ignore tensors where any dimension of the shape is 0.
|
310
|
+
if not np.all(detail['shape']):
|
311
|
+
continue
|
309
312
|
if tensor_name in targ_tensor_name_to_details:
|
310
313
|
if tensor_name not in comparison_results:
|
311
314
|
comparison_results[tensor_name] = []
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ai-edge-quantizer-nightly
|
3
|
-
Version: 0.1.0.
|
3
|
+
Version: 0.1.0.dev20250507
|
4
4
|
Summary: A quantizer for advanced developers to quantize converted AI Edge models.
|
5
5
|
Home-page: https://github.com/google-ai-edge/ai-edge-quantizer
|
6
6
|
Keywords: On-Device ML,AI,Google,TFLite,Quantization,LLMs,GenAI
|
@@ -8,7 +8,7 @@ ai_edge_quantizer/conftest.py,sha256=SxCz-5LlRD_lQm4hQc4c6IGG7DS8d7IyEWY9gnscPN0
|
|
8
8
|
ai_edge_quantizer/default_policy.py,sha256=81z4cruBK7mGFt8xFRZK5LKya65axuZwo2zpbcYSicc,11099
|
9
9
|
ai_edge_quantizer/model_modifier.py,sha256=teGa8I6kGvn6TQY6Xv53YFIc_pQEhNvM9Zb4bvhezyw,7110
|
10
10
|
ai_edge_quantizer/model_modifier_test.py,sha256=cJd04SLOG-fQZZNZPcisoBLx3cLtWEwGqUBbLb-pif4,4751
|
11
|
-
ai_edge_quantizer/model_validator.py,sha256=
|
11
|
+
ai_edge_quantizer/model_validator.py,sha256=Hj0_5o-Oa3dSlJ3ryVjRhvsyelHNyek1GrtG9buMczg,13153
|
12
12
|
ai_edge_quantizer/model_validator_test.py,sha256=EeqOP_mrZsnZ3rug756s0ryDDqd2KgIDld5Lm_gDuWY,13020
|
13
13
|
ai_edge_quantizer/params_generator.py,sha256=NEZeHVVIeynmhRzPjl9o-acvWfauFgCS4i45pWFw3V8,20052
|
14
14
|
ai_edge_quantizer/params_generator_test.py,sha256=RDYoRZDJfEZRtjlTAU2kZ_4t3JHOqEHxfJX9V4ETAhg,40597
|
@@ -26,7 +26,7 @@ ai_edge_quantizer/transformation_performer_test.py,sha256=xk6A3LStCyPclN51--9uO7
|
|
26
26
|
ai_edge_quantizer/algorithms/__init__.py,sha256=lpq1g2ayg3lCPLy79t2VicYcnGKw64FfYIj1V7J-4m8,676
|
27
27
|
ai_edge_quantizer/algorithms/nonlinear_quantize/__init__.py,sha256=lpq1g2ayg3lCPLy79t2VicYcnGKw64FfYIj1V7J-4m8,676
|
28
28
|
ai_edge_quantizer/algorithms/nonlinear_quantize/float_casting.py,sha256=Bs9CK7wZAw6jNaZ8xEtbwO2vM34VYXNZSMVWvxJo9nw,9297
|
29
|
-
ai_edge_quantizer/algorithms/nonlinear_quantize/float_casting_test.py,sha256=
|
29
|
+
ai_edge_quantizer/algorithms/nonlinear_quantize/float_casting_test.py,sha256=EqIHGEZ1LgUrTN7zf880RuAzEv3Qy7kgh5ivObJGHSo,22646
|
30
30
|
ai_edge_quantizer/algorithms/uniform_quantize/__init__.py,sha256=lpq1g2ayg3lCPLy79t2VicYcnGKw64FfYIj1V7J-4m8,676
|
31
31
|
ai_edge_quantizer/algorithms/uniform_quantize/common_quantize.py,sha256=JyMuqVns3meKOA1DomXYopxqhZE65yamlVZjBF6yOmY,27731
|
32
32
|
ai_edge_quantizer/algorithms/uniform_quantize/common_quantize_test.py,sha256=qMmKbWqxrCoVKbLKHn9WuCrGKPfHkEyU0Nmhokh8Qeo,2597
|
@@ -66,8 +66,8 @@ ai_edge_quantizer/utils/tfl_interpreter_utils.py,sha256=WoewyiZpaua80oP0tpgyrw5W
|
|
66
66
|
ai_edge_quantizer/utils/tfl_interpreter_utils_test.py,sha256=6fjkM-rycZ95L4yfvlr0TN6RlrhfPzxNUYrZaYO_F0A,12013
|
67
67
|
ai_edge_quantizer/utils/validation_utils.py,sha256=oYw33Sg547AqtGw-choPUJmp9SAKkV46J_ddqSsum2Q,3950
|
68
68
|
ai_edge_quantizer/utils/validation_utils_test.py,sha256=V_qNDikPD4OPB-siOLQCWNVWTAu87h2IgNYt7teFd-o,2934
|
69
|
-
ai_edge_quantizer_nightly-0.1.0.
|
70
|
-
ai_edge_quantizer_nightly-0.1.0.
|
71
|
-
ai_edge_quantizer_nightly-0.1.0.
|
72
|
-
ai_edge_quantizer_nightly-0.1.0.
|
73
|
-
ai_edge_quantizer_nightly-0.1.0.
|
69
|
+
ai_edge_quantizer_nightly-0.1.0.dev20250507.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
70
|
+
ai_edge_quantizer_nightly-0.1.0.dev20250507.dist-info/METADATA,sha256=WojVFLbyhoEdG9l9eCqfKXCWR9p1j8nyaSF9TGUM94c,1527
|
71
|
+
ai_edge_quantizer_nightly-0.1.0.dev20250507.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
72
|
+
ai_edge_quantizer_nightly-0.1.0.dev20250507.dist-info/top_level.txt,sha256=8QTfPnFXNVUhScFLaa-NWZMFWMn72M50DVPubpwWB1g,18
|
73
|
+
ai_edge_quantizer_nightly-0.1.0.dev20250507.dist-info/RECORD,,
|
File without changes
|
File without changes
|