fixed qwen2 audio issues, works fine now (+3 squashed commit)

Squashed commit:

[b3053a1ba] updated lite

[5071630d6] fixed mtmd issues, audio works

[06efa5af4] fix mtmd compile
This commit is contained in:
Concedo 2025-07-12 12:46:58 +08:00
parent 5a3b2e3921
commit dca49de059
6 changed files with 218 additions and 90 deletions

View file

@ -548,7 +548,7 @@ kcpp_embd_batch::kcpp_embd_batch(std::vector<llama_token> & tokens, int32_t npas
batch.seq_id [i] = seq_id_0.data();
batch.logits [i] = (return_all_logits?true:false);
}
for (int j = 0; j < batch.n_tokens * 3; j++) {
for (int j = 0; j < batch.n_tokens * 3; j++) {
batch.pos[j] = npast + (j % batch.n_tokens);
}
}