Skip to content

Commit 37f8c7b

Browse files
authored
perplexity : remove extra new lines after chunks (#9596)
1 parent bf9c101 commit 37f8c7b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/perplexity/perplexity.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,6 @@ static results_perplexity perplexity_v2(llama_context * ctx, const gpt_params &
444444
}
445445
LOG("%.2f minutes\n", total_seconds / 60.0);
446446
}
447-
LOG("\n");
448447

449448
//LOG_DBG("%s: using tokens %d...%d\n",__func__,params.n_ctx - params.ppl_stride + start, params.n_ctx + start);
450449
for (int j = n_ctx - params.ppl_stride - 1; j < n_ctx - 1; ++j) {
@@ -638,7 +637,6 @@ static results_perplexity perplexity(llama_context * ctx, const gpt_params & par
638637
}
639638
LOG("%.2f minutes\n", total_seconds / 60.0);
640639
}
641-
LOG("\n");
642640

643641
for (int seq = 0; seq < n_seq_batch; seq++) {
644642
const float * all_logits = num_batches > 1 ? logits.data() : llama_get_logits_ith(ctx, seq*n_ctx + first);

0 commit comments

Comments
 (0)