mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-09 10:17:06 +00:00
context : enc-dec is now working
ggml-ci
This commit is contained in:
@@ -9741,7 +9741,7 @@ struct llm_build_context {
|
|||||||
struct ggml_tensor * kq_b = build_pos_bias(pos_bucket_enc, attn_rel_b);
|
struct ggml_tensor * kq_b = build_pos_bias(pos_bucket_enc, attn_rel_b);
|
||||||
|
|
||||||
cur = build_attn_with_kq_b(gf,
|
cur = build_attn_with_kq_b(gf,
|
||||||
model.layers[il].wo, model.layers[il].bo,
|
model.layers[il].wo_enc, nullptr,
|
||||||
Qcur, Kcur, Vcur, kq_b, n_tokens, 1.0f, il);
|
Qcur, Kcur, Vcur, kq_b, n_tokens, 1.0f, il);
|
||||||
cb(cur, "kqv_out", il);
|
cb(cur, "kqv_out", il);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user