From 6039d58513d93c6a016206f4f6be998cee06e665 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Fri, 16 Feb 2024 13:27:05 +0200 Subject: [PATCH] minor : fix compile warnings ggml-ci --- examples/export-lora/export-lora.cpp | 2 -- ggml.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/export-lora/export-lora.cpp b/examples/export-lora/export-lora.cpp index 2f7be8a13..08413f57e 100644 --- a/examples/export-lora/export-lora.cpp +++ b/examples/export-lora/export-lora.cpp @@ -7,8 +7,6 @@ #include #include -static const size_t tensor_alignment = 32; - struct lora_info { std::string filename; float scale; diff --git a/ggml.c b/ggml.c index 1e3d72266..cb3e32c0d 100644 --- a/ggml.c +++ b/ggml.c @@ -2086,6 +2086,7 @@ void ggml_numa_init(enum ggml_numa_strategy numa_flag) { } } #else + GGML_UNUSED(numa_flag); // TODO #endif }