From aea4ad0296a450195b46d82b286ea075fe8c89f3 Mon Sep 17 00:00:00 2001 From: l3utterfly Date: Thu, 25 Apr 2024 15:57:54 +0900 Subject: [PATCH] fixed editor config check --- common/sampling.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/common/sampling.cpp b/common/sampling.cpp index e9fdd10a4..ad6dba83d 100644 --- a/common/sampling.cpp +++ b/common/sampling.cpp @@ -326,7 +326,6 @@ static llama_token_data_array llama_sampling_prepare_impl( penalty_tokens_used_size, dry_base, dry_multiplier, dry_allowed_length, params.dry_sequence_breakers.data(), params.dry_sequence_breakers.size()); } - if (!penalize_nl) { for (size_t idx = 0; idx < cur_p.size; idx++) {