]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
llama : fix try_override for bool_value which always return true (#4519)
authorhankcs <redacted>
Mon, 18 Dec 2023 13:14:58 +0000 (05:14 -0800)
committerGitHub <redacted>
Mon, 18 Dec 2023 13:14:58 +0000 (15:14 +0200)
llama.cpp

index d6d575f9e3960a5105d24b63cab2ddcd4b07558e..99facbf77a1e2f8388447b61ca94eb6051e29141 100644 (file)
--- a/llama.cpp
+++ b/llama.cpp
@@ -1937,7 +1937,7 @@ namespace GGUFMeta {
                 target = override->bool_value;
                 return true;
             }
-            return true;
+            return false;
         }
 
         template<typename OT>