mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-06-29 04:35:05 +00:00
Apply suggestions from code review
This commit is contained in:
@ -196,7 +196,7 @@ int main(int argc, char ** argv) {
|
||||
i_batch[i] = llama_batch_ext_get_n_tokens(batch);
|
||||
|
||||
// push this new token for next evaluation
|
||||
llama_batch_ext_add_text(batch, new_token_id, n_cur, &i, 1, false);
|
||||
llama_batch_ext_add_text(batch, new_token_id, n_cur, &i, 1, true);
|
||||
|
||||
n_decode += 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user