From cff0ec5278d378931c54ef0b99d5bb0e65604757 Mon Sep 17 00:00:00 2001 From: Vincent Wang Date: Wed, 15 Jan 2025 13:46:53 +0800 Subject: [PATCH] Disable QNN HTP MatMul Op Test to Avoid Random Failure (#23371) The QNN HTP backend for MatMul is not stable on different versions and platforms. Disable the UT to avoid random failure. --- onnxruntime/test/providers/qnn/matmul_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/onnxruntime/test/providers/qnn/matmul_test.cpp b/onnxruntime/test/providers/qnn/matmul_test.cpp index 74edc25939e00..c6cbf0236c6ec 100644 --- a/onnxruntime/test/providers/qnn/matmul_test.cpp +++ b/onnxruntime/test/providers/qnn/matmul_test.cpp @@ -233,7 +233,8 @@ TEST_F(QnnCPUBackendTests, MatMulOp) { // // HTP tests: // -TEST_F(QnnHTPBackendTests, MatMulOp) { +// Disable this for now as the QNN HTP backend is not stable on different versions and platforms so it failed randomly. +TEST_F(QnnHTPBackendTests, DISABLED_MatMulOp) { // RunMatMulOpTest(is_htp_backend, shape_0, shape_1, is_initializer_0, is_initializer_1, expected_ep_assignment, // opset, f32_abs_err) RunMatMulOpTest(true, {2, 3}, {3, 2}, false, false, ExpectedEPNodeAssignment::All, 18, 1e-2f);