Skip to content

Commit

Permalink
Update ggml.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov authored Feb 5, 2024
1 parent 4397514 commit 522660e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 522660e

Please sign in to comment.