Browse Source

llama : minor fixed return int value (#5529)

Herman Semenov 1 year ago
parent
commit
65085c713e
1 changed files with 1 additions and 1 deletions
  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",
                         LLAMA_LOG_ERROR("%s: invalid tensor data type '%d'\n",
                                 __func__, ftype);
                                 __func__, ftype);
-                        return false;
+                        return 1;
                     }
                     }
         }
         }