]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
cann : fix ops broken by circular padding guard (#17825)
authorSigbjørn Skjæret <redacted>
Fri, 12 Dec 2025 14:49:27 +0000 (15:49 +0100)
committerGitHub <redacted>
Fri, 12 Dec 2025 14:49:27 +0000 (15:49 +0100)
ggml/src/ggml-cann/ggml-cann.cpp

index 81288464c71be955af0e1a9f3caec562e3d87bf6..da624c587c26fc7cf4b8d8758cea55218a776b8b 100644 (file)
@@ -2548,6 +2548,7 @@ static bool ggml_backend_cann_supports_op(ggml_backend_dev_t dev, const ggml_ten
         case GGML_OP_ARGSORT:
         case GGML_OP_ACC:
         case GGML_OP_GROUP_NORM:
+            return true;
         case GGML_OP_PAD:
             // TODO: add circular padding support for cann, see https://github.com/ggml-org/llama.cpp/pull/16985
             return ggml_get_op_params_i32(op, 8) == 0;