summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIwan Kawrakow <iwan.kawrakow@gmail.com>2024-10-11 12:49:47 +0300
committerIwan Kawrakow <iwan.kawrakow@gmail.com>2024-10-11 12:49:47 +0300
commitc15de3654e0002537c8052fd6d52d879e778e88c (patch)
tree392acacad1989181e182a849edc72174a10cedc6
parent70aca0b75c7b6658cdb5fe9d098d1fbda629e907 (diff)
Minor: printf -> LLAMA_LOG_INFO
-rw-r--r--src/llama.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/llama.cpp b/src/llama.cpp
index 789e2a7c..c338452b 100644
--- a/src/llama.cpp
+++ b/src/llama.cpp
@@ -5911,9 +5911,9 @@ static void llm_load_print_meta(llama_model_loader & ml, llama_model & model) {
LLAMA_LOG_INFO("%s: repeating layers = %.3f GiB (%.3f BPW", __func__, n_bytes/1024.0/1024.0/1024.0, n_bytes*8.0/n_elements);
}
if (ml.n_elements >= 1e9) {
- printf(", %.3f B parameters)\n", n_elements*1e-9);
+ LLAMA_LOG_INFO(", %.3f B parameters)\n", n_elements*1e-9);
} else {
- printf(", %.3f M parameters)\n", n_elements*1e-6);
+ LLAMA_LOG_INFO(", %.3f M parameters)\n", n_elements*1e-6);
}
}
}