We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35985ac commit 262005aCopy full SHA for 262005a
common/common.cpp
@@ -931,7 +931,7 @@ void llama_batch_add(
931
const std::vector<llama_seq_id> & seq_ids,
932
bool logits) {
933
batch.token [batch.n_tokens] = id;
934
- batch.pos [batch.n_tokens] = pos,
+ batch.pos [batch.n_tokens] = pos;
935
batch.n_seq_id[batch.n_tokens] = seq_ids.size();
936
for (size_t i = 0; i < seq_ids.size(); ++i) {
937
batch.seq_id[batch.n_tokens][i] = seq_ids[i];
0 commit comments