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 @@ -224,7 +224,7 @@ def dockerfile_for_linux(output_file):
224
224
ep_flags += " --allow_running_as_root"
225
225
226
226
if FLAGS .ort_openvino is not None :
227
- ep_flags += " --use_openvino CPU_FP32 "
227
+ ep_flags += " --use_openvino CPU "
228
228
229
229
if target_platform () == "igpu" :
230
230
ep_flags += (
@@ -418,7 +418,7 @@ def dockerfile_for_windows(output_file):
418
418
if FLAGS .tensorrt_home is not None :
419
419
ep_flags += ' --tensorrt_home "{}"' .format (FLAGS .tensorrt_home )
420
420
if FLAGS .ort_openvino is not None :
421
- ep_flags += " --use_openvino CPU_FP32 "
421
+ ep_flags += " --use_openvino CPU "
422
422
423
423
df += """
424
424
WORKDIR /workspace/onnxruntime
You can’t perform that action at this time.
0 commit comments