Skip to content

Commit 5539e6f

Browse files
authored
main : fix typo in comment in main.cpp (#6985)
Signed-off-by: Daniel Bevenius <[email protected]>
1 parent b8a7a5a commit 5539e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/main/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ int main(int argc, char ** argv) {
324324
log_tostr(embd_inp.empty()), n_matching_session_tokens, embd_inp.size(), session_tokens.size(), embd_inp.size());
325325

326326
// if we will use the cache for the full prompt without reaching the end of the cache, force
327-
// reevaluation of the last token token to recalculate the cached logits
327+
// reevaluation of the last token to recalculate the cached logits
328328
if (!embd_inp.empty() && n_matching_session_tokens == embd_inp.size() && session_tokens.size() > embd_inp.size()) {
329329
LOGLN("recalculate the cached logits (do): session_tokens.resize( %zu )", embd_inp.size() - 1);
330330

0 commit comments

Comments
 (0)