Skip to content

Commit 46b1c78

Browse files
committed
remove bf16 testing and cpu support for openvino
1 parent a6f7cbb commit 46b1c78

File tree

3 files changed

+1
-120
lines changed

3 files changed

+1
-120
lines changed

onnxruntime/core/providers/openvino/ov_versions/data_ops.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,9 +561,7 @@ bool DataOps::type_is_supported(const NodeArg* node_arg, bool is_initializer) {
561561
}
562562

563563
auto dtype = type_proto->tensor_type().elem_type();
564-
// Enable bfloat16 -> float16 on-the-fly conversion
565-
if (dtype == ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_BFLOAT16 ||
566-
dtype == ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_INT16 ||
564+
if (dtype == ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_INT16 ||
567565
dtype == ONNX_NAMESPACE::TensorProto_DataType::TensorProto_DataType_UINT16)
568566
return true;
569567
if (is_initializer) {

onnxruntime/core/providers/openvino/qdq_transformations/qdq_scales_fix.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include "qdq_scales_fix.h"
55
#include "core/providers/openvino/ov_protobuf_utils.h"
66
#include "core/framework/ort_value.h"
7-
#include "core/common/float16.h"
87

98
#include <fstream>
109
#include <list>

onnxruntime/test/providers/openvino/openvino_ep_bfloat16_pass_test.cc

Lines changed: 0 additions & 116 deletions
This file was deleted.

0 commit comments

Comments
 (0)