Skip to content

Commit d0d6e43

Browse files
committed
style
1 parent b9fee93 commit d0d6e43

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

optimum/exporters/openvino/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ def main_export(
161161
"Please, pass a `OVWeightQuantizationConfig(ratio=compression_ratio)` object in `quantization_config` argument instead."
162162
)
163163

164-
165164
# default_config = _check_default_4bit_configs(config)
166165

167166
if ov_config is None and compression_option is not None:

optimum/exporters/openvino/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def _save_model(model, path: str, ov_config: Optional["OVConfig"] = None):
8585

8686
_weight_only_quantization(model, ov_config.quantization_config)
8787

88-
compress_to_fp16 = ov_config.dtype == "fp16":
88+
compress_to_fp16 = ov_config.dtype == "fp16"
8989

9090
save_model(model, path, compress_to_fp16)
9191

0 commit comments

Comments
 (0)