mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-08 09:59:50 +00:00
only show warning if more than 1 moved tensor
This commit is contained in:
parent
ed9e229372
commit
7d11d2946c
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue