From 6a5d8236eed8b3af14bca45a2b2192887d50859d Mon Sep 17 00:00:00 2001 From: JohannesGaessler Date: Thu, 8 Feb 2024 11:26:40 +0100 Subject: [PATCH] fix trailing whitespace --- llama.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama.cpp b/llama.cpp index f8f5796a4..6c1dba640 100644 --- a/llama.cpp +++ b/llama.cpp @@ -8585,7 +8585,7 @@ void llama_sample_top_k(struct llama_context * ctx, llama_token_data_array * can // } const int64_t t_start_sample_us = ggml_time_us(); - + if (k <= 0) { k = candidates->size; }