summaryrefslogtreecommitdiff
path: root/examples/perplexity
diff options
context:
space:
mode:
authorHerman Semenov <GermanAizek@yandex.ru>2024-02-18 16:20:12 +0000
committerGitHub <noreply@github.com>2024-02-18 18:20:12 +0200
commit5d3de51f972055702a1859186fe7acb8f0b43dc4 (patch)
tree4d41dc88a8a4aee3e3300874f590c0ec83bf73f5 /examples/perplexity
parentfc0c8d286a533363a9a663510b62af85ffad58b3 (diff)
ggml, common, examples, tests : fixed type arguments in printf (#5528)
Diffstat (limited to 'examples/perplexity')
-rw-r--r--examples/perplexity/perplexity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/perplexity/perplexity.cpp b/examples/perplexity/perplexity.cpp
index 67d2d329..74dcc642 100644
--- a/examples/perplexity/perplexity.cpp
+++ b/examples/perplexity/perplexity.cpp
@@ -1623,7 +1623,7 @@ static void kl_divergence(llama_context * ctx, const gpt_params & params) {
uint32_t n_ctx;
in.read((char *)&n_ctx, sizeof(n_ctx));
if (n_ctx > llama_n_ctx(ctx)) {
- fprintf(stderr, "%s: %s has been computed with %d, while the current context is %d. Increase it with -c and retry\n",
+ fprintf(stderr, "%s: %s has been computed with %u, while the current context is %d. Increase it with -c and retry\n",
__func__, params.logits_file.c_str(), n_ctx, params.n_ctx);
}