We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3476cd8 commit abafacdCopy full SHA for abafacd
1 file changed
backends/arm/quantizer/arm_quantizer_utils.py
@@ -258,11 +258,14 @@ def __init__(
258
def get_quantizer_info(self):
259
name = self.__class__.__name__
260
targeted_nodes_description = str(self.node_finder)
261
- qconfig_label = (
262
- self.quantization_config.label
263
- if self.quantization_config.label is not None
264
- else self.quantization_config.__class__.__name__ # no label, fallback to class name
265
- )
+ if self.quantization_config is None:
+ qconfig_label = "NO_QCONFIG"
+ else:
+ qconfig_label = (
+ self.quantization_config.label
266
+ if self.quantization_config.label is not None
267
+ else self.quantization_config.__class__.__name__ # no label, fallback to class name
268
+ )
269
support_config_path = self.pattern_matcher.support_dict_name
270
271
return QuantizerInfo(
0 commit comments