Skip to content

Commit e9b12c3

Browse files
committed
perplexity : more meaningful ETA number - 2 decimal points
1 parent 604b8bd commit e9b12c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/perplexity/perplexity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void perplexity(llama_context * ctx, const gpt_params & params) {
8888
fprintf(stderr, "%d hours ", total_seconds / (60*60));
8989
total_seconds = total_seconds % (60*60);
9090
}
91-
fprintf(stderr, "%d minutes\n", total_seconds / 60);
91+
fprintf(stderr, "%.2f minutes\n", total_seconds / 60.0);
9292
}
9393

9494
// We get the logits for all the tokens in the context window (params.n_ctx)

0 commit comments

Comments
 (0)