summaryrefslogtreecommitdiff
path: root/examples/export-lora/export-lora.cpp
diff options
context:
space:
mode:
authorAnanta Bastola <anantarajbastola@gmail.com>2024-02-17 16:03:14 -0500
committerGitHub <noreply@github.com>2024-02-17 23:03:14 +0200
commit6e4e973b2615f8d390b1c4f4a7e05a119078bb0f (patch)
treeaeec677cf7c38d0ddf71848c4d6b9f9955a59878 /examples/export-lora/export-lora.cpp
parentd250c9d61d4d9f7346930814cc4aef3f3673dc3e (diff)
ci : add an option to fail on compile warning (#3952)
* feat(ci): add an option to fail on compile warning * Update CMakeLists.txt * minor : fix compile warnings ggml-ci * ggml : fix unreachable code warnings ggml-ci * ci : disable fatal warnings for windows, ios and tvos * ggml : fix strncpy warning * ci : disable fatal warnings for MPI build * ci : add fatal warnings to ggml-ci ggml-ci --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Diffstat (limited to 'examples/export-lora/export-lora.cpp')
-rw-r--r--examples/export-lora/export-lora.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/export-lora/export-lora.cpp b/examples/export-lora/export-lora.cpp
index 2f7be8a1..08413f57 100644
--- a/examples/export-lora/export-lora.cpp
+++ b/examples/export-lora/export-lora.cpp
@@ -7,8 +7,6 @@
#include <string>
#include <thread>
-static const size_t tensor_alignment = 32;
-
struct lora_info {
std::string filename;
float scale;