mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-04 20:11:17 +02:00
only show warning if more than 1 moved tensor
This commit is contained in:
+1
-1
@@ -9292,7 +9292,7 @@ static bool llm_load_tensors(
|
||||
throw std::runtime_error("unknown architecture");
|
||||
}
|
||||
|
||||
if (n_moved_tensors > 0) {
|
||||
if (n_moved_tensors > 1) { //only warn if more than 1 moved tensor
|
||||
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));
|
||||
|
||||
Reference in New Issue
Block a user