From 9710a32175b3b8f04636aaac4aa3cc28651b505d Mon Sep 17 00:00:00 2001 From: Jhen-Jie Hong Date: Thu, 24 Sep 2026 13:02:17 +0800 Subject: [PATCH] hexagon: reject MUL_MAT_ID when src1 precision is F32 (#29348) --- ggml/src/ggml-hexagon/ggml-hexagon.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ggml/src/ggml-hexagon/ggml-hexagon.cpp b/ggml/src/ggml-hexagon/ggml-hexagon.cpp index 58806e37f7..9a35002504 100644 --- a/ggml/src/ggml-hexagon/ggml-hexagon.cpp +++ b/ggml/src/ggml-hexagon/ggml-hexagon.cpp @@ -5476,6 +5476,10 @@ static bool ggml_hexagon_supported_mul_mat_id(const struct ggml_hexagon_session return false; } + if (ggml_get_op_params_i32(op, 3) == GGML_PREC_F32) { + return false; + } + switch (src0->type) { case GGML_TYPE_Q4_0: case GGML_TYPE_Q4_1: