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 @@ -246,7 +246,7 @@ def dockerfile_for_linux(output_file):
246
246
ep_flags += " --allow_running_as_root"
247
247
248
248
if FLAGS .ort_openvino is not None :
249
- ep_flags += " --use_openvino CPU_FP32 "
249
+ ep_flags += " --use_openvino CPU "
250
250
251
251
if target_platform () == "igpu" :
252
252
ep_flags += (
@@ -440,7 +440,7 @@ def dockerfile_for_windows(output_file):
440
440
if FLAGS .tensorrt_home is not None :
441
441
ep_flags += ' --tensorrt_home "{}"' .format (FLAGS .tensorrt_home )
442
442
if FLAGS .ort_openvino is not None :
443
- ep_flags += " --use_openvino CPU_FP32 "
443
+ ep_flags += " --use_openvino CPU "
444
444
445
445
df += """
446
446
WORKDIR /workspace/onnxruntime
You can’t perform that action at this time.
0 commit comments