kv-cells : fix tracking of seq_pos (#14339)
* kv-cells : fix tracking of seq_pos during cache reuse ggml-ci * cont : improve error message ggml-ci * cont : add more comments
This commit is contained in:
parent
3a9457df96
commit
7b50d589a8
5 changed files with 56 additions and 17 deletions
|
|
@ -1018,7 +1018,6 @@ int llama_context::decode(const llama_batch & batch_inp) {
|
|||
pos_min[s] = std::numeric_limits<llama_pos>::max();
|
||||
}
|
||||
|
||||
// TODO: fix sequence indexing
|
||||
for (uint32_t i = 0; i < ubatch.n_tokens; ++i) {
|
||||
const auto & seq_id = ubatch.seq_id[i][0];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue