Skip to content

Commit 00ca09c

Browse files
author
noemotiovon
committed
[CANN]add rope unsupport case
Signed-off-by: noemotiovon <[email protected]>
1 parent 6389f75 commit 00ca09c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
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)