cann : fix ops broken by circular padding guard (llama/17825)

This commit is contained in:
Sigbjørn Skjæret 2025-12-12 15:49:27 +01:00 committed by Georgi Gerganov
parent 2c782ec325
commit db1fcd958f
1 changed files with 1 additions and 0 deletions

View 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;