Skip to content

Commit 04b909f

Browse files
author
noemotiovon
committed
[CANN]add rope unsupport case
Signed-off-by: noemotiovon <[email protected]>
1 parent f951661 commit 04b909f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: ggml/src/ggml-cann/ggml-cann.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1816,6 +1816,9 @@ static bool ggml_backend_cann_supports_op(ggml_backend_dev_t dev,
18161816
return false;
18171817
}
18181818

1819+
if(!ggml_is_contiguous(op->src[0])){
1820+
return false;
1821+
}
18191822
return true;
18201823
}
18211824
case GGML_OP_UPSCALE: {

0 commit comments

Comments
 (0)