Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[CPU] Fix versa accuracy issue with bf16. (#26503)

Luwei Zhoubada9ddcf6dd
diff --git a/src/plugins/intel_cpu/thirdparty/onednn b/src/plugins/intel_cpu/thirdparty/onednn
index aa986d8577b..1ce2d722922 160000
--- a/src/plugins/intel_cpu/thirdparty/onednn
+++ b/src/plugins/intel_cpu/thirdparty/onednn
@@ -1 +1 @@
-Subproject commit aa986d8577bacf3bdb49db0c9b6d8d5d16d06584
+Subproject commit 1ce2d722922efb80da52a6efe2152a9aecdddebf
diff --git a/src/plugins/intel_cpu/tools/dump_check/dump_check.py b/src/plugins/intel_cpu/tools/dump_check/dump_check.py
index 0ac1cd41da8..163552a67b1 100644
--- a/src/plugins/intel_cpu/tools/dump_check/dump_check.py
+++ b/src/plugins/intel_cpu/tools/dump_check/dump_check.py
@@ -76,7 +76,7 @@ def fill_tensors_from_image(input, input_file):
class IEB:
precision_table = {
5:(np.float32, 4),
- 9:(np.int16, 2),
+ 3:(np.int16, 2),
14:(np.uint8, 1),
8:(np.int8, 1),
10:(np.int32, 4),
@@ -174,7 +174,6 @@ def dump_tensors(core, model, dump_dir = "./cpu_dump", dump_ports="OUT", device_
"INFERENCE_NUM_THREADS":1}
if infer_bf16 == True:
device_config["INFERENCE_PRECISION_HINT"] = "bf16"
- device_config["ENFORCE_BF16"] = "YES"
print("compiling model with {}".format(device_config))
exec_net = core.compile_model(model, device_target, device_config)
req = exec_net.create_infer_request()