Skip to content

Commit dcb7d17

Browse files
authored
cann : fix ops broken by circular padding guard (#17825)
1 parent 5160443 commit dcb7d17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml/src/ggml-cann/ggml-cann.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,6 +2548,7 @@ static bool ggml_backend_cann_supports_op(ggml_backend_dev_t dev, const ggml_ten
25482548
case GGML_OP_ARGSORT:
25492549
case GGML_OP_ACC:
25502550
case GGML_OP_GROUP_NORM:
2551+
return true;
25512552
case GGML_OP_PAD:
25522553
// TODO: add circular padding support for cann, see https://github.com/ggml-org/llama.cpp/pull/16985
25532554
return ggml_get_op_params_i32(op, 8) == 0;

0 commit comments

Comments
 (0)