mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-10-28 08:31:25 +00:00
@@ -1376,7 +1376,7 @@ ggml_tensor * llm_graph_context::build_attn(
|
|||||||
|
|
||||||
// [TAG_NO_CACHE_PAD]
|
// [TAG_NO_CACHE_PAD]
|
||||||
// TODO: if ubatch.equal_seqs() == true, we can split the three tensors below into ubatch.n_seqs_unq streams
|
// TODO: if ubatch.equal_seqs() == true, we can split the three tensors below into ubatch.n_seqs_unq streams
|
||||||
assert(!ubatch.equal_seqs());
|
assert(!ubatch.equal_seqs() || (k_cur->ne[3] == 1 && k_cur->ne[3] == ubatch.n_seqs_unq));
|
||||||
|
|
||||||
ggml_tensor * q = q_cur;
|
ggml_tensor * q = q_cur;
|
||||||
ggml_tensor * k = k_cur;
|
ggml_tensor * k = k_cur;
|
||||||
|
|||||||
Reference in New Issue
Block a user