Parcourir la source

llama : minor fixed return int value (#5529)

Herman Semenov il y a 1 an
Parent
commit
65085c713e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      llama.cpp

+ 1 - 1
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;
                     }
         }