summaryrefslogtreecommitdiff
path: root/examples/batched
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/batched
parentfc0c8d286a533363a9a663510b62af85ffad58b3 (diff)
ggml, common, examples, tests : fixed type arguments in printf (#5528)
Diffstat (limited to 'examples/batched')
-rw-r--r--examples/batched/batched.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/batched/batched.cpp b/examples/batched/batched.cpp
index eab63669..9be7eb56 100644
--- a/examples/batched/batched.cpp
+++ b/examples/batched/batched.cpp
@@ -92,7 +92,7 @@ int main(int argc, char ** argv) {
const int n_ctx = llama_n_ctx(ctx);
- LOG_TEE("\n%s: n_len = %d, n_ctx = %d, n_batch = %d, n_parallel = %d, n_kv_req = %d\n", __func__, n_len, n_ctx, ctx_params.n_batch, n_parallel, n_kv_req);
+ LOG_TEE("\n%s: n_len = %d, n_ctx = %d, n_batch = %u, n_parallel = %d, n_kv_req = %d\n", __func__, n_len, n_ctx, ctx_params.n_batch, n_parallel, n_kv_req);
// make sure the KV cache is big enough to hold all the prompt and generated tokens
if (n_kv_req > n_ctx) {