mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-06-28 20:25:20 +00:00
Update examples/tts/tts.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
@ -920,7 +920,7 @@ lovely<|t_0.56|><|code_start|><|634|><|596|><|1766|><|1556|><|1306|><|1285|><|14
|
||||
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_past, &i, 1, false);
|
||||
llama_batch_ext_add_text(batch, new_token_id, n_past, &i, 1, true);
|
||||
}
|
||||
|
||||
// all streams are finished
|
||||
|
Reference in New Issue
Block a user