mct-nightly 1.11.0.20240326.400__py3-none-any.whl → 1.11.0.20240327.353__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mct-nightly
3
- Version: 1.11.0.20240326.400
3
+ Version: 1.11.0.20240327.353
4
4
  Summary: A Model Compression Toolkit for neural networks
5
5
  Home-page: UNKNOWN
6
6
  License: UNKNOWN
@@ -1,4 +1,4 @@
1
- model_compression_toolkit/__init__.py,sha256=1sRbc1xamc31QH_SPqQg_NHn2ASCcym09Jw0MqPFnY0,1574
1
+ model_compression_toolkit/__init__.py,sha256=EwL_EmC6phkKbq7LcWw5iCskPgkh3YZy8l02Gn-4zVQ,1574
2
2
  model_compression_toolkit/constants.py,sha256=KW_HUEPmQEYqCvWGyORqkYxpvO7w5LViB5J5D-pm_6o,3648
3
3
  model_compression_toolkit/defaultdict.py,sha256=LSc-sbZYXENMCw3U9F4GiXuv67IKpdn0Qm7Fr11jy-4,2277
4
4
  model_compression_toolkit/logger.py,sha256=3DByV41XHRR3kLTJNbpaMmikL8icd9e1N-nkQAY9oDk,4567
@@ -257,7 +257,7 @@ model_compression_toolkit/core/pytorch/quantizer/__init__.py,sha256=Rf1RcYmelmdZ
257
257
  model_compression_toolkit/core/pytorch/quantizer/fake_quant_builder.py,sha256=rox-f5wbRyxU1UHeHyaoIDXB9r9fCXm1dPN4FVwHqTc,6464
258
258
  model_compression_toolkit/core/pytorch/quantizer/lut_fake_quant.py,sha256=uyeBtNokyDUikk-YkDP_mN_2DX0J5oPm3kSfdSUT2Ck,4420
259
259
  model_compression_toolkit/core/pytorch/reader/__init__.py,sha256=Rf1RcYmelmdZmBV5qOKvKWF575ofc06JFQSq83Jz99A,696
260
- model_compression_toolkit/core/pytorch/reader/graph_builders.py,sha256=aTK-KNFb5f_fh1_Lk3ORs1T5ExdHXM-lu9m22kODnDs,12382
260
+ model_compression_toolkit/core/pytorch/reader/graph_builders.py,sha256=8EieykOysQEMoHZQTLZv9yfkg0dkoFwRtlR3I0rlshg,12626
261
261
  model_compression_toolkit/core/pytorch/reader/node_holders.py,sha256=TaolORuwBZEddWe-q0Mg79Nmswz-Sq3-9-4o8UxFQ50,1028
262
262
  model_compression_toolkit/core/pytorch/reader/reader.py,sha256=GEJE0QX8XJFWbYCkbRBtzttZtmmuoACLx8gw9KyAQCE,6015
263
263
  model_compression_toolkit/core/pytorch/statistics_correction/__init__.py,sha256=Rf1RcYmelmdZmBV5qOKvKWF575ofc06JFQSq83Jz99A,696
@@ -471,8 +471,8 @@ model_compression_toolkit/trainable_infrastructure/keras/quantize_wrapper.py,sha
471
471
  model_compression_toolkit/trainable_infrastructure/keras/quantizer_utils.py,sha256=MVwXNymmFRB2NXIBx4e2mdJ1RfoHxRPYRgjb1MQP5kY,1797
472
472
  model_compression_toolkit/trainable_infrastructure/pytorch/__init__.py,sha256=huHoBUcKNB6BnY6YaUCcFvdyBtBI172ZoUD8ZYeNc6o,696
473
473
  model_compression_toolkit/trainable_infrastructure/pytorch/base_pytorch_quantizer.py,sha256=7bbzqJN8ZAycVDvZr_5xC-niTAR5df8f03Kooev_pfg,3047
474
- mct_nightly-1.11.0.20240326.400.dist-info/LICENSE.md,sha256=aYSSIb-5AFPeITTvXm1UAoe0uYBiMmSS8flvXaaFUks,10174
475
- mct_nightly-1.11.0.20240326.400.dist-info/METADATA,sha256=GwqwnKJkuiSkQEJFqVDMslIef10bd6EqT5sK8-FEeso,19146
476
- mct_nightly-1.11.0.20240326.400.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
477
- mct_nightly-1.11.0.20240326.400.dist-info/top_level.txt,sha256=gsYA8juk0Z-ZmQRKULkb3JLGdOdz8jW_cMRjisn9ga4,26
478
- mct_nightly-1.11.0.20240326.400.dist-info/RECORD,,
474
+ mct_nightly-1.11.0.20240327.353.dist-info/LICENSE.md,sha256=aYSSIb-5AFPeITTvXm1UAoe0uYBiMmSS8flvXaaFUks,10174
475
+ mct_nightly-1.11.0.20240327.353.dist-info/METADATA,sha256=lVAWlmBwsKzcAiNyutLaKhz22Y0yRIPoMzipCGjVLpA,19146
476
+ mct_nightly-1.11.0.20240327.353.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
477
+ mct_nightly-1.11.0.20240327.353.dist-info/top_level.txt,sha256=gsYA8juk0Z-ZmQRKULkb3JLGdOdz8jW_cMRjisn9ga4,26
478
+ mct_nightly-1.11.0.20240327.353.dist-info/RECORD,,
@@ -27,4 +27,4 @@ from model_compression_toolkit import data_generation
27
27
  from model_compression_toolkit import pruning
28
28
  from model_compression_toolkit.trainable_infrastructure.keras.load_model import keras_load_quantized_model
29
29
 
30
- __version__ = "1.11.0.20240326.000400"
30
+ __version__ = "1.11.0.20240327.000353"
@@ -188,6 +188,9 @@ def nodes_builder(model: GraphModule,
188
188
 
189
189
  # remove torch.fx.node.Node from inputs to graph_node_type
190
190
  op_call_args = [arg for arg in op_call_args if not isinstance(arg, Node)]
191
+ # convert torch.fx.immutable_collections.immutable_list to tuple
192
+ op_call_args = [tuple(arg) if isinstance(arg, torch.fx.immutable_collections.immutable_list) else arg
193
+ for arg in op_call_args]
191
194
 
192
195
  kwargs = {FUNCTIONAL_OP: node_type,
193
196
  OP_CALL_ARGS: op_call_args,