Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/ak/compression_options' into ak/…
Browse files Browse the repository at this point in the history
…compression_options
  • Loading branch information
AlexKoff88 committed Nov 9, 2023
2 parents 975b277 + e323280 commit 4fff849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/exporters/openvino/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def main_export(
"""
if compression_option is not None and compression_option != "f16" and not is_nncf_available():
raise ImportError(
"Quantization of the weights to int8 requires nncf, please install it with `pip install nncf`"
f"Compression of the weights to {compression_option} requires nncf, please install it with `pip install nncf`"
)

model_kwargs = model_kwargs or {}
Expand Down

0 comments on commit 4fff849

Please sign in to comment.