fix style
This commit is contained in:
parent
26340a1902
commit
700f7c600a
1 changed files with 5 additions and 8 deletions
13
llama.cpp
13
llama.cpp
|
@ -5543,7 +5543,7 @@ struct llm_build_context {
|
|||
cur = llm_build_norm(ctx0, inpL, hparams,
|
||||
model.layers[il].attn_norm, NULL,
|
||||
LLM_NORM_RMS, cb, il);
|
||||
cb(cur, "attention_norm", il);
|
||||
cb(cur, "attn_norm", il);
|
||||
|
||||
struct ggml_tensor * attention_norm = cur;
|
||||
|
||||
|
@ -5603,13 +5603,10 @@ struct llm_build_context {
|
|||
|
||||
cur = inpL;
|
||||
|
||||
// norm
|
||||
{
|
||||
cur = llm_build_norm(ctx0, cur, hparams,
|
||||
model.output_norm, NULL,
|
||||
LLM_NORM_RMS, cb, -1);
|
||||
cb(cur, "result_norm", -1);
|
||||
}
|
||||
cur = llm_build_norm(ctx0, cur, hparams,
|
||||
model.output_norm, NULL,
|
||||
LLM_NORM_RMS, cb, -1);
|
||||
cb(cur, "result_norm", -1);
|
||||
|
||||
// lm_head
|
||||
cur = ggml_mul_mat(ctx0, model.output, cur);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue