]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
main : fix typo in comment in main.cpp (#6985)
authorDaniel Bevenius <redacted>
Mon, 29 Apr 2024 17:56:59 +0000 (19:56 +0200)
committerGitHub <redacted>
Mon, 29 Apr 2024 17:56:59 +0000 (13:56 -0400)
Signed-off-by: Daniel Bevenius <redacted>
examples/main/main.cpp

index a74d4d9c72364a752a8a6b99d87b8847fdb10d53..5c693657c8993413fdd27829e8f0304d6446c6ca 100644 (file)
@@ -324,7 +324,7 @@ int main(int argc, char ** argv) {
             log_tostr(embd_inp.empty()), n_matching_session_tokens, embd_inp.size(), session_tokens.size(), embd_inp.size());
 
     // if we will use the cache for the full prompt without reaching the end of the cache, force
-    // reevaluation of the last token token to recalculate the cached logits
+    // reevaluation of the last token to recalculate the cached logits
     if (!embd_inp.empty() && n_matching_session_tokens == embd_inp.size() && session_tokens.size() > embd_inp.size()) {
         LOGLN("recalculate the cached logits (do): session_tokens.resize( %zu )", embd_inp.size() - 1);