common : comma should be semicolon (#4137)

This commit is contained in:
kchro3 2023-11-19 08:52:57 -08:00 committed by GitHub
parent 35985acffa
commit 262005ad9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -931,7 +931,7 @@ void llama_batch_add(
const std::vector<llama_seq_id> & seq_ids,
bool logits) {
batch.token [batch.n_tokens] = id;
batch.pos [batch.n_tokens] = pos,
batch.pos [batch.n_tokens] = pos;
batch.n_seq_id[batch.n_tokens] = seq_ids.size();
for (size_t i = 0; i < seq_ids.size(); ++i) {
batch.seq_id[batch.n_tokens][i] = seq_ids[i];