Skip to content

Commit e9acbce

Browse files
committed
cuda : fix compile warning
1 parent 23b72b8 commit e9acbce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ggml-cuda/rope.cu

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ void ggml_cuda_op_rope(ggml_backend_cuda_context & ctx, ggml_tensor * dst) {
260260

261261
const int64_t ne00 = src0->ne[0];
262262
const int64_t ne01 = src0->ne[1];
263-
const int64_t ne2 = dst->ne[2];
264263
const int64_t nrows = ggml_nrows(src0);
265264

266265
//const int n_past = ((int32_t *) dst->op_params)[0];

0 commit comments

Comments
 (0)