We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40ef93f commit 5f6c597Copy full SHA for 5f6c597
optimum/exporters/openvino/convert.py
@@ -616,7 +616,8 @@ def export_from_model(
616
f"Compression of the weights to {ov_config.quantization_config} requires nncf, please install it with `pip install nncf`"
617
)
618
619
- library_name = _infer_library_from_model_or_model_class(model, library_name=library_name)
+ if library_name is None:
620
+ library_name = _infer_library_from_model_or_model_class(model)
621
if library_name != "open_clip":
622
TasksManager.standardize_model_attributes(model, library_name=library_name)
623
0 commit comments