From 3b6a0a817a3a5a1ff0cb5e1abeee38af90472595 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Thu, 6 Feb 2025 09:24:07 +0200 Subject: [PATCH] llama : add log about loading model tensors --- src/llama-model.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/llama-model.cpp b/src/llama-model.cpp index 0487c978b..e30db66e9 100644 --- a/src/llama-model.cpp +++ b/src/llama-model.cpp @@ -1275,6 +1275,8 @@ bool llama_model::load_tensors(llama_model_loader & ml) { const bool use_mmap_buffer = true; + LLAMA_LOG_INFO("%s: loading model tensors, this can take a while... (mmap = %s)\n", __func__, use_mmap_buffer ? "true" : "false"); + // build a list of buffer types for the CPU and GPU devices pimpl->cpu_buft_list = make_cpu_buft_list(devices); for (auto * dev : devices) {