hexagon: add support for ROPE_NEOX (#17458)

This commit is contained in:
Max Krasnyansky
2025-11-23 18:55:56 -08:00
committed by GitHub
parent 01ad35e6d6
commit 923ae3c619
2 changed files with 81 additions and 8 deletions
+1 -1
View File
@@ -2229,7 +2229,7 @@ static bool ggml_hexagon_supported_rope(const struct ggml_hexagon_session * sess
int mode = op_params[2];
if ((mode & GGML_ROPE_TYPE_NEOX) || (mode & GGML_ROPE_TYPE_MROPE) || (mode & GGML_ROPE_TYPE_VISION)) {
if ((mode & GGML_ROPE_TYPE_MROPE) || (mode & GGML_ROPE_TYPE_VISION)) {
return false;
}
if (mode & 1) {