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(
783
783
need_lock = true ;
784
784
OrtOpenVINOProviderOptions openvino_options;
785
785
openvino_options.device_type =
786
- " CPU_FP32 " ; // device_type default is CPU_FP32
786
+ " CPU " ; // device_type default is CPU
787
787
788
788
RETURN_IF_ORT_ERROR (
789
789
ort_api->SessionOptionsAppendExecutionProvider_OpenVINO (
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ def dockerfile_for_linux(output_file):
248
248
ep_flags += " --allow_running_as_root"
249
249
250
250
if FLAGS .ort_openvino is not None :
251
- ep_flags += " --use_openvino CPU_FP32 "
251
+ ep_flags += " --use_openvino CPU "
252
252
253
253
if target_platform () == "igpu" :
254
254
ep_flags += (
@@ -442,7 +442,7 @@ def dockerfile_for_windows(output_file):
442
442
if FLAGS .tensorrt_home is not None :
443
443
ep_flags += ' --tensorrt_home "{}"' .format (FLAGS .tensorrt_home )
444
444
if FLAGS .ort_openvino is not None :
445
- ep_flags += " --use_openvino CPU_FP32 "
445
+ ep_flags += " --use_openvino CPU "
446
446
447
447
df += """
448
448
WORKDIR /workspace/onnxruntime
You can’t perform that action at this time.
0 commit comments