From 6ae2f4866f4d921f434c7b0f32917a00a11b4f94 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 9606ae0b9..6463309af 100644 --- a/src/llama.cpp +++ b/src/llama.cpp @@ -5903,7 +5903,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); @@ -9546,7 +9546,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,