Skip to content

Commit 1f6a916

Browse files
committed
cont : fix
ggml-ci
1 parent d3cb489 commit 1f6a916

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/llama-batch.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,8 @@ void llama_batch_allocr::clear() {
538538
seq_set.clear();
539539

540540
seq_set_map.clear();
541+
542+
std::fill(seq_idx.begin(), seq_idx.end(), -1);
541543
}
542544

543545
llama_ubatch llama_batch_allocr::ubatch_add(const std::vector<int32_t> & idxs, uint32_t n_seqs, bool equal_seqs) {

0 commit comments

Comments
 (0)