Skip to content

Commit e323280

Browse files
AlexKoff88ngaloppo
andauthored
Update optimum/exporters/openvino/__main__.py
Co-authored-by: Nico Galoppo <nico.galoppo@intel.com>
1 parent 6d22f96 commit e323280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimum/exporters/openvino/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def main_export(
128128
"""
129129
if compression_option is not None and compression_option != "f16" and not is_nncf_available():
130130
raise ImportError(
131-
"Quantization of the weights to int8 requires nncf, please install it with `pip install nncf`"
131+
f"Compression of the weights to {compression_option} requires nncf, please install it with `pip install nncf`"
132132
)
133133

134134
model_kwargs = model_kwargs or {}

0 commit comments

Comments
 (0)