Explorar o código

llama : minor fixed return int value (#5529)

Herman Semenov hai 1 ano
pai
achega
65085c713e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
                     }
         }