Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Added executorch parameter to openvino_compile call
  • Loading branch information
cavusmustafa committed Jan 31, 2025
commit 91087706938f7ec82d50262309f1a6741a8abe24
2 changes: 1 addition & 1 deletion backends/openvino/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def preprocess(
for spec in module_compile_spec:
compile_options[spec.key] = spec.value.decode()

compiled = openvino_compile(edge_program.module(), *args, options=compile_options)
compiled = openvino_compile(edge_program.module(), *args, options=compile_options, executorch=True)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Instructions need to be updated to use the changes in OpenVINO

model_bytes = compiled.export_model()

return PreprocessResult(processed_bytes=model_bytes)