Skip to content

Commit

Permalink
common : comma should be semicolon (#4137)
Browse files Browse the repository at this point in the history
  • Loading branch information
kchro3 authored Nov 19, 2023
1 parent 35985ac commit 262005a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 262005a

Please sign in to comment.