OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[CPU] oneDNN3.6 cherry-pick backports (#28843)
Xiuchuan Zhaid55a720f20ee
diff --git a/src/plugins/intel_cpu/src/nodes/kernels/x64/brgemm_kernel.cpp b/src/plugins/intel_cpu/src/nodes/kernels/x64/brgemm_kernel.cppindex 4ed540f0b0a..52e20767557 100644--- a/src/plugins/intel_cpu/src/nodes/kernels/x64/brgemm_kernel.cpp+++ b/src/plugins/intel_cpu/src/nodes/kernels/x64/brgemm_kernel.cpp@@ -273,6 +273,7 @@ void BrgemmKernel::init_brgemm_copy_a(: DnnlExtensionUtils::sizeOfDataType(static_cast<dnnl::memory::data_type>(dt_in0));brgCopyKernelConf.transposed_A = transpose;brgCopyKernelConf.isa = is_avx_f16_only ? avx512_core_fp16 : avx512_core_amx;+ brgCopyKernelConf.orig_wei_dt = static_cast<dnnl_data_type_t>(DnnlExtensionUtils::ElementTypeToDataType(inType));create_brgemm_matmul_copy_a(brgCopyKernel, &brgCopyKernelConf);}diff --git a/src/plugins/intel_cpu/tests/functional/shared_tests_instances/skip_tests_config.cpp b/src/plugins/intel_cpu/tests/functional/shared_tests_instances/skip_tests_config.cppindex fe027ba8bbc..42ef5b96ff6 100644--- a/src/plugins/intel_cpu/tests/functional/shared_tests_instances/skip_tests_config.cpp+++ b/src/plugins/intel_cpu/tests/functional/shared_tests_instances/skip_tests_config.cpp@@ -479,18 +479,12 @@ std::vector<std::string> disabledTestPatterns() {R"(.*smoke_MatMulCompressedWeights_corner_cases_basic/MatmulWeightsDecompression.CompareWithRefs/data_shape=\[\?.\?.\?\]_\(\[1,1,4096\]\)_weights_shape=\[4096,4096\]_group_size=128_weights_precision=nf4_decompression_precision=f16_scale_precision=undefined_transpose_weights=0_decompression_subtract=full_reshape_on_decompression=1_config=\(\).*)");retVector.emplace_back(R"(.*smoke_RDFT_CPU_1D/RDFTTestCPU.CompareWithRefs/prec=f32_IS0=\[\]_TS0=\(\(126\)\)_constAxes=true_axes=\(\(0\)\)_isInverse=false.*)");retVector.emplace_back(R"(.*smoke_RDFT_CPU_2D/RDFTTestCPU.CompareWithRefs/prec=f32_IS0=\[\]_TS0=\(\(16.38\)\)_constAxes=true_axes=\(\(0.1\)\)_isInverse=false.*)");- // Issue: MFDNN-12818- retVector.emplace_back(R"(.*smoke_LPT/RecurrentCellTransformation.CompareWithRefImpl/f32_\[1,1,3\]_CPU_f32FQ_X_level=256_.*_FQ_W_level=255.*)");- retVector.emplace_back(R"(.*smoke_static/ConvertFqRnnToQuantizedRnn.CompareWithRefs/Type=GRUSequence.*2.5.10.*2.1.4.*2.1.4.*)");#endifif (!ov::with_cpu_x86_avx512_core()) {// on platforms which do not support bfloat16, we are disabling bf16 tests since there are no bf16 primitives,// tests are useless on such platformsretVector.emplace_back(R"(.*(BF|bf)16.*)");retVector.emplace_back(R"(.*bfloat16.*)");- // Issue: MFDNN-12818- retVector.emplace_back(R"(.*smoke_LPT/RecurrentCellTransformation.CompareWithRefImpl/f32_\[1,1,3\]_CPU_f32FQ_X_level=256_.*_FQ_W_level=255.*)");- retVector.emplace_back(R"(.*smoke_static/ConvertFqRnnToQuantizedRnn.CompareWithRefs/Type=GRUSequence.*2.5.10.*2.1.4.*2.1.4.*)");}if (!ov::with_cpu_x86_avx2()) {// MatMul in Snippets uses BRGEMM that is supported only on AVX2 (and newer) platformsdiff --git a/src/plugins/intel_cpu/thirdparty/onednn b/src/plugins/intel_cpu/thirdparty/onednnindex 157fb8153d8..0bbc7a77db0 160000--- a/src/plugins/intel_cpu/thirdparty/onednn+++ b/src/plugins/intel_cpu/thirdparty/onednn@@ -1 +1 @@-Subproject commit 157fb8153d8c54cf37311d95a63ed63e66b14ac5+Subproject commit 0bbc7a77db0a9eb60c97cb96fb60a08185575bdb