diff --git a/examples/server/server.cpp b/examples/server/server.cpp index 746971520..9137ab32e 100644 --- a/examples/server/server.cpp +++ b/examples/server/server.cpp @@ -963,7 +963,6 @@ struct llama_server_context { llama_batch_add(batch, append_tokens[i], slot.n_past, { slot.id }, true); slot.n_past += 1; - batch.n_tokens += 1; } } return true;