better error messages

This commit is contained in:
Concedo
2024-11-23 18:55:01 +08:00
parent fd073fc904
commit 116879144c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -9289,6 +9289,7 @@ static bool llm_load_tensors(
LLAMA_LOG_DEBUG("%s: tensor '%s' (%s) (and %d others) cannot be used with preferred buffer type %s, using %s instead\n",
__func__, first_moved_tensor->name, ggml_type_name(first_moved_tensor->type), n_moved_tensors - 1,
ggml_backend_buft_name(first_moved_from_buft), ggml_backend_buft_name(first_moved_to_buft));
LLAMA_LOG_DEBUG("(This is not an error, it just means some tensors will use CPU instead.)\n");
}
}