diff --git a/optimum/commands/export/openvino.py b/optimum/commands/export/openvino.py index 95ecea1213..6bfec7c221 100644 --- a/optimum/commands/export/openvino.py +++ b/optimum/commands/export/openvino.py @@ -89,7 +89,7 @@ def parse_args_openvino(parser: "ArgumentParser"): default=0.8, help=( "Compression ratio between primary and backup precision. In the case of INT4, NNCF evaluates layer sensitivity and keeps the most impactful layers in INT8" - "precision (by default 20% in INT8). This helps to achieve better accuracy after weight quantization." + "precision (by default 20%% in INT8). This helps to achieve better accuracy after weight compression." ), ) diff --git a/tests/openvino/test_exporters_cli.py b/tests/openvino/test_exporters_cli.py index b90490d610..e53f670dc9 100644 --- a/tests/openvino/test_exporters_cli.py +++ b/tests/openvino/test_exporters_cli.py @@ -150,3 +150,10 @@ def test_exporters_cli_int4(self, task: str, model_type: str, option: str): _, num_int8, num_int4 = get_num_quantized_nodes(model) self.assertEqual(expected_int8, num_int8) self.assertEqual(expected_int4, num_int4) + + def test_exporters_cli_help(self): + subprocess.run( + "optimum-cli export openvino --help", + shell=True, + check=True, + )