Răsfoiți Sursa

llama : minor fixed return int value (#5529)

Herman Semenov 1 an în urmă
părinte
comite
65085c713e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;
                     }
         }