From a1429c21802b2bfa9393da6c6b8aea756af33ca9 Mon Sep 17 00:00:00 2001 From: Molly Sophia Date: Mon, 26 Aug 2024 09:52:11 +0800 Subject: [PATCH] llama: rwkv6: Apply code format changes Signed-off-by: Molly Sophia --- src/llama.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/llama.cpp b/src/llama.cpp index 0c28e5f1a93e39..21c1fd1fc3edac 100644 --- a/src/llama.cpp +++ b/src/llama.cpp @@ -15123,7 +15123,7 @@ struct llm_build_context { ) ); - ggml_tensor * x_norm_ffn = llm_build_norm(ctx0, cur, hparams, layer->attn_norm_2, layer->attn_norm_2_b, LLM_NORM, cb, il); + struct ggml_tensor * x_norm_ffn = llm_build_norm(ctx0, cur, hparams, layer->attn_norm_2, layer->attn_norm_2_b, LLM_NORM, cb, il); x_prev = ggml_concat( ctx0, ffn_shift, @@ -15159,7 +15159,7 @@ struct llm_build_context { } cur = inpL; - ggml_tensor * inp_out_ids = build_inp_out_ids(); + struct ggml_tensor * inp_out_ids = build_inp_out_ids(); cur = ggml_reshape_2d(ctx0, cur, n_embd, n_tokens); cur = ggml_get_rows(ctx0, cur, inp_out_ids);