Skip to content

Commit 75b0b00

Browse files
committed
make batch_add static
1 parent 67ee4d9 commit 75b0b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/simple-tts/simple-tts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ static std::vector<llama_token> prepare_guide_tokens(const llama_vocab * vocab,
300300
return result;
301301
}
302302

303-
void batch_add(struct llama_batch & batch, llama_token id,llama_pos pos, const std::vector<llama_seq_id> & seq_ids, bool logits) {
303+
static void batch_add(struct llama_batch & batch, llama_token id,llama_pos pos, const std::vector<llama_seq_id> & seq_ids, bool logits) {
304304
GGML_ASSERT(batch.seq_id[batch.n_tokens] && "llama_batch size exceeded");
305305

306306
batch.token [batch.n_tokens] = id;

0 commit comments

Comments
 (0)