From cf40fd37365bb165836375b41f6a5fef54b1ff90 Mon Sep 17 00:00:00 2001 From: Molly Sophia Date: Sun, 11 Aug 2024 10:13:33 +0800 Subject: [PATCH] Remove trailing whitespaces Signed-off-by: Molly Sophia --- src/llama.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/llama.cpp b/src/llama.cpp index cb3eca21422c4c..096b2392bbd0e4 100644 --- a/src/llama.cpp +++ b/src/llama.cpp @@ -5353,7 +5353,7 @@ static void llm_load_hparams( default: model.type = e_model::MODEL_UNKNOWN; } } break; - case LLM_ARCH_RWKV: + case LLM_ARCH_RWKV: { ml.get_key(LLM_KV_ATTENTION_LAYERNORM_EPS, hparams.f_norm_eps); ml.get_key(LLM_KV_WKV_HEAD_SIZE, hparams.wkv_head_size); @@ -8745,7 +8745,6 @@ static struct ggml_tensor * llm_build_channel_mix( const struct llama_layer * layer, struct ggml_tensor * current, struct ggml_tensor * x_prev) { - struct ggml_tensor * sx = ggml_sub(ctx, x_prev, current); struct ggml_tensor * xk = ggml_add_inplace( ctx,