Skip to content

Commit

Permalink
Change default flag value for OpenVINO
Browse files Browse the repository at this point in the history
  • Loading branch information
mc-nv committed May 8, 2024
1 parent 90903b0 commit 939757f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/onnxruntime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ ModelState::LoadModel(
need_lock = true;
OrtOpenVINOProviderOptions openvino_options;
openvino_options.device_type =
"CPU_FP32"; // device_type default is CPU_FP32
"CPU"; // device_type default is CPU

RETURN_IF_ORT_ERROR(
ort_api->SessionOptionsAppendExecutionProvider_OpenVINO(
Expand Down
2 changes: 1 addition & 1 deletion tools/gen_ort_dockerfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def dockerfile_for_linux(output_file):
ep_flags += " --allow_running_as_root"

if FLAGS.ort_openvino is not None:
ep_flags += " --use_openvino CPU_FP32"
ep_flags += " --use_openvino CPU"

if target_platform() == "igpu":
ep_flags += (
Expand Down

0 comments on commit 939757f

Please sign in to comment.