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 74edb42 commit 8ceda95Copy full SHA for 8ceda95
examples/llama.swiftui/llama.cpp.swift/LibLlama.swift
@@ -16,7 +16,7 @@ func llama_batch_add(_ batch: inout llama_batch, _ id: llama_token, _ pos: llama
16
for i in 0..<seq_ids.count {
17
batch.seq_id[Int(batch.n_tokens)]![Int(i)] = seq_ids[i]
18
}
19
- batch.logits [Int(batch.n_tokens)] = logits ? 1 : 0
+ batch.output [Int(batch.n_tokens)] = logits ? 1 : 0
20
21
batch.n_tokens += 1
22
0 commit comments