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++) {