We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 194a997 commit e744188Copy full SHA for e744188
optimum/exporters/openvino/__main__.py
@@ -446,8 +446,12 @@ class StoreAttr(object):
446
quantization_config = {"bits": 8, "sym": False}
447
logger.info("The model weights will be quantized to int8_asym.")
448
else:
449
- continue
450
- if not quantization_config:
+ logger.warning(
+ "The model will be converted with no weights quantization. Quantization of the weights to int8 "
451
+ "requires nncf. Please install it with `pip install nncf`"
452
+ )
453
+ break
454
+ if quantization_config is None:
455
continue
456
457
if not is_nncf_available():
0 commit comments