Skip to content

Commit

Permalink
[CPU][ARM] Fix ARM tests failing because of overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mory91 committed Oct 16, 2024
1 parent 9486b7d commit 6a4ed9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ void mha_single_token(const ov::intel_cpu::PlainTensor& query,
past_v_scale_zp,
head_sum);
} else {
OPENVINO_THROW("Unsupported precision: ", query.get_precision());
OPENVINO_THROW("Unsupported precision: ", present_key.get_precision());
}
#else
if (present_key.get_precision() == ov::element::u8) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class ConcatMultiQuerySDPTest : public testing::WithParamInterface<ConcatMultiQu
inputs.insert({param, t});
} else if (param->get_element_type() == element::f16) {
ov::Tensor t{ov::element::f16, shape};
strided_iota(static_cast<ov::float16*>(t.data()), t.get_size(), val, 0.1f);
strided_iota(static_cast<ov::float16*>(t.data()), t.get_size(), val, 0.0f);
inputs.insert({param, t});
} else {
ov::Tensor t{ov::element::bf16, shape};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,7 @@ std::vector<std::string> disabledTestPatterns() {
retVector.emplace_back(R"(smoke_VariableState/OVInferRequestVariableStateTest.*)");
// Issue: 141705
retVector.emplace_back(R"(.*smoke_arm_Deconv_2D_Planar_FP16/DeconvolutionLayerCPUTest.*INFERENCE_PRECISION_HINT=f16.*)");
// Issue: 154882
retVector.emplace_back(R"(.*ConcatMultiQuerySDPTest.*f16.*)");
retVector.emplace_back(R"(.*ConcatMultiQuerySDPTest.*u8.*)");
#endif

#if defined(OPENVINO_ARCH_ARM)
Expand Down

0 comments on commit 6a4ed9a

Please sign in to comment.