Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
plamo : fix tensor names for correct GPU offload
  • Loading branch information
ggerganov committed Dec 24, 2023
commit 1949c95598536d6e7cdcb3e9ed99862c191dc9a0
7 changes: 4 additions & 3 deletions llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5704,13 +5704,14 @@ struct llm_build_context {
model.layers[il].ffn_gate, NULL,
model.layers[il].ffn_down, NULL,
LLM_FFN_SILU, LLM_FFN_PAR, cb, il);
cb(cur, "mlp_out", il);
cb(cur, "ffn_out", il);
}

cur = ggml_add(ctx0, cur, sa_out);
cb(cur, "mlp_out + sa_out", il);
cb(cur, "l_out", il);

cur = ggml_add(ctx0, cur, inpL);
cb(cur, "mlp_out + sa_out + inpL", il);
cb(cur, "l_out", il);

// input for next layer
inpL = cur;
Expand Down