From 116879144cfcb57e9a20d3a2792a87ae1355b659 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sat, 23 Nov 2024 18:55:01 +0800 Subject: [PATCH] better error messages --- otherarch/sdcpp/sdtype_adapter.cpp | 2 +- src/llama.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/otherarch/sdcpp/sdtype_adapter.cpp b/otherarch/sdcpp/sdtype_adapter.cpp index 3e31c375a..822a9cca9 100644 --- a/otherarch/sdcpp/sdtype_adapter.cpp +++ b/otherarch/sdcpp/sdtype_adapter.cpp @@ -258,7 +258,7 @@ bool sdtype_load_model(const sd_load_model_inputs inputs) { sd_params->vae_on_cpu); if (sd_ctx == NULL) { - printf("\nError: KCPP SD Failed to create context!\n"); + printf("\nError: KCPP SD Failed to create context!\nIf using Flux/SD3.5, make sure you have ALL files required (e.g. VAE, T5, Clip...) or baked in!\n"); return false; } diff --git a/src/llama.cpp b/src/llama.cpp index 55bd838c8..f26898e6d 100644 --- a/src/llama.cpp +++ b/src/llama.cpp @@ -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"); } }