@@ -1136,7 +1136,12 @@ TEST_F(QnnHTPBackendTests, Conv_PerChannel_UnsupportedAxis) {
11361136// QnnDsp <V> Wake up free backend 1 thread(s)
11371137// QnnDsp <I> QnnGraph_finalize done. status 0x3ea
11381138// onnxruntime::qnn::QnnModel::FinalizeGraphs] Failed to finalize QNN graph.
1139+ // Issue fixed in 2.30
1140+ #if (QNN_API_VERSION_MAJOR == 2) && (QNN_API_VERSION_MINOR >= 23)
1141+ TEST_F (QnnHTPBackendTests, Conv3D_U8S8S32_PerChannel) {
1142+ #else
11391143TEST_F (QnnHTPBackendTests, DISABLED_Conv3D_U8S8S32_PerChannel) {
1144+ #endif
11401145 std::vector<int64_t > input_shape = {1 , 2 , 4 , 4 , 4 };
11411146 std::vector<int64_t > weight_shape = {3 , 2 , 2 , 2 , 2 };
11421147 std::vector<int64_t > bias_shape = {3 };
@@ -1201,7 +1206,12 @@ TEST_F(QnnHTPBackendTests, ConvDepthwiseU8S8S32_PerChannel) {
12011206// QnnDsp <V> Wake up free backend 1 thread(s)
12021207// QnnDsp <I> QnnGraph_finalize done. status 0x3ea
12031208// onnxruntime::qnn::QnnModel::FinalizeGraphs] Failed to finalize QNN graph.
1209+ // Issue fixed in 2.30
1210+ #if (QNN_API_VERSION_MAJOR == 2) && (QNN_API_VERSION_MINOR >= 23)
1211+ TEST_F (QnnHTPBackendTests, Conv3D_U8S8S32_PerChannel2) {
1212+ #else
12041213TEST_F (QnnHTPBackendTests, DISABLED_Conv3D_U8S8S32_PerChannel2) {
1214+ #endif
12051215 std::vector<int64_t > input_shape = {1 , 2 , 4 , 4 , 4 };
12061216 std::vector<int64_t > weight_shape = {2 , 1 , 2 , 2 , 2 };
12071217 std::vector<int64_t > bias_shape = {2 };
@@ -1286,7 +1296,12 @@ TEST_F(QnnHTPBackendTests, ConvTranspose_PerChannel_UnsupportedAxis) {
12861296
12871297// ConvTranspose3D per-channel
12881298// Disable it for 2.21 since it failed, re-enabled it for 2.22
1299+ // Issue fixed in 2.30
1300+ #if (QNN_API_VERSION_MAJOR == 2) && (QNN_API_VERSION_MINOR >= 23)
1301+ TEST_F (QnnHTPBackendTests, ConvTranspose3D_U8S8S32_PerChannel) {
1302+ #else
12891303TEST_F (QnnHTPBackendTests, DISABLED_ConvTranspose3D_U8S8S32_PerChannel) {
1304+ #endif
12901305 std::vector<int64_t > input_shape = {1 , 2 , 4 , 4 , 4 };
12911306 std::vector<int64_t > weight_shape = {2 , 3 , 2 , 2 , 2 };
12921307 std::vector<int64_t > bias_shape = {3 };
@@ -1350,7 +1365,12 @@ TEST_F(QnnHTPBackendTests, ConvU16S8S32_PerChannel) {
13501365// QnnDsp <V> Wake up free backend 1 thread(s)
13511366// QnnDsp <I> QnnGraph_finalize done. status 0x3ea
13521367// onnxruntime::qnn::QnnModel::FinalizeGraphs] Failed to finalize QNN graph.
1368+ // Issue fixed in 2.30
1369+ #if (QNN_API_VERSION_MAJOR == 2) && (QNN_API_VERSION_MINOR >= 23)
1370+ TEST_F (QnnHTPBackendTests, Conv3D_U16S8S32_PerChannel) {
1371+ #else
13531372TEST_F (QnnHTPBackendTests, DISABLED_Conv3D_U16S8S32_PerChannel) {
1373+ #endif
13541374 std::vector<int64_t > input_shape = {1 , 2 , 4 , 4 , 4 };
13551375 std::vector<int64_t > weight_shape = {3 , 2 , 2 , 2 , 2 };
13561376 std::vector<int64_t > bias_shape = {3 };
@@ -1406,7 +1426,12 @@ TEST_F(QnnHTPBackendTests, ConvTransposeU16S8S32_PerChannel) {
14061426}
14071427
14081428// Disable it for 2.21, re-enable it for 2.22
1429+ // Issue fixed in 2.30
1430+ #if (QNN_API_VERSION_MAJOR == 2) && (QNN_API_VERSION_MINOR >= 23)
1431+ TEST_F (QnnHTPBackendTests, ConvTranspose3D_U16S8S32_PerChannel) {
1432+ #else
14091433TEST_F (QnnHTPBackendTests, DISABLED_ConvTranspose3D_U16S8S32_PerChannel) {
1434+ #endif
14101435 std::vector<int64_t > input_shape = {1 , 2 , 4 , 4 , 4 };
14111436 std::vector<int64_t > weight_shape = {2 , 3 , 2 , 2 , 2 };
14121437 std::vector<int64_t > bias_shape = {3 };
@@ -1471,7 +1496,12 @@ TEST_F(QnnHTPBackendTests, ConvDepthwiseU16S8S32_PerChannel) {
14711496// QnnDsp <V> Wake up free backend 1 thread(s)
14721497// QnnDsp <I> QnnGraph_finalize done. status 0x3ea
14731498// onnxruntime::qnn::QnnModel::FinalizeGraphs] Failed to finalize QNN graph.
1499+ // Issue fixed in 2.30
1500+ #if (QNN_API_VERSION_MAJOR == 2) && (QNN_API_VERSION_MINOR >= 23)
1501+ TEST_F (QnnHTPBackendTests, Conv3D_U16S8S32_PerChannel2) {
1502+ #else
14741503TEST_F (QnnHTPBackendTests, DISABLED_Conv3D_U16S8S32_PerChannel2) {
1504+ #endif
14751505 std::vector<int64_t > input_shape = {1 , 2 , 4 , 4 , 4 };
14761506 std::vector<int64_t > weight_shape = {2 , 1 , 2 , 2 , 2 };
14771507 std::vector<int64_t > bias_shape = {2 };
@@ -1824,7 +1854,12 @@ TEST_F(QnnHTPBackendTests, ConvTransposeU8U8S32_DynamicWeight_NoBias) {
18241854// Exception from backendValidateOpConfig:
18251855// Exception thrown at 0x00007FFF9E0128B0 (QnnHtpPrepare.dll) in onnxruntime_test_all.exe:
18261856// 0xC0000005: Access violation reading location 0x7079745F656C706D.
1857+ // Issue fixed in 2.30
1858+ #if (QNN_API_VERSION_MAJOR == 2) && (QNN_API_VERSION_MINOR >= 23)
1859+ TEST_F (QnnHTPBackendTests, ConvTranspose3D_U8U8S32_DynamicWeight_NoBias) {
1860+ #else
18271861TEST_F (QnnHTPBackendTests, DISABLED_ConvTranspose3D_U8U8S32_DynamicWeight_NoBias) {
1862+ #endif
18281863 RunHTPConvOpTest<uint8_t , uint8_t >(" ConvTranspose" ,
18291864 TestInputDef<float >({1 , 3 , 32 , 32 , 32 }, false , -10 .0f , 10 .0f ), // Input
18301865 TestInputDef<float >({3 , 1 , 4 , 4 , 4 }, false , -10 .0f , 10 .0f ), // Weights
0 commit comments