]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
llama-cli : remove duplicated log message (#9275)
authorGuoliang Hua <redacted>
Mon, 2 Sep 2024 12:36:43 +0000 (20:36 +0800)
committerGitHub <redacted>
Mon, 2 Sep 2024 12:36:43 +0000 (15:36 +0300)
examples/main/main.cpp

index 2c05afb048c7be71ad4ffe6c3778b0b6478feecc..c55efbb66d7c12c5195ff2a70ee0dc12f61e063d 100644 (file)
@@ -386,8 +386,8 @@ int main(int argc, char ** argv) {
     }
 
     LOGLN(
-            "recalculate the cached logits (check): embd_inp.empty() %s, n_matching_session_tokens %zu, embd_inp.size() %zu, session_tokens.size() %zu, embd_inp.size() %zu",
-            log_tostr(embd_inp.empty()), n_matching_session_tokens, embd_inp.size(), session_tokens.size(), embd_inp.size());
+            "recalculate the cached logits (check): embd_inp.empty() %s, n_matching_session_tokens %zu, embd_inp.size() %zu, session_tokens.size() %zu",
+            log_tostr(embd_inp.empty()), n_matching_session_tokens, embd_inp.size(), session_tokens.size());
 
     // if we will use the cache for the full prompt without reaching the end of the cache, force
     // reevaluation of the last token to recalculate the cached logits