From e3e33c0cbc311f18c3c86fd8e44f82345946a8d6 Mon Sep 17 00:00:00 2001 From: compilade Date: Mon, 1 Jul 2024 15:23:02 -0400 Subject: [PATCH] llama : minor spacing changes Co-authored-by: Georgi Gerganov --- src/llama.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/llama.cpp b/src/llama.cpp index bce9dfb07..7d220441b 100644 --- a/src/llama.cpp +++ b/src/llama.cpp @@ -6879,8 +6879,9 @@ static bool llm_load_tensors( const int64_t n_ff = hparams.n_ff_l(i); - ggml_context* ctx_layer = ctx_for_layer(i); - ggml_context* ctx_split = ctx_for_layer_split(i); + ggml_context * ctx_layer = ctx_for_layer(i); + ggml_context * ctx_split = ctx_for_layer_split(i); + auto & layer = model.layers[i]; layer.attn_norm = ml.create_tensor(ctx_layer, tn(LLM_TENSOR_ATTN_NORM, "weight", i), {n_embd});