]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
llama : minor fixed return int value (#5529)
authorHerman Semenov <redacted>
Fri, 16 Feb 2024 11:45:48 +0000 (11:45 +0000)
committerGitHub <redacted>
Fri, 16 Feb 2024 11:45:48 +0000 (13:45 +0200)
llama.cpp

index 08e7b02b4cc1ded7d86b86e3fbc0dc96456dbd4a..8966c3e66591699c0887273ef8810853b0e8cf79 100644 (file)
--- a/llama.cpp
+++ b/llama.cpp
@@ -10893,7 +10893,7 @@ static int llama_apply_lora_from_file_internal(
                     {
                         LLAMA_LOG_ERROR("%s: invalid tensor data type '%d'\n",
                                 __func__, ftype);
-                        return false;
+                        return 1;
                     }
         }