From 522660eaa31c22eab3d7194fe2b7dfe8cd255551 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 5 Feb 2024 13:13:12 +0200 Subject: [PATCH] Update ggml.c --- ggml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index e8a1f57fcaafd..b9ec0c981b630 100644 --- a/ggml.c +++ b/ggml.c @@ -11889,7 +11889,7 @@ GGML_CALL void ggml_rope_yarn_corr_dims( ) { // start and end correction dims float start = floorf(ggml_rope_yarn_corr_dim(n_dims, n_orig_ctx, beta_fast, freq_base)); - float end = ceilf(ggml_rope_yarn_corr_dim(n_dims, n_orig_ctx, beta_slow, freq_base)); + float end = ceilf(ggml_rope_yarn_corr_dim(n_dims, n_orig_ctx, beta_slow, freq_base)); dims[0] = MAX(0, start); dims[1] = MIN(n_dims - 1, end); }