ai-edge-quantizer-nightly 0.3.0.dev20250710__py3-none-any.whl → 0.3.0.dev20250712__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/params_generator.py +4 -3
- {ai_edge_quantizer_nightly-0.3.0.dev20250710.dist-info → ai_edge_quantizer_nightly-0.3.0.dev20250712.dist-info}/METADATA +1 -1
- {ai_edge_quantizer_nightly-0.3.0.dev20250710.dist-info → ai_edge_quantizer_nightly-0.3.0.dev20250712.dist-info}/RECORD +6 -6
- {ai_edge_quantizer_nightly-0.3.0.dev20250710.dist-info → ai_edge_quantizer_nightly-0.3.0.dev20250712.dist-info}/LICENSE +0 -0
- {ai_edge_quantizer_nightly-0.3.0.dev20250710.dist-info → ai_edge_quantizer_nightly-0.3.0.dev20250712.dist-info}/WHEEL +0 -0
- {ai_edge_quantizer_nightly-0.3.0.dev20250710.dist-info → ai_edge_quantizer_nightly-0.3.0.dev20250712.dist-info}/top_level.txt +0 -0
@@ -78,8 +78,6 @@ class ParamsGenerator:
|
|
78
78
|
skip_subgraphs = set()
|
79
79
|
op_codes = self.flatbuffer_model.operatorCodes
|
80
80
|
for sg_ind, subgraph in enumerate(self.flatbuffer_model.subgraphs):
|
81
|
-
if sg_ind in skip_subgraphs:
|
82
|
-
continue
|
83
81
|
|
84
82
|
graph_info = qtyping.GraphInfo(
|
85
83
|
subgraph.tensors, self.flatbuffer_model.buffers
|
@@ -109,7 +107,10 @@ class ParamsGenerator:
|
|
109
107
|
algorithm_name, op_quant_config = (
|
110
108
|
model_recipe_manager.get_quantization_configs(op_key, op_scope)
|
111
109
|
)
|
112
|
-
|
110
|
+
|
111
|
+
if sg_ind in skip_subgraphs or policy.is_non_quantizable_composite_op(
|
112
|
+
op
|
113
|
+
):
|
113
114
|
algorithm_name = algorithm_manager.AlgorithmName.NO_QUANTIZE
|
114
115
|
|
115
116
|
if algorithm_name == algorithm_manager.AlgorithmName.NO_QUANTIZE:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ai-edge-quantizer-nightly
|
3
|
-
Version: 0.3.0.
|
3
|
+
Version: 0.3.0.dev20250712
|
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
|
@@ -10,7 +10,7 @@ ai_edge_quantizer/model_modifier.py,sha256=teGa8I6kGvn6TQY6Xv53YFIc_pQEhNvM9Zb4b
|
|
10
10
|
ai_edge_quantizer/model_modifier_test.py,sha256=cJd04SLOG-fQZZNZPcisoBLx3cLtWEwGqUBbLb-pif4,4751
|
11
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
|
-
ai_edge_quantizer/params_generator.py,sha256=
|
13
|
+
ai_edge_quantizer/params_generator.py,sha256=hcgMHJlERZERUyIAEi6AHJcLJ8gsKIBAEojzFFz-tqk,20098
|
14
14
|
ai_edge_quantizer/params_generator_test.py,sha256=RDYoRZDJfEZRtjlTAU2kZ_4t3JHOqEHxfJX9V4ETAhg,40597
|
15
15
|
ai_edge_quantizer/qtyping.py,sha256=uCguCckBh9QTnsyCw-EX8IbXROAA5fwZ21_iX5Yu0z8,16640
|
16
16
|
ai_edge_quantizer/quantizer.py,sha256=g3DMqFMrMpt9jQttCE0WcdNbMtk0JZnmN5MmCHrNdyM,13202
|
@@ -68,8 +68,8 @@ ai_edge_quantizer/utils/tfl_interpreter_utils.py,sha256=SKSu1nqhGGzVei_DxmzXK-bb
|
|
68
68
|
ai_edge_quantizer/utils/tfl_interpreter_utils_test.py,sha256=6fjkM-rycZ95L4yfvlr0TN6RlrhfPzxNUYrZaYO_F0A,12013
|
69
69
|
ai_edge_quantizer/utils/validation_utils.py,sha256=oYw33Sg547AqtGw-choPUJmp9SAKkV46J_ddqSsum2Q,3950
|
70
70
|
ai_edge_quantizer/utils/validation_utils_test.py,sha256=V_qNDikPD4OPB-siOLQCWNVWTAu87h2IgNYt7teFd-o,2934
|
71
|
-
ai_edge_quantizer_nightly-0.3.0.
|
72
|
-
ai_edge_quantizer_nightly-0.3.0.
|
73
|
-
ai_edge_quantizer_nightly-0.3.0.
|
74
|
-
ai_edge_quantizer_nightly-0.3.0.
|
75
|
-
ai_edge_quantizer_nightly-0.3.0.
|
71
|
+
ai_edge_quantizer_nightly-0.3.0.dev20250712.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
72
|
+
ai_edge_quantizer_nightly-0.3.0.dev20250712.dist-info/METADATA,sha256=0njv9XlVqnhcKsej9MmKCtckv--RfFwkGQm7GOvyY-4,1528
|
73
|
+
ai_edge_quantizer_nightly-0.3.0.dev20250712.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
74
|
+
ai_edge_quantizer_nightly-0.3.0.dev20250712.dist-info/top_level.txt,sha256=8QTfPnFXNVUhScFLaa-NWZMFWMn72M50DVPubpwWB1g,18
|
75
|
+
ai_edge_quantizer_nightly-0.3.0.dev20250712.dist-info/RECORD,,
|
File without changes
|
File without changes
|