Fixed incorrect tensor passing
This commit is contained in:
parent
6ae4dad004
commit
e6ec203336
1 changed files with 2 additions and 3 deletions
|
@ -8159,9 +8159,8 @@ struct llm_build_context {
|
||||||
inpL = ggml_get_rows(ctx0, inpL, inp_out_ids);
|
inpL = ggml_get_rows(ctx0, inpL, inp_out_ids);
|
||||||
inpSA = ggml_get_rows(ctx0, inpSA, inp_out_ids);
|
inpSA = ggml_get_rows(ctx0, inpSA, inp_out_ids);
|
||||||
}
|
}
|
||||||
struct ggml_tensor * attn_out = cur;
|
struct ggml_tensor * ffn_inp = ggml_add(ctx0, cur, inpL);
|
||||||
struct ggml_tensor * ffn_inp = ggml_add(ctx0, attn_out, inpL);
|
cb(ffn_inp, "ffn_inp", il);
|
||||||
cb(cur, "ffn_inp", il);
|
|
||||||
|
|
||||||
// feed-forward network
|
// feed-forward network
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue