Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion demos/common/export_models/export_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@ def export_text_generation_model(model_repository_path, source_model, model_name
### Export model
if os.path.isfile(os.path.join(source_model, 'openvino_model.xml')) or os.path.isfile(os.path.join(source_model, 'openvino_language_model.xml')):
print("OV model is source folder. Skipping conversion.")
model_path = source_model
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My recollection is that this condition was for the scenario of source model from NFS storage with RO access. That was to be absolute path.

elif source_model.startswith("OpenVINO/"):
if precision:
print("Precision change is not supported for OpenVINO models. Parameter --weight-format {} will be ignored.".format(precision))
Expand Down