mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-11 21:10:24 +01:00
llama : fix simple splits when the batch contains embeddings
This commit is contained in:
parent
80d9d2a551
commit
8062650343
@ -2818,7 +2818,7 @@ struct llama_sbatch {
|
||||
}
|
||||
} else {
|
||||
// simple split
|
||||
ubatch.embd = batch->embd + seq.offset;
|
||||
ubatch.embd = batch->embd + (n_embd * seq.offset);
|
||||
}
|
||||
} else {
|
||||
ubatch.embd = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user