8000 fix CANN compile fail bug: the assert in ascend kernel function does… · ggml-org/llama.cpp@e509f79 · GitHub
[go: up one dir, main page]

Skip to content

Commit e509f79

Browse files
committed
fix CANN compile fail bug: the assert in ascend kernel function doesn't supportted on some CANN version
1 parent dc96a0b commit e509f79

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ggml/src/ggml-cann/kernels/dup.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class DupByRows {
2020
// Input has four dims.
2121
int64_t op_block_num = GetBlockNum();
2222
int64_t op_block_idx = GetBlockIdx();
23-
assert(op_block_idx < SUPPORTED_MAX_DIM && op_block_idx >= 0, "Invalid block index:%d, max is:%d\n", op_block_idx, SUPPORTED_MAX_DIM);
2423

2524
// param
2625
num_rows = input_ne_ub[1] * input_ne_ub[2] * input_ne_ub[3];

0 commit comments

Comments
 (0)
0