From b91e3dd2eefbe32a55e3204909c2373509ff306a Mon Sep 17 00:00:00 2001 From: xaedes Date: Fri, 22 Sep 2023 20:01:53 +0200 Subject: [PATCH] remove trailing whitespace --- examples/export-lora/export-lora.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/export-lora/export-lora.cpp b/examples/export-lora/export-lora.cpp index fc1a2de4b..35f63184d 100644 --- a/examples/export-lora/export-lora.cpp +++ b/examples/export-lora/export-lora.cpp @@ -221,7 +221,7 @@ static struct lora_data * load_lora(struct lora_info * info) { result->ctx = NULL; result->lora_r = 1; result->lora_alpha = 1; - + struct llama_file file(info->filename.c_str(), "rb"); if (file.fp == NULL) { return result; @@ -403,7 +403,7 @@ static void export_lora(struct export_lora_params * params) { for (int i=0; i < n_tensors; ++i) { const char * name = gguf_get_tensor_name(gguf_in, i); struct ggml_tensor * tensor = ggml_get_tensor(ctx_in, name); - + // read tensor data data.resize(ggml_nbytes(tensor)); tensor->data = data.data();