From a4b2ae1d388f31ec60a213636b8f0edde99ae4dd Mon Sep 17 00:00:00 2001 From: Pranav Dhinakar Date: Wed, 25 Mar 2026 14:05:44 -0700 Subject: [PATCH] hexagon: accept Qwen3.5 ROPE and RMS_NORM ops in HTP backend --- ggml/src/ggml-hexagon/ggml-hexagon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml/src/ggml-hexagon/ggml-hexagon.cpp b/ggml/src/ggml-hexagon/ggml-hexagon.cpp index 9c1ce93cc69..ad49543615a 100644 --- a/ggml/src/ggml-hexagon/ggml-hexagon.cpp +++ b/ggml/src/ggml-hexagon/ggml-hexagon.cpp @@ -1962,7 +1962,7 @@ static bool ggml_hexagon_supported_unary(const struct ggml_hexagon_session * ses } // TODO: add support for non-contigiuos tensors - if (!ggml_is_contiguous(src0) || !ggml_is_contiguous(dst)) { + if (!ggml_is_contiguous(dst)) { return false; } @@ -2133,7 +2133,7 @@ static bool ggml_hexagon_supported_rope(const struct ggml_hexagon_session * sess int mode = op_params[2]; - if ((mode & GGML_ROPE_TYPE_MROPE) || (mode & GGML_ROPE_TYPE_VISION)) { + if ((mode & GGML_ROPE_TYPE_MROPE) == GGML_ROPE_TYPE_MROPE) { return false; } if (mode & 1) {