File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -783,7 +783,7 @@ ModelState::LoadModel(
783783 need_lock = true ;
784784 OrtOpenVINOProviderOptions openvino_options;
785785 openvino_options.device_type =
786- " CPU_FP32 " ; // device_type default is CPU_FP32
786+ " CPU " ; // device_type default is CPU
787787
788788 RETURN_IF_ORT_ERROR (
789789 ort_api->SessionOptionsAppendExecutionProvider_OpenVINO (
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ def dockerfile_for_linux(output_file):
224224 ep_flags += " --allow_running_as_root"
225225
226226 if FLAGS .ort_openvino is not None :
227- ep_flags += " --use_openvino CPU_FP32 "
227+ ep_flags += " --use_openvino CPU "
228228
229229 if target_platform () == "igpu" :
230230 ep_flags += (
@@ -418,7 +418,7 @@ def dockerfile_for_windows(output_file):
418418 if FLAGS .tensorrt_home is not None :
419419 ep_flags += ' --tensorrt_home "{}"' .format (FLAGS .tensorrt_home )
420420 if FLAGS .ort_openvino is not None :
421- ep_flags += " --use_openvino CPU_FP32 "
421+ ep_flags += " --use_openvino CPU "
422422
423423 df += """
424424WORKDIR /workspace/onnxruntime
You can’t perform that action at this time.
0 commit comments