cuda : fix compile warning

This commit is contained in:
Georgi Gerganov 2024-05-21 19:08:12 +03:00
parent 23b72b871c
commit e9acbce624
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -260,7 +260,6 @@ void ggml_cuda_op_rope(ggml_backend_cuda_context & ctx, ggml_tensor * dst) {
const int64_t ne00 = src0->ne[0];
const int64_t ne01 = src0->ne[1];
const int64_t ne2 = dst->ne[2];
const int64_t nrows = ggml_nrows(src0);
//const int n_past = ((int32_t *) dst->op_params)[0];